[SDL] cross-compiling woes
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:
> 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.
More information about the SDL