[SDL] cross-compile sdl

huangwei at sunplus.com.cn huangwei at sunplus.com.cn
Mon Jan 6 23:10:00 PST 2003


hi all,

when cross-compile the demos under ../test:

after adding the directory which there and libsdl.a and libsdlmain.a in
makefile under ../test,there are some errors:
testver.tmp: In function 'Audio_Available':
../SDL-1.2.5/src/audio/arts/SDL_artsaudio.c:142:undefined reference to
'arts_init'
....
....
../SDL-1.2.5/src/video/x11/SDL_x11video.c:94:undefined reference to
'XOpenDisplay'
...
...
etc.

how to solve it then??

thanks

Regards,
Andy







More information about the SDL mailing list