ZeroLink and duplicate symbols
ZeroLink and duplicate symbols
- Subject: ZeroLink and duplicate symbols
- From: "James J. Merkel" <email@hidden>
- Date: Tue, 27 Apr 2004 21:24:08 -0700
A couple of questions on ZeroLink
1) Does ZeroLink need to be enabled for debugging to work?
2) If ZeroLink is enabled, I get the following error at run time:
ZeroLink: warning duplicate symbol: _ifp
will use: /Users/jamesmer/TempApp/build/TempApp.build/TempApp
(Upgraded).build/Objects-normal/ppc/ExifInfo.ob
also in: /Users/jamesmer/TempApp/build/TempApp.build/TempApp
(Upgraded).build/Objects-normal/ppc/AppController.ob
ZeroLink: warning duplicate symbol: _numberType
will use: /Users/jamesmer/TempApp/build/TempApp.build/TempApp
(Upgraded).build/Objects-normal/ppc/ExifInfo.ob
also in: /Users/jamesmer/TempApp/build/TempApp.build/TempApp
(Upgraded).build/Objects-normal/ppc/AppController.ob
And then the application crashes (usually).
The symbols ifp and numberType are used by both functions and by
methods. I declared these variables above the @interface block along
with the functions ushort fget2(FILE *f); and int fget4(FILE *f);
like so:
FILE *ifp;
short numberType;
ushort fget2(FILE *f);
int fget4(FILE *f);
@interface ExifInfo : NSObject { ...
This all works fine if ZeroLink is not enabled. Is there a way of
making this work with ZeroLink ?
Thanks,
Jim Merkel
_______________________________________________
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.