hi, i am new to gp2x development, but have had experience with c and a small bit with sdl before.
I downloaded and installed the gp2xsdk toolchain, and am trying to use it wiht sdl to make the demo on the wiki.
I go to the dir of the installation, and
I have looked around for a few hours, but this is as small as I can get the list of errors.
Can somebody tell me where I went wrong?
thanks
I downloaded and installed the gp2xsdk toolchain, and am trying to use it wiht sdl to make the demo on the wiki.
I go to the dir of the installation, and
Code:
root@ubuntu:/gp2xsdk/Tools/bin# ./arm-gp2x-linux-gcc -lpthread -lc -lgcc -lSDL -o demo ./dev/demo.c
/gp2xsdk/Tools/lib/gcc/arm-gp2x-linux/3.4.6/../../../../arm-gp2x-linux/bin/ld: ERROR: /gp2xsdk/Tools/lib/gcc/arm-gp2x-linux/3.4.6/libSDL.so uses software FP, whereas demo uses hardware FP
/gp2xsdk/Tools/lib/gcc/arm-gp2x-linux/3.4.6/../../../../arm-gp2x-linux/bin/ld: failed to merge target specific data of file /gp2xsdk/Tools/lib/gcc/arm-gp2x-linux/3.4.6/libSDL.so
/gp2xsdk/Tools/lib/gcc/arm-gp2x-linux/3.4.6/libSDL.so: undefined reference to `pthread_cond_signal@GLIBC_2.3.2'
/gp2xsdk/Tools/lib/gcc/arm-gp2x-linux/3.4.6/libSDL.so: undefined reference to `pthread_cond_broadcast@GLIBC_2.3.2'
/gp2xsdk/Tools/lib/gcc/arm-gp2x-linux/3.4.6/libSDL.so: undefined reference to `pthread_cond_destroy@GLIBC_2.3.2'
/gp2xsdk/Tools/lib/gcc/arm-gp2x-linux/3.4.6/libSDL.so: undefined reference to `pthread_cond_timedwait@GLIBC_2.3.2'
/gp2xsdk/Tools/lib/gcc/arm-gp2x-linux/3.4.6/libSDL.so: undefined reference to `pthread_cond_wait@GLIBC_2.3.2'
/gp2xsdk/Tools/lib/gcc/arm-gp2x-linux/3.4.6/libSDL.so: undefined reference to `pthread_cond_init@GLIBC_2.3.2'
collect2: ld returned 1 exit status
I have looked around for a few hours, but this is as small as I can get the list of errors.
Can somebody tell me where I went wrong?
thanks