[SDL] SDL and KDevlop

Fredrik persson perrascout at linux.nu
Sun Sep 29 12:27:01 PDT 2002


To day i did my first atempt to comple a SDL project for linux with
KDevlop... and this is what I got :-(
The SDL and KDevlop help file on libsdl.org didn't help me. In windows I use
Dev-C++ without any problems.

****************************************************************************
*************
gmake all-recursive
gmake[1]: Entering directory `/home/perra/sdl_test_1'
Making all in sdl_test_1
gmake[2]: Entering directory `/home/perra/sdl_test_1/sdl_test_1'
/bin/sh ../libtool --mode=link --tag=CXX
c++ -O2 -O0 -g3 -Wall -fno-exceptions -fno-check-new -o sdl_test_1
main.o -lSDL -L/usr/lib/SDL
c++ -O2 -O0 -g3 -Wall -fno-exceptions -fno-check-new -o sdl_test_1 main.o
/usr/lib/libSDL.so -lm -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXxf86dga -l
Xv -lXinerama -ldl -L/usr/lib/SDL
/usr/lib/libSDL.so: undefined reference to `pthread_create'
/usr/lib/libSDL.so: undefined reference to `pthread_cancel'
/usr/lib/libSDL.so: undefined reference to `sem_destroy'
/usr/lib/libSDL.so: undefined reference to `sem_wait'
/usr/lib/libSDL.so: undefined reference to `sem_post'
/usr/lib/libSDL.so: undefined reference to `pthread_mutexattr_setkind_np'
/usr/lib/libSDL.so: undefined reference to `sem_init'
/usr/lib/libSDL.so: undefined reference to `pthread_sigmask'
/usr/lib/libSDL.so: undefined reference to `sem_trywait'
/usr/lib/libSDL.so: undefined reference to `pthread_mutexattr_init'
/usr/lib/libSDL.so: undefined reference to `sem_getvalue'
/usr/lib/libSDL.so: undefined reference to `pthread_join'
/usr/lib/libSDL.so: undefined reference to `pthread_cond_timedwait'
collect2: ld returned 1 exit status
gmake[2]: *** [sdl_test_1] Error 1
gmake[2]: Leaving directory `/home/perra/sdl_test_1/sdl_test_1'
gmake[1]: Leaving directory `/home/perra/sdl_test_1'
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all-recursive-am] Error 2
*** failed ***


//Perra





More information about the SDL mailing list