[Bug 799398] SDL_Init not found in libSDL.dll.a

bugzilla at redhat.com bugzilla at redhat.com
Fri Mar 2 16:42:08 UTC 2012


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=799398

--- Comment #2 from salsaman <salsaman at gmail.com> 2012-03-02 11:42:07 EST ---
There were other oddities with the compilation. I had to remove the pkg-config
ldflags (-mwindows -L/usr/i686-pc-mingw32/sys-root/mingw/lib -lmingw32
-lSDLmain -lSDL)



otherwise I get this:

*** Warning: linker path does not have real file for library -lmingw32.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libmingw32 and none of the candidates passed a file format test
*** using a file magic. Last file checked:
/usr/i686-pc-mingw32/sys-root/mingw/lib/libmingw32.a

*** Warning: linker path does not have real file for library -lSDLmain.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libSDLmain and none of the candidates passed a file format test
*** using a file magic. Last file checked:
/usr/i686-pc-mingw32/sys-root/mingw/lib/libSDLmain.a

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module SDL.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.


and the SDL.dll is not built.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the mingw mailing list