[EMAIL PROTECTED] wrote:
I've just updated via cvs, and I get this
[EMAIL PROTECTED] Wine]$ winegcc -mwindows 01-biditest.c
/tmp/wappZjLo5B.spec.o(.text+0x1010a): In function `__wine_exe_main':
: undefined reference to `WinMain'
collect2: ld returned 1 exit status
Error: gcc failed.
Error: winewrap failed.
[EMAIL PROTECTED] Wine]$

winewrap returns a seg fault.

You need to explicitly link with gdi (use -lgdi32)
or change main() to WinMain() and use -mwindows

--
Richard.




Reply via email to