5 Jan 22:18
Re: cross-compiling SDL for uclinux
Sam Lantinga <slouken <at> devolution.com>
2003-01-05 21:18:46 GMT
2003-01-05 21:18:46 GMT
> Dear all, > after cross-compiling sdl-1.2.5,then cross-compile the demos of test > directory, > but only the file testtypes can be compiled successfully. > when cross-compiling SDL-1.2.5, I use option --enable-static > --disable-shared. > there are some errors as follows: > testhread.tmp:In fucntion 'ThreadFunc': > testhread.tmp(.text+0x78):undefined reference to 'SDL_ThreadID' > testhread.tmp(.text+0x108):undefined reference to 'SDL_Delay' > testhread.tmp:In fucntion 'killed': > testhread.tmp(.text+0x1ac):undefined reference to 'SDL_Delay' > testhread.tmp:In fucntion 'main': > testhread.tmp(.text+0x220):undefined reference to 'SDL_Init' It sounds like the SDL library isn't being linked in. What's your link line? See ya, -Sam Lantinga, Software Engineer, Blizzard Entertainment
RSS Feed