Re: torcs compilation problem

Bernhard Wymann <[email protected]> Fri, 23 May 2014 14:33:20 +0200
Newsgroups gmane.games.torcs.general
Organization wytec
Message-ID <[email protected]>
Hi Nazrul

  #define VERSION "1.2.4"

Are you sure that you want to build this old version? Anyway:

configure:6261: g++ -o conftest -g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT 
-DGL_GLEXT_PROTOTYPES   -L conftest.cc -lm   >&5
/usr/lib/gcc/i686-linux-gnu/4.7/../../../i386-linux-gnu/crt1.o(.text+0x18): 
error: undefined reference to 'main'

I guess the "-L" option is the problem here, like here:
http://sourceforge.net/p/torcs/mailman/message/30184956/

Here I explain how to analyse/solve it:
http://sourceforge.net/p/torcs/mailman/message/30193739/

Hope this helps.

Kind regards

Bernhard


On 05/23/2014 02:14 PM, Athar Haque wrote:
> Hello everyone,
>
> I got this error on compiling.
>
> "configure: error: Can't find libm."
>
> config.log is attached herein. Please help me out with this.
>
> --
> Regards,
> Nazrul
>
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
>
>
>
> _______________________________________________
> Torcs-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/torcs-users
>


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs