Linking conflicts with new Foundation from Safari 1.0
Linking conflicts with new Foundation from Safari 1.0
- Subject: Linking conflicts with new Foundation from Safari 1.0
- From: Michael McCracken <email@hidden>
- Date: Tue, 8 Jul 2003 20:47:46 -0700
(Apologies for the re-post from macosx-dev, it seems like there's more
people here.)
I've had a frustrating problem with a fatal linking error that has
cropped up since I've installed Safari 1.0, and I'd appreciate any help
I can get. Here's the situation:
I use a library (not a framework) that defines the symbol "_fields" -
which was never a problem until June 23. After installing Safari 1.0
(which installs a new Foundation at
/System/Library/Frameworks/Foundation.framework/Versions/C), my
application fails to build, with the following errors:
ld: multiple definitions of symbol _fields
/System/Library/Frameworks/Foundation.framework/Versions/C/
Foundation(ProjectBuilderMasterObjectFile.o) definition of _fields
./libbtparse.a(bibtex.o) definition of _fields in section
(__TEXT,__text)
My initial response was to go try to edit bibtex.c and just rename the
symbol to avoid the collision. However, that's a generated parser (made
by PCCTS) and it isn't that simple to just change it. Although I
probably can figure out how eventually, I was wondering if anyone knows
of a better solution? It really seems like I shouldn't have to change
my code here.
Thanks,
-Michael
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.