[SDL] cross-compiler asm linker problem
JessH at lbjhs.net
Sat Apr 1 20:43:34 PST 2000
sorry for the OT(although they seem to be getting quite popular here).
im working on compiling lsdldoom(http://lbjhs.net/~jessh/lsdldoom/) for
win32 and am running into a little problem with assembly code and the
cross compiler (mingw32). during linking the assembly code isnt able to
access variables defined in other object files
(drawspan.o(.text+0x5):fake: undefined reference to `ds_x2')
and other object files cant access the functions defined in the assembly
code (l_video_sdl.o(.text+0xbf0):l_video_sdl.c: undefined reference to
`R_DrawColumn_Normal'). does anyone know how to fix this? i am thinking
it might be wanting the functions and variables to be prefixed with _,
but it doesnt need those normally, any ideas?
More information about the SDL