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

bugzilla at redhat.com bugzilla at redhat.com
Sat Mar 3 16:11:53 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

Erik van Pienbroek <erik-fedora at vanpienbroek.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |erik-fedora at vanpienbroek.nl
         AssignedTo|rjones at redhat.com           |erik-fedora at vanpienbroek.nl

--- Comment #4 from Erik van Pienbroek <erik-fedora at vanpienbroek.nl> 2012-03-03 11:11:52 EST ---
I don't fully understand what you're trying to achieve. You mention that you
want to create a dll which is statically linked against SDL. However, the
mingw32-SDL package currently already provides a shared library called SDL.dll
(and its corresponding import library libSDL.dll.a). The mingw32-SDL package
doesn't contain a static library at the moment

What package did you try to compile which produced the libtool/gcc output you
mentioned?

There's an argument in it which I find rather suspicious: -rpath
"/usr/lib/lives/plugins/playback/video"
This argument shouldn't be used when cross-compiling

I just checked the SDL.dll which is part of the RPM you mentioned using a tool
called Dependency Walker and I noticed that the function SDL_Init is exported
as it should be in the dll. Are you sure that you're using the SDL.dll which is
part of the mingw32-SDL RPM in the wine tests?

The libtool warnings you get may be caused by an outdated copy of libtool which
is used in the package you're trying to compile. Manually re-running
'libtoolize --copy --force' may help there

-- 
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