Mac OS X Compilation broken
Hi! I am getting trouble on Mac OS X with a modification to WineBuild. Here is the patch I am refering to: http://cvs.winehq.com/patch.py?id=9949 I'd like to know to what symbol "_end" should refer to? "_end" is flagged as an external symbol in the spec.c file, but I don't see any definition of it. I am getting the following error when launching wine: iMac:~ steg$ wine wine: failed to initialize: dlcompat: dyld: wine Undefined symbols: __end In fact the error appears when loading ntdll. Any idea? Thanks, Pierre
On Tue, 18 Nov 2003 20:55:21 +0100, Sir Pierre d'Herbemont scribed thus:
I am getting the following error when launching wine: iMac:~ steg$ wine wine: failed to initialize: dlcompat: dyld: wine Undefined symbols: __end
In fact the error appears when loading ntdll. Any idea?
A quick google would have shown you that _end points to the end of the uninitialized data section: http://www.scit.wlv.ac.uk/cgi-bin/mansec?3C+_end AFAIK it's put there by the linker. Presumably the MacOS linker does not do that, or for some reason the scoping is different and ntdll cannot see it.
participants (2)
-
Mike Hearn -
Pierre d'Herbemont