Package: torcs
Version: 1.2.3
Using gcc4.0.2
FTBFS looking for sin in libm. Output of config.log here:
configure:21001: checking for sin in -lm
configure:21031: g++ -o
conftest -g -Wall -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT -L conftest.cc -lm
>&5
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../crt1.o: In function `_start':
../sysdeps/i386/elf/start.S:115: undefined reference to `main'
collect2: ld returned 1 exit status
configure:21037: $? = 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.3"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #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
| #define HAVE_DLFCN_H 1
| #define TIME_WITH_SYS_TIME 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:21062: result: no
configure:21072: 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"
Thank you,
Barry deFreese
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]