http://bugs.winehq.org/show_bug.cgi?id=13601
Summary: wine build incompatible with iPhone SDK Product: Wine Version: 1.0-rc3 Platform: Macintosh OS/Version: Mac OS X 10.5 Status: UNCONFIRMED Severity: major Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: wine-2008@ryandesign.com
wine (versions 0.9.44 thru 1.0-rc3 at least) compiles fine with Xcode 3.0 on Mac OS X 10.5.3 Intel, but fails with the iPhone SDK beta 5 or beta 6 (a.k.a. Xcode 3.1 beta).
/usr/bin/gcc-4.0 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -I/mp/include -O2 -o status.o status.c ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./crtdll.spec crtdll_main.o -o crtdll.dll.so -lmsvcrt -lkernel32 ../../libs/port/libwine_port.a -L/mp/lib -framework CoreServices -lz ./crtdll.spec:44: external symbol 'CRTDLL__basemajor_dll' is not a function ./crtdll.spec:45: external symbol 'CRTDLL__baseminor_dll' is not a function ./crtdll.spec:46: external symbol 'CRTDLL__baseversion_dll' is not a function ./crtdll.spec:66: external symbol 'CRTDLL__cpumode_dll' is not a function ./crtdll.spec:243: external symbol 'CRTDLL__osmajor_dll' is not a function ./crtdll.spec:244: external symbol 'CRTDLL__osminor_dll' is not a function ./crtdll.spec:245: external symbol 'CRTDLL__osmode_dll' is not a function ./crtdll.spec:247: external symbol 'CRTDLL__osversion_dll' is not a function winegcc: ../../tools/winebuild/winebuild failed make[2]: *** [crtdll.dll.so] Error 2 make[1]: *** [crtdll] Error 2
Here's the MacPorts ticket for this issue:
http://trac.macports.org/ticket/13000