• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ZeroLink and duplicate symbols
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: ZeroLink and duplicate symbols
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: NSString format specifiers (was: Is Concatenation that complex?)
  • Next by Date: Problems with Xcode 1.2 - SetFile
  • Previous by thread: Re: Cocoa Bindings, NSMatrix, setting programmatically
  • Next by thread: Re: ZeroLink and duplicate symbols
  • Index(es):
    • Date
    • Thread