http://bugs.winehq.org/show_bug.cgi?id=13601
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2008-07-18 14:04:59 --- (In reply to comment #6)
This is wine's own tool complaining about crtdll_main.o which seems correctly compiled to us:
[wine-1.0-rc3/dlls/crtdll]> nm -m crtdll_main.o | grep CRTDLL__bas 00000004 (common) (alignment 2^2) external _CRTDLL__basemajor_dll 00000004 (common) (alignment 2^2) external _CRTDLL__baseminor_dll 00000004 (common) (alignment 2^2) external _CRTDLL__baseversion_dll
which matches the source code which declares these as tentative definitions (uninitialized global variables).
The file is compiled properly, the problem is that nm -u reports the common symbols as undefined. I think that's a bug in nm or in the linker, I'd suggest to reopen the bug with Apple.
Note also that Xcode 3.0 and 3.1 both miscompile the 16-bit relay code, so currently the only way to get a fully functional Wine is to build with Xcode 2.x.