https://bugs.winehq.org/show_bug.cgi?id=52292
Bug ID: 52292 Summary: Cygwin compilation fails in ld: undefined reference to `__main' @ include/wine/test.h Product: Wine Version: 7.0-rc3 Hardware: x86-64 OS: other Status: UNCONFIRMED Severity: blocker Priority: P2 Component: activeds Assignee: wine-bugs@winehq.org Reporter: saulius2@gmail.com
(This is continuation from the bug 52287)
make fails during following `winegcc` step:
--- snip --- tools/winegcc/winegcc.exe -o dlls/activeds/tests/activeds_test.exe --wine-objdir . -Wl,--disable-stdcall-fixup \ -fasynchronous-unwind-tables -mno-cygwin dlls/activeds/tests/activeds.o \ dlls/activeds/tests/testlist.o dlls/ole32/libole32.a dlls/oleaut32/liboleaut32.a \ dlls/activeds/libactiveds.a dlls/winecrt0/libwinecrt0.a dlls/msvcrt/libmsvcrt.a \ dlls/kernel32/libkernel32.a dlls/ntdll/libntdll.a /usr/lib/gcc/i686-pc-cygwin/10/../../../../i686-pc-cygwin/bin/ld: dlls/activeds/tests/testlist.o: in function `main': /home/saukrs/src/wine/include/wine/test.h:669: undefined reference to `__main' collect2: error: ld returned 1 exit status winegcc: /usr/bin/gcc.exe failed make: *** [Makefile:2000: dlls/activeds/tests/activeds_test.exe] Error 2 --- snip ---