[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [bos-dev] maemo port
Is there other build method except scons. Because scons fails when
check the system without a reason:
scons: Configure: Checking for C library SDL....
.sconf_temp/conftest_13.c <-
|
|
|#include "SDL.h"
|
|int
|main() {
|..
|return 0;
|}
|
gcc -o .sconf_temp/conftest_13.o -c -fsigned-char -DHAVE_STRCASESTR
-DHAVE_STRNLEN -D_REENTRANT -I/usr/include -I/usr/include/SDL
.sconf_temp/conftest_13.c
gcc -o .sconf_temp/conftest_13 .sconf_temp/conftest_13.o -L/usr/lib
-lz -ldl -llualib -llua -lSDL -lpthread -lSDL
/scratchbox/compilers/cs2005q3.2-glibc2.5-i386/bin/../lib/gcc/i686-linux/3.4.4/../../../../i686-linux/bin/ld:
warning: libX11.so.6, needed by /usr/lib/libSDL.so, not found (try
using -rpath or -rpath-link)
/scratchbox/compilers/cs2005q3.2-glibc2.5-i386/bin/../lib/gcc/i686-linux/3.4.4/../../../../i686-linux/bin/ld:
warning: libXext.so.6, needed by /usr/lib/libSDL.so, not found (try
using -rpath or -rpath-link)
/usr/lib/libSDL.so: undefined reference to `XSetInputFocus'
/usr/lib/libSDL.so: undefined reference to `XFreePixmap'
/usr/lib/libSDL.so: undefined reference to `XSetWMProtocols'
/usr/lib/libSDL.so: undefined reference to `XSetWMIconName'
/usr/lib/libSDL.so: undefined reference to `XShmDetach'
/usr/lib/libSDL.so: undefined reference to `XGetInputFocus'
/usr/lib/libSDL.so: undefined reference to `XGetErrorDatabaseText'
/usr/lib/libSDL.so: undefined reference to `XSetWindowBackground'
/usr/lib/libSDL.so: undefined reference to `XSetTransientForHint'
/usr/lib/libSDL.so: undefined reference to `XListPixmapFormats'
/usr/lib/libSDL.so: undefined reference to `XSync'
/usr/lib/libSDL.so: undefined reference to `XDefineCursor'
/usr/lib/libSDL.so: undefined reference to `XFreeCursor'
/usr/lib/libSDL.so: undefined reference to `XChangePointerControl'
/usr/lib/libSDL.so: undefined reference to `XMapWindow'
/usr/lib/libSDL.so: undefined reference to `XGetVisualInfo'
/usr/lib/libSDL.so: undefined reference to `XCloseDisplay'
/usr/lib/libSDL.so: undefined reference to `XIconifyWindow'
/usr/lib/libSDL.so: undefined reference to `XRaiseWindow'
/usr/lib/libSDL.so: undefined reference to `XPending'
/usr/lib/libSDL.so: undefined reference to `XSetClassHint'
/usr/lib/libSDL.so: undefined reference to `XGetModifierMapping'
/usr/lib/libSDL.so: undefined reference to `XCreateSimpleWindow'
at the same time if I exec the lines by hand they works:
[sbox-CHINOOK_X86: ~/work/boswars-2.5-src] > gcc -o
.sconf_temp/conftest_13.o -c -fsigned-char -DHAVE_STRCASESTR
-DHAVE_STRNLEN -D_REENTRANT -I/usr/include -I/usr/include/SDL
.sconf_temp/conftest_13.c
[sbox-CHINOOK_X86: ~/work/boswars-2.5-src] > gcc -o
.sconf_temp/conftest_13 .sconf_temp/conftest_13.o -L/usr/lib -lz -ldl
-llualib -llua -lSDL -lpthread -lSDL
[sbox-CHINOOK_X86: ~/work/boswars-2.5-src] > ldd .sconf_temp/conftest_13
conftest_13 conftest_13.c conftest_13.o
[sbox-CHINOOK_X86: ~/work/boswars-2.5-src] > ldd .sconf_temp/conftest_13
linux-gate.so.1 => (0xffffe000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7f66000)
libdl.so.2 => /lib/libdl.so.2 (0xb7f62000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7f08000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7ef1000)
libc.so.6 => /lib/libc.so.6 (0xb7dc5000)
/lib/ld-linux.so.2 (0xb7f7e000)
libm.so.6 => /lib/libm.so.6 (0xb7da0000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7cab000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb7c9d000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7c9a000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7c94000)
[sbox-CHINOOK_X86: ~/work/boswars-2.5-src] >
So everything is in the right place but scons fails. Why i do not
know. I hate scons.....
I have 0.97.