Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: SDL_Init not found in libSDL.dll.a https://bugzilla.redhat.com/show_bug.cgi?id=799398 Summary: SDL_Init not found in libSDL.dll.a Product: Fedora Version: 16 Platform: Unspecified OS/Version: Unspecified Status: NEW Severity: unspecified Priority: unspecified Component: mingw32-SDL AssignedTo: rjo...@redhat.com ReportedBy: salsa...@gmail.com QAContact: extras...@fedoraproject.org CC: lfar...@lfarkas.org, rjo...@redhat.com, fedora-mi...@lists.fedoraproject.org Classification: Fedora Story Points: --- Type: --- Regression: --- Mount Type: --- Documentation: --- Description of problem: Compilation is broken Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: Create a dll which is statically linked with SDL, as follows: bin/sh ../../../../libtool --tag=CC --mode=link i686-pc-mingw32-gcc -fPIC -DPIC -DIS_MINGW=1 -D_GNU_SOURCE=1 -Dmain=SDL_main -I/usr/i686-pc-mingw32/sys-root/mingw/include/SDL -g -O2 -Wall -shared -fPIC -DPIC -module -avoid-version --tag=disable-static -no-undefined -Wl,/usr/i686-pc-mingw32/sys-root/mingw/lib/libSDL.dll.a -Wl,/usr/i686-pc-mingw32/sys-root/mingw/lib/libSDLmain.a -o SDL.la -rpath "/usr/lib/lives/plugins/playback/video" SDL_la-SDL.lo libtool: link: i686-pc-mingw32-gcc -shared .libs/SDL_la-SDL.o -O2 -Wl,/usr/i686-pc-mingw32/sys-root/mingw/lib/libSDL.dll.a -Wl,/usr/i686-pc-mingw32/sys-root/mingw/lib/libSDLmain.a -o .libs/SDL.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/SDL.dll.a This creates SDL.dll in .libs. No warnings are given about missing functions. Actual results: When SDL.dll is loaded and run under wine, it crashes with: wine: Call from 0x7bc4c100 to unimplemented function SDL.dll.SDL_Init, aborting wine: Unimplemented function SDL.dll.SDL_Init called at address 0x7bc4c100 (thread 0023), starting debugger... Unhandled exception: unimplemented function SDL.dll.SDL_Init called in 32-bit code (0x7bc4c100). Expected results: SDL_Init should be found inside libSDL.dll.a -- 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. _______________________________________________ mingw mailing list mingw@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/mingw