[SDL] cross-compiling woes

Paul Pelzl pelzlpj at eecs.umich.edu
Tue Jan 18 22:45:52 PST 2005


On Mon, Jan 17, 2005 at 10:40:42PM -0500, Paul Pelzl wrote:
> I've used
> the instructions provided at http://www.libsdl.org/extras/win32/cross/
> to build a fresh libSDL with the --disable-stdio-redirect flag.  But
> when I try to link against this library, I get the following error:
> 
> /usr/lib/gcc/i586-mingw32msvc/3.4.2/../../../../i586-mingw32msvc/lib/libmingw32.a(main.o)(.text+0xf4):
> undefined reference to `_WinMain at 16'
> collect2: ld returned 1 exit status

Problem solved.  I couldn't reach the SDL website the other day in order
to download the source, so I was building SDL using a source tarball
from the current Debian package (it looks like a CVS snapshot prior to
the 1.2.8 release).  Now that the website is back up, I used the 1.2.8
release package, and everything is working fine.

Paul






More information about the SDL mailing list