Linking on the mingw build

Steven Edwards steven_ed4153 at yahoo.com
Fri Nov 28 16:52:58 CST 2003


Hello,
When linking quite a few dll on the mingw build I am getting the
following error:

vapi32 -lkernel32 -lntdll -L../../libs/wine -lwine -L../../libs/unicode
-lwine_unicode -L../../libs/port -lwine_port  -lm
../../libs/port/libwine_port.a(sigsetjmp.o.b)(.text+0x10): In function
`sigsetjmp':
e:/source/winehq/wine/libs/port/sigsetjmp.c:28: undefined reference to
`_setjmp'
../../libs/port/libwine_port.a(sigsetjmp.o.b)(.text+0x30): In function
`siglongjmp':
e:/source/winehq/wine/libs/port/sigsetjmp.c:33: undefined reference to
`longjmp'
C:\mingw\bin\dllwrap.exe: C:\mingw\bin\gcc exited with status 1
make: *** [user32.dll] Error 1

A simple work around for me is to use the Mingw msvcrt import lib and
link all of the dlls to it but I know this is not going to be the
solution to get merged in to WINE. Should I add stubs for _setjmp and
longjmp to libwine_port?

Thanks
Steven


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/



More information about the wine-devel mailing list