Hello all
I'm trying to use the Gamepark Holdings Software Developer's Kit (as per this)
Previously my program built fine under the open2x toolchain, but would not run properly because of the differences between libc in the toolchain and on the gp2x (gethostbyname() requires exactly the same version on both)
Now using GPHSDK, I cannot even get it to build.
here is the error:
CODE
arm-gp2x-linux-g++ -static -o gpsdump.gpe gpsdump.o -L"/gp2xsdk/Tools/arm-gp2x-linux/lib/static/" -L"/gp2xsdk/Tools/arm-gp2x-linux/lib/" -lSDL --start-group -lSDL_ttf -lfreetype -lSDL --end-group -lSDL_image -ljpeg -lpng12 -lz -lSDL -lgcc -lm -lc -lpthread -ldl
/gp2xsdk/Tools/lib/gcc/arm-gp2x-linux/3.4.6/../../../../arm-gp2x-linux/bin/ld: cannot find -ljpeg
collect2: ld returned 1 exit status
but libjpeg is there!
CODE
ls -l /gp2xsdk/Tools/arm-gp2x-linux/lib/ | grep jpeg
-rwxr-xr-x 1 root root 485 2006-01-03 12:20 libjpeg.la
lrwxrwxrwx 1 root root 17 2007-04-11 18:36 libjpeg.so -> libjpeg.so.62.0.0
lrwxrwxrwx 1 root root 17 2007-04-11 18:36 libjpeg.so.62 -> libjpeg.so.62.0.0
-rwxr-xr-x 1 root root 144490 2006-01-03 12:20 libjpeg.so.62.0.0
Somebody please tell me I've missed something really obvious! :blink:
PS, If I try to link dynamically, it tells me I must use software FPU emu, but using -msoft-float tells me "cannot find -lfloat"
Thanks
Andy
I'm trying to use the Gamepark Holdings Software Developer's Kit (as per this)
Previously my program built fine under the open2x toolchain, but would not run properly because of the differences between libc in the toolchain and on the gp2x (gethostbyname() requires exactly the same version on both)
Now using GPHSDK, I cannot even get it to build.
here is the error:
CODE
arm-gp2x-linux-g++ -static -o gpsdump.gpe gpsdump.o -L"/gp2xsdk/Tools/arm-gp2x-linux/lib/static/" -L"/gp2xsdk/Tools/arm-gp2x-linux/lib/" -lSDL --start-group -lSDL_ttf -lfreetype -lSDL --end-group -lSDL_image -ljpeg -lpng12 -lz -lSDL -lgcc -lm -lc -lpthread -ldl
/gp2xsdk/Tools/lib/gcc/arm-gp2x-linux/3.4.6/../../../../arm-gp2x-linux/bin/ld: cannot find -ljpeg
collect2: ld returned 1 exit status
but libjpeg is there!
CODE
ls -l /gp2xsdk/Tools/arm-gp2x-linux/lib/ | grep jpeg
-rwxr-xr-x 1 root root 485 2006-01-03 12:20 libjpeg.la
lrwxrwxrwx 1 root root 17 2007-04-11 18:36 libjpeg.so -> libjpeg.so.62.0.0
lrwxrwxrwx 1 root root 17 2007-04-11 18:36 libjpeg.so.62 -> libjpeg.so.62.0.0
-rwxr-xr-x 1 root root 144490 2006-01-03 12:20 libjpeg.so.62.0.0
Somebody please tell me I've missed something really obvious! :blink:
PS, If I try to link dynamically, it tells me I must use software FPU emu, but using -msoft-float tells me "cannot find -lfloat"
Thanks
Andy