cheap-plastic
Still Fresh
I'm trying to compile woogal's Duke3D code. After a bit of struggling, I think I got it to the link-process, but now I'm stuck with this:
I'm using the arm-linux sdk built by the gph_sdk_installer script from the wiki.
Does anyone know how to fix this?
Code:
duke3d/source$ make
arm-linux-gcc -c -g -I/usr/local/arm-dev/arm-linux/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -DVOLUMEALL -DCONTROLS_CONFIG_MENU=1 -funsigned-char -DUDP_NETWORKING=1 -fno-strict-aliasing -O2 -o actors.o actors.c
arm-linux-gcc -c -g -I/usr/local/arm-dev/arm-linux/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -DVOLUMEALL -DCONTROLS_CONFIG_MENU=1 -funsigned-char -DUDP_NETWORKING=1 -fno-strict-aliasing -O2 -o animlib.o animlib.c
arm-linux-gcc -c -g -I/usr/local/arm-dev/arm-linux/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -DVOLUMEALL -DCONTROLS_CONFIG_MENU=1 -funsigned-char -DUDP_NETWORKING=1 -fno-strict-aliasing -O2 -o control.o control.c
arm-linux-gcc -c -g -I/usr/local/arm-dev/arm-linux/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -DVOLUMEALL -DCONTROLS_CONFIG_MENU=1 -funsigned-char -DUDP_NETWORKING=1 -fno-strict-aliasing -O2 -o config.o config.c
arm-linux-gcc -c -g -I/usr/local/arm-dev/arm-linux/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -DVOLUMEALL -DCONTROLS_CONFIG_MENU=1 -funsigned-char -DUDP_NETWORKING=1 -fno-strict-aliasing -O2 -o game.o game.c
arm-linux-gcc -c -g -I/usr/local/arm-dev/arm-linux/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -DVOLUMEALL -DCONTROLS_CONFIG_MENU=1 -funsigned-char -DUDP_NETWORKING=1 -fno-strict-aliasing -O2 -o gamedef.o gamedef.c
arm-linux-gcc -c -g -I/usr/local/arm-dev/arm-linux/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -DVOLUMEALL -DCONTROLS_CONFIG_MENU=1 -funsigned-char -DUDP_NETWORKING=1 -fno-strict-aliasing -O2 -o global.o global.c
arm-linux-gcc -c -g -I/usr/local/arm-dev/arm-linux/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -DVOLUMEALL -DCONTROLS_CONFIG_MENU=1 -funsigned-char -DUDP_NETWORKING=1 -fno-strict-aliasing -O2 -o keyboard.o keyboard.c
arm-linux-gcc -c -g -I/usr/local/arm-dev/arm-linux/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -DVOLUMEALL -DCONTROLS_CONFIG_MENU=1 -funsigned-char -DUDP_NETWORKING=1 -fno-strict-aliasing -O2 -o menues.o menues.c
arm-linux-gcc -c -g -I/usr/local/arm-dev/arm-linux/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -DVOLUMEALL -DCONTROLS_CONFIG_MENU=1 -funsigned-char -DUDP_NETWORKING=1 -fno-strict-aliasing -O2 -o player.o player.c
arm-linux-gcc -c -g -I/usr/local/arm-dev/arm-linux/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -DVOLUMEALL -DCONTROLS_CONFIG_MENU=1 -funsigned-char -DUDP_NETWORKING=1 -fno-strict-aliasing -O2 -o premap.o premap.c
arm-linux-gcc -c -g -I/usr/local/arm-dev/arm-linux/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -DVOLUMEALL -DCONTROLS_CONFIG_MENU=1 -funsigned-char -DUDP_NETWORKING=1 -fno-strict-aliasing -O2 -o rts.o rts.c
arm-linux-gcc -c -g -I/usr/local/arm-dev/arm-linux/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -DVOLUMEALL -DCONTROLS_CONFIG_MENU=1 -funsigned-char -DUDP_NETWORKING=1 -fno-strict-aliasing -O2 -o scriplib.o scriplib.c
arm-linux-gcc -c -g -I/usr/local/arm-dev/arm-linux/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -DVOLUMEALL -DCONTROLS_CONFIG_MENU=1 -funsigned-char -DUDP_NETWORKING=1 -fno-strict-aliasing -O2 -o sector.o sector.c
arm-linux-gcc -c -g -I/usr/local/arm-dev/arm-linux/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -DVOLUMEALL -DCONTROLS_CONFIG_MENU=1 -funsigned-char -DUDP_NETWORKING=1 -fno-strict-aliasing -O2 -o sounds.o sounds.c
arm-linux-gcc -c -g -I/usr/local/arm-dev/arm-linux/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -DVOLUMEALL -DCONTROLS_CONFIG_MENU=1 -funsigned-char -DUDP_NETWORKING=1 -fno-strict-aliasing -O2 -o fx_man.o fx_man.c
arm-linux-gcc -static actors.o animlib.o control.o config.o game.o gamedef.o global.o keyboard.o menues.o player.o premap.o rts.o scriplib.o sector.o sounds.o fx_man.o buildengine/cache1d.o buildengine/engine.o buildengine/sdl_driver.o buildengine/mmulti.o buildengine/pragmas.o buildengine/unix_compat.o buildengine/a.o -lSDL_mixer -lvorbisidec -L/usr/local/arm-dev/arm-linux/usr/lib -Wl,-rpath,/usr/local/arm-dev/arm-linux/usr/lib -lSDL -lpthread -lm -ldl -L. -lSDL -o duke3d
buildengine/engine.o: In function `krecipasm':
/home/klaasdc/documenten/c/duke3d/source/buildengine/engine.c:543: undefined reference to `__floatsisf'
buildengine/sdl_driver.o: In function `VBE_setPalette':
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2132: undefined reference to `__floatsisf'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2132: undefined reference to `__addsf3'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2132: undefined reference to `__extendsfdf2'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2132: undefined reference to `__divdf3'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2132: undefined reference to `__muldf3'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2133: undefined reference to `__floatsisf'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2133: undefined reference to `__addsf3'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2133: undefined reference to `__extendsfdf2'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2133: undefined reference to `__divdf3'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2133: undefined reference to `__muldf3'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2134: undefined reference to `__floatsisf'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2134: undefined reference to `__addsf3'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2134: undefined reference to `__extendsfdf2'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2134: undefined reference to `__divdf3'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2134: undefined reference to `__muldf3'
buildengine/sdl_driver.o: In function `VBE_getPalette':
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2172: undefined reference to `__floatsisf'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2172: undefined reference to `__addsf3'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2172: undefined reference to `__extendsfdf2'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2172: undefined reference to `__divdf3'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2172: undefined reference to `__muldf3'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2173: undefined reference to `__floatsisf'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2173: undefined reference to `__addsf3'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2173: undefined reference to `__extendsfdf2'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2173: undefined reference to `__divdf3'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2173: undefined reference to `__muldf3'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2174: undefined reference to `__floatsisf'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2174: undefined reference to `__addsf3'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2174: undefined reference to `__extendsfdf2'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2174: undefined reference to `__divdf3'
/home/klaasdc/documenten/c/duke3d/source/buildengine/sdl_driver.c:2174: undefined reference to `__muldf3'
buildengine/a.o: In function `setupslopevlin':
/home/klaasdc/documenten/c/duke3d/source/buildengine/a.c:693: undefined reference to `__floatsisf'
buildengine/a.o: In function `slopevlin':
/home/klaasdc/documenten/c/duke3d/source/buildengine/a.c:708: undefined reference to `__floatsisf'
/home/klaasdc/documenten/c/duke3d/source/buildengine/a.c:708: undefined reference to `__addsf3'
/home/klaasdc/documenten/c/duke3d/source/buildengine/a.c:732: undefined reference to `__addsf3'
collect2: ld returned 1 exit status
make: *** [duke3d] Error 1
I'm using the arm-linux sdk built by the gph_sdk_installer script from the wiki.
Does anyone know how to fix this?