torcs compilation problem

Jerome Christopher <[email protected]> Fri, 30 Sep 2016 11:35:39 +0000
Newsgroups gmane.games.torcs.general
Message-ID <PS1PR0401MB14361B7263BE6D3D5B767A57CDC10@PS1PR0401MB1436.apcprd04.prod.outlook.com>
Hi all,


I've attached the error log file while running the ./configure command for torcs version 1.2.4


Regards,

Jerome

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
Torcs-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/torcs-users
config.log (text/x-log, 31.5 KB)
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --disable-xrandr

## --------- ##
## Platform. ##
## --------- ##

hostname = rohini-desktop
uname -m = i686
uname -r = 4.4.0-31-generic
uname -s = Linux
uname -v = #50~14.04.1-Ubuntu SMP Wed Jul 13 01:06:37 UTC 2016

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1368: checking for a BSD-compatible install
configure:1423: result: /usr/bin/install -c
configure:1434: checking whether build environment is sane
configure:1477: result: yes
configure:1542: checking for gawk
configure:1558: found /usr/bin/gawk
configure:1568: result: gawk
configure:1578: checking whether make sets $(MAKE)
configure:1598: result: yes
configure:1813: checking for gcc
configure:1829: found /usr/bin/gcc
configure:1839: result: gcc
configure:2083: checking for C compiler version
configure:2086: gcc --version </dev/null >&5
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2089: $? = 0
configure:2091: gcc -v </dev/null >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.8/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04.3' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-i386 --with-arch-directory=i386 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-targets=all --enable-multiarch --disable-werror --with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) 
configure:2094: $? = 0
configure:2096: gcc -V </dev/null >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2099: $? = 4
configure:2122: checking for C compiler default output file name
configure:2125: gcc    conftest.c  >&5
configure:2128: $? = 0
configure:2174: result: a.out
configure:2179: checking whether the C compiler works
configure:2185: ./a.out
configure:2188: $? = 0
configure:2205: result: yes
configure:2212: checking whether we are cross compiling
configure:2214: result: no
configure:2217: checking for suffix of executables
configure:2219: gcc -o conftest    conftest.c  >&5
configure:2222: $? = 0
configure:2247: result: 
configure:2253: checking for suffix of object files
configure:2274: gcc -c   conftest.c >&5
configure:2277: $? = 0
configure:2299: result: o
configure:2303: checking whether we are using the GNU C compiler
configure:2327: gcc -c   conftest.c >&5
configure:2333: $? = 0
configure:2337: test -z 
			 || test ! -s conftest.err
configure:2340: $? = 0
configure:2343: test -s conftest.o
configure:2346: $? = 0
configure:2359: result: yes
configure:2365: checking whether gcc accepts -g
configure:2386: gcc -c -g  conftest.c >&5
configure:2392: $? = 0
configure:2396: test -z 
			 || test ! -s conftest.err
configure:2399: $? = 0
configure:2402: test -s conftest.o
configure:2405: $? = 0
configure:2416: result: yes
configure:2433: checking for gcc option to accept ANSI C
configure:2503: gcc  -c -g -O2  conftest.c >&5
configure:2509: $? = 0
configure:2513: test -z 
			 || test ! -s conftest.err
configure:2516: $? = 0
configure:2519: test -s conftest.o
configure:2522: $? = 0
configure:2540: result: none needed
configure:2558: gcc -c -g -O2  conftest.c >&5
conftest.c:2:3: error: unknown type name 'choke'
   choke me
   ^
conftest.c:2:3: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
configure:2564: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2708: checking for style of include used by make
configure:2736: result: GNU
configure:2764: checking dependency style of gcc
configure:2854: result: none
configure:2876: checking how to run the C preprocessor
configure:2911: gcc -E  conftest.c
configure:2917: $? = 0
configure:2949: gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:2955: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "torcs"
| #define VERSION "1.2.4"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:2994: result: gcc -E
configure:3018: gcc -E  conftest.c
configure:3024: $? = 0
configure:3056: gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:3062: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "torcs"
| #define VERSION "1.2.4"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3165: checking for g++
configure:3181: found /usr/bin/g++
configure:3191: result: g++
configure:3207: checking for C++ compiler version
configure:3210: g++ --version </dev/null >&5
g++ (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3213: $? = 0
configure:3215: g++ -v </dev/null >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.8/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04.3' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-i386 --with-arch-directory=i386 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-targets=all --enable-multiarch --disable-werror --with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) 
configure:3218: $? = 0
configure:3220: g++ -V </dev/null >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:3223: $? = 4
configure:3226: checking whether we are using the GNU C++ compiler
configure:3250: g++ -c   conftest.cc >&5
configure:3256: $? = 0
configure:3260: test -z 
			 || test ! -s conftest.err
configure:3263: $? = 0
configure:3266: test -s conftest.o
configure:3269: $? = 0
configure:3282: result: yes
configure:3288: checking whether g++ accepts -g
configure:3309: g++ -c -g  conftest.cc >&5
configure:3315: $? = 0
configure:3319: test -z 
			 || test ! -s conftest.err
configure:3322: $? = 0
configure:3325: test -s conftest.o
configure:3328: $? = 0
configure:3339: result: yes
configure:3381: g++ -c -g -O2  conftest.cc >&5
configure:3387: $? = 0
configure:3391: test -z 
			 || test ! -s conftest.err
configure:3394: $? = 0
configure:3397: test -s conftest.o
configure:3400: $? = 0
configure:3426: g++ -c -g -O2  conftest.cc >&5
conftest.cc: In function 'int main()':
conftest.cc:15:9: error: 'exit' was not declared in this scope
 exit (42);
         ^
configure:3432: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "torcs"
| #define VERSION "1.2.4"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:3381: g++ -c -g -O2  conftest.cc >&5
conftest.cc:11:40: error: 'void std::exit(int)' should have been declared inside 'std'
 extern "C" void std::exit (int) throw (); using std::exit;
                                        ^
configure:3387: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "torcs"
| #define VERSION "1.2.4"
| /* end confdefs.h.  */
| extern "C" void std::exit (int) throw (); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:3381: g++ -c -g -O2  conftest.cc >&5
conftest.cc:11:31: error: 'void std::exit(int)' should have been declared inside 'std'
 extern "C" void std::exit (int); using std::exit;
                               ^
In file included from conftest.cc:12:0:
/usr/include/stdlib.h:543:70: error: declaration of 'void std::exit(int) throw ()' has a different exception specifier
 extern void exit (int __status) __THROW __attribute__ ((__noreturn__));
                                                                      ^
conftest.cc:11:17: error: from previous declaration 'void std::exit(int)'
 extern "C" void std::exit (int); using std::exit;
                 ^
configure:3387: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "torcs"
| #define VERSION "1.2.4"
| /* end confdefs.h.  */
| extern "C" void std::exit (int); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:3381: g++ -c -g -O2  conftest.cc >&5
configure:3387: $? = 0
configure:3391: test -z 
			 || test ! -s conftest.err
configure:3394: $? = 0
configure:3397: test -s conftest.o
configure:3400: $? = 0
configure:3426: g++ -c -g -O2  conftest.cc >&5
configure:3432: $? = 0
configure:3436: test -z 
			 || test ! -s conftest.err
configure:3439: $? = 0
configure:3442: test -s conftest.o
configure:3445: $? = 0
configure:3470: checking dependency style of g++
configure:3560: result: none
configure:3618: checking for ranlib
configure:3634: found /usr/bin/ranlib
configure:3645: result: ranlib
configure:3670: checking for a BSD-compatible install
configure:3725: result: /usr/bin/install -c
configure:3743: checking how to run the C++ preprocessor
configure:3774: g++ -E  conftest.cc
configure:3780: $? = 0
configure:3812: g++ -E  conftest.cc
conftest.cc:14:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:3818: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "torcs"
| #define VERSION "1.2.4"
| #ifdef __cplusplus
| extern "C" void exit (int) throw ();
| #endif
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3857: result: g++ -E
configure:3881: g++ -E  conftest.cc
configure:3887: $? = 0
configure:3919: g++ -E  conftest.cc
conftest.cc:14:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:3925: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "torcs"
| #define VERSION "1.2.4"
| #ifdef __cplusplus
| extern "C" void exit (int) throw ();
| #endif
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3969: checking for egrep
configure:3979: result: grep -E
configure:3984: checking for ANSI C header files
configure:4009: g++ -c -g -O2  conftest.cc >&5
configure:4015: $? = 0
configure:4019: test -z 
			 || test ! -s conftest.err
configure:4022: $? = 0
configure:4025: test -s conftest.o
configure:4028: $? = 0
configure:4117: g++ -o conftest -g -O2   conftest.cc  >&5
configure:4120: $? = 0
configure:4122: ./conftest
configure:4125: $? = 0
configure:4140: result: yes
configure:4151: checking for an ANSI C-conforming const
configure:4218: g++ -c -g -O2  conftest.cc >&5
configure:4224: $? = 0
configure:4228: test -z 
			 || test ! -s conftest.err
configure:4231: $? = 0
configure:4234: test -s conftest.o
configure:4237: $? = 0
configure:4248: result: yes
configure:4258: checking for inline
configure:4279: g++ -c -g -O2  conftest.cc >&5
configure:4285: $? = 0
configure:4289: test -z 
			 || test ! -s conftest.err
configure:4292: $? = 0
configure:4295: test -s conftest.o
configure:4298: $? = 0
configure:4310: result: inline
configure:4329: checking whether time.h and sys/time.h may both be included
configure:4354: g++ -c -g -O2  conftest.cc >&5
configure:4360: $? = 0
configure:4364: test -z 
			 || test ! -s conftest.err
configure:4367: $? = 0
configure:4370: test -s conftest.o
configure:4373: $? = 0
configure:4384: result: yes
configure:4397: checking for ar
configure:4424: result: ar
configure:4433: checking for ld
configure:4460: result: ld
configure:4468: checking whether byte ordering is bigendian
configure:4495: g++ -c -g -O2  conftest.cc >&5
configure:4501: $? = 0
configure:4505: test -z 
			 || test ! -s conftest.err
configure:4508: $? = 0
configure:4511: test -s conftest.o
configure:4514: $? = 0
configure:4538: g++ -c -g -O2  conftest.cc >&5
conftest.cc: In function 'int main()':
conftest.cc:23:6: error: 'big' was not declared in this scope
  not big endian
      ^
conftest.cc:23:10: error: expected ';' before 'endian'
  not big endian
          ^
configure:4544: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "torcs"
| #define VERSION "1.2.4"
| #ifdef __cplusplus
| extern "C" void exit (int) throw ();
| #endif
| #define STDC_HEADERS 1
| #define TIME_WITH_SYS_TIME 1
| /* end confdefs.h.  */
| #include <sys/types.h>
| #include <sys/param.h>
| 
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
|  not big endian
| #endif
| 
|   ;
|   return 0;
| }
configure:4679: result: no
configure:4699: checking for X
configure:4804: g++ -E  conftest.cc
configure:4810: $? = 0
configure:4860: g++ -o conftest -g -O2   conftest.cc -lXt  >&5
configure:4866: $? = 0
configure:4870: test -z 
			 || test ! -s conftest.err
configure:4873: $? = 0
configure:4876: test -s conftest
configure:4879: $? = 0
configure:4929: result: libraries , headers 
configure:4998: checking for sys/types.h
configure:5014: g++ -c -g -O2 -Wall -fPIC -O2 -DGL_GLEXT_PROTOTYPES  conftest.cc >&5
configure:5020: $? = 0
configure:5024: test -z 
			 || test ! -s conftest.err
configure:5027: $? = 0
configure:5030: test -s conftest.o
configure:5033: $? = 0
configure:5044: result: yes
configure:4998: checking for sys/stat.h
configure:5014: g++ -c -g -O2 -Wall -fPIC -O2 -DGL_GLEXT_PROTOTYPES  conftest.cc >&5
configure:5020: $? = 0
configure:5024: test -z 
			 || test ! -s conftest.err
configure:5027: $? = 0
configure:5030: test -s conftest.o
configure:5033: $? = 0
configure:5044: result: yes
configure:4998: checking for stdlib.h
configure:5014: g++ -c -g -O2 -Wall -fPIC -O2 -DGL_GLEXT_PROTOTYPES  conftest.cc >&5
configure:5020: $? = 0
configure:5024: test -z 
			 || test ! -s conftest.err
configure:5027: $? = 0
configure:5030: test -s conftest.o
configure:5033: $? = 0
configure:5044: result: yes
configure:4998: checking for string.h
configure:5014: g++ -c -g -O2 -Wall -fPIC -O2 -DGL_GLEXT_PROTOTYPES  conftest.cc >&5
configure:5020: $? = 0
configure:5024: test -z 
			 || test ! -s conftest.err
configure:5027: $? = 0
configure:5030: test -s conftest.o
configure:5033: $? = 0
configure:5044: result: yes
configure:4998: checking for memory.h
configure:5014: g++ -c -g -O2 -Wall -fPIC -O2 -DGL_GLEXT_PROTOTYPES  conftest.cc >&5
configure:5020: $? = 0
configure:5024: test -z 
			 || test ! -s conftest.err
configure:5027: $? = 0
configure:5030: test -s conftest.o
configure:5033: $? = 0
configure:5044: result: yes
configure:4998: checking for strings.h
configure:5014: g++ -c -g -O2 -Wall -fPIC -O2 -DGL_GLEXT_PROTOTYPES  conftest.cc >&5
configure:5020: $? = 0
configure:5024: test -z 
			 || test ! -s conftest.err
configure:5027: $? = 0
configure:5030: test -s conftest.o
configure:5033: $? = 0
configure:5044: result: yes
configure:4998: checking for inttypes.h
configure:5014: g++ -c -g -O2 -Wall -fPIC -O2 -DGL_GLEXT_PROTOTYPES  conftest.cc >&5
configure:5020: $? = 0
configure:5024: test -z 
			 || test ! -s conftest.err
configure:5027: $? = 0
configure:5030: test -s conftest.o
configure:5033: $? = 0
configure:5044: result: yes
configure:4998: checking for stdint.h
configure:5014: g++ -c -g -O2 -Wall -fPIC -O2 -DGL_GLEXT_PROTOTYPES  conftest.cc >&5
configure:5020: $? = 0
configure:5024: test -z 
			 || test ! -s conftest.err
configure:5027: $? = 0
configure:5030: test -s conftest.o
configure:5033: $? = 0
configure:5044: result: yes
configure:4998: checking for unistd.h
configure:5014: g++ -c -g -O2 -Wall -fPIC -O2 -DGL_GLEXT_PROTOTYPES  conftest.cc >&5
configure:5020: $? = 0
configure:5024: test -z 
			 || test ! -s conftest.err
configure:5027: $? = 0
configure:5030: test -s conftest.o
configure:5033: $? = 0
configure:5044: result: yes
configure:5066: checking GL/gl.h usability
configure:5078: g++ -c -g -O2 -Wall -fPIC -O2 -DGL_GLEXT_PROTOTYPES  conftest.cc >&5
configure:5084: $? = 0
configure:5088: test -z 
			 || test ! -s conftest.err
configure:5091: $? = 0
configure:5094: test -s conftest.o
configure:5097: $? = 0
configure:5107: result: yes
configure:5111: checking GL/gl.h presence
configure:5121: g++ -E  conftest.cc
configure:5127: $? = 0
configure:5147: result: yes
configure:5182: checking for GL/gl.h
configure:5189: result: yes
configure:5212: checking GL/glut.h usability
configure:5224: g++ -c -g -O2 -Wall -fPIC -O2 -DGL_GLEXT_PROTOTYPES  conftest.cc >&5
configure:5230: $? = 0
configure:5234: test -z 
			 || test ! -s conftest.err
configure:5237: $? = 0
configure:5240: test -s conftest.o
configure:5243: $? = 0
configure:5253: result: yes
configure:5257: checking GL/glut.h presence
configure:5267: g++ -E  conftest.cc
configure:5273: $? = 0
configure:5293: result: yes
configure:5328: checking for GL/glut.h
configure:5335: result: yes
configure:5358: checking GL/glx.h usability
configure:5370: g++ -c -g -O2 -Wall -fPIC -O2 -DGL_GLEXT_PROTOTYPES  conftest.cc >&5
configure:5376: $? = 0
configure:5380: test -z 
			 || test ! -s conftest.err
configure:5383: $? = 0
configure:5386: test -s conftest.o
configure:5389: $? = 0
configure:5399: result: yes
configure:5403: checking GL/glx.h presence
configure:5413: g++ -E  conftest.cc
configure:5419: $? = 0
configure:5439: result: yes
configure:5474: checking for GL/glx.h
configure:5481: result: yes
configure:5504: checking X11/Xlib.h usability
configure:5516: g++ -c -g -O2 -Wall -fPIC -O2 -DGL_GLEXT_PROTOTYPES  conftest.cc >&5
configure:5522: $? = 0
configure:5526: test -z 
			 || test ! -s conftest.err
configure:5529: $? = 0
configure:5532: test -s conftest.o
configure:5535: $? = 0
configure:5545: result: yes
configure:5549: checking X11/Xlib.h presence
configure:5559: g++ -E  conftest.cc
configure:5565: $? = 0
configure:5585: result: yes
configure:5620: checking for X11/Xlib.h
configure:5627: result: yes
configure:5650: checking X11/Xatom.h usability
configure:5662: g++ -c -g -O2 -Wall -fPIC -O2 -DGL_GLEXT_PROTOTYPES  conftest.cc >&5
configure:5668: $? = 0
configure:5672: test -z 
			 || test ! -s conftest.err
configure:5675: $? = 0
configure:5678: test -s conftest.o
configure:5681: $? = 0
configure:5691: result: yes
configure:5695: checking X11/Xatom.h presence
configure:5705: g++ -E  conftest.cc
configure:5711: $? = 0
configure:5731: result: yes
configure:5766: checking for X11/Xatom.h
configure:5773: result: yes
configure:5796: checking X11/keysym.h usability
configure:5808: g++ -c -g -O2 -Wall -fPIC -O2 -DGL_GLEXT_PROTOTYPES  conftest.cc >&5
configure:5814: $? = 0
configure:5818: test -z 
			 || test ! -s conftest.err
configure:5821: $? = 0
configure:5824: test -s conftest.o
configure:5827: $? = 0
configure:5837: result: yes
configure:5841: checking X11/keysym.h presence
configure:5851: g++ -E  conftest.cc
configure:5857: $? = 0
configure:5877: result: yes
configure:5912: checking for X11/keysym.h
configure:5919: result: yes
configure:5942: checking plib/ssg.h usability
configure:5954: g++ -c -g -O2 -Wall -fPIC -O2 -DGL_GLEXT_PROTOTYPES  conftest.cc >&5
configure:5960: $? = 0
configure:5964: test -z 
			 || test ! -s conftest.err
configure:5967: $? = 0
configure:5970: test -s conftest.o
configure:5973: $? = 0
configure:5983: result: yes
configure:5987: checking plib/ssg.h presence
configure:5997: g++ -E  conftest.cc
configure:6003: $? = 0
configure:6023: result: yes
configure:6058: checking for plib/ssg.h
configure:6065: result: yes
configure:6088: checking AL/al.h usability
configure:6100: g++ -c -g -O2 -Wall -fPIC -O2 -DGL_GLEXT_PROTOTYPES  conftest.cc >&5
configure:6106: $? = 0
configure:6110: test -z 
			 || test ! -s conftest.err
configure:6113: $? = 0
configure:6116: test -s conftest.o
configure:6119: $? = 0
configure:6129: result: yes
configure:6133: checking AL/al.h presence
configure:6143: g++ -E  conftest.cc
configure:6149: $? = 0
configure:6169: result: yes
configure:6204: checking for AL/al.h
configure:6211: result: yes
configure:6231: checking for sin in -lm
configure:6261: g++ -o conftest -g -O2 -Wall -fPIC -O2 -DGL_GLEXT_PROTOTYPES   -L conftest.cc -lm   >&5
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 0 has invalid symbol index 11
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 1 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 2 has invalid symbol index 2
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 3 has invalid symbol index 2
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 4 has invalid symbol index 11
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 5 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 6 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 7 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 8 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 9 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 10 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 11 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 12 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 13 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 14 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 15 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 16 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 17 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 18 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 19 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 20 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 21 has invalid symbol index 22
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_line): relocation 0 has invalid symbol index 2
/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: error: ld returned 1 exit status
configure:6267: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "torcs"
| #define VERSION "1.2.4"
| #ifdef __cplusplus
| extern "C" void exit (int) throw ();
| #endif
| #define STDC_HEADERS 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char sin ();
| int
| main ()
| {
| sin ();
|   ;
|   return 0;
| }
configure:6293: result: no
configure:6303: error: Can't find libm. Please check config.log and if you can't solve the problem send the file to [email protected] with the subject "torcs compilation problem"

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_inline=inline
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_have_x='have_x=yes 		ac_x_includes= ac_x_libraries='
ac_cv_header_AL_al_h=yes
ac_cv_header_GL_gl_h=yes
ac_cv_header_GL_glut_h=yes
ac_cv_header_GL_glx_h=yes
ac_cv_header_X11_Xatom_h=yes
ac_cv_header_X11_Xlib_h=yes
ac_cv_header_X11_keysym_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_plib_ssg_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_lib_m_sin=no
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AR=ar
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_LD=ld
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=none
am_cv_CXX_dependencies_compiler_type=none

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /usr/src/torcs/torcs-1.2.4/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/src/torcs/torcs-1.2.4/missing --run tar'
AR='ar'
AUTOCONF='${SHELL} /usr/src/torcs/torcs-1.2.4/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/src/torcs/torcs-1.2.4/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/src/torcs/torcs-1.2.4/missing --run automake-1.9'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=none'
CFLAGS='-g -O2 -Wall -fPIC -O2 -DGL_GLEXT_PROTOTYPES'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXCPP='g++ -E'
CXXDEPMODE='depmode=none'
CXXFLAGS='-g -O2 -Wall -fPIC -O2 -DGL_GLEXT_PROTOTYPES'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LD='ld'
LDFLAGS=' -L'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /usr/src/torcs/torcs-1.2.4/missing --run makeinfo'
OBJEXT='o'
PACKAGE='torcs'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
TORCS_BASE=''
VERSION='1.2.4'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_RANLIB='ranlib'
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE='#'
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE='#'
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/usr/src/torcs/torcs-1.2.4/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define HAVE_INTTYPES_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define PACKAGE "torcs"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define STDC_HEADERS 1
#define TIME_WITH_SYS_TIME 1
#define VERSION "1.2.4"
#endif
#ifdef __cplusplus
extern "C" void exit (int) throw ();

configure: exit 1