• 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
Re: Referencing dylibs from a static lib in xcode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Referencing dylibs from a static lib in xcode?


  • Subject: Re: Referencing dylibs from a static lib in xcode?
  • From: Scott Tooker <email@hidden>
  • Date: Mon, 26 Jan 2004 13:56:20 -0800

In the off chance no one has responded:

You need to link against libz.dylib to get the error to disappear. Are
you already doing this? If so it sounds like it may be an SDK-related
problem.

Scott

On Jan 15, 2004, at 10:29 PM, jason rusoff wrote:

> I have a project that built in PB on 10.2.8 but won't link in xcode 1.1
> on 10.3. Am I unable to reference routines in a dylib from a static
> lib? Here is the error. Did the rules change regarding static and
> dynamic libs from 10.2 to 10.3? libcsl2.a is a static lib that uses
> crc32 in libz.
> Thanks,
> Jason
>
> ld: /Volumes/10.2.8
> backup/Users/jasonrus/Projects/scan/FieryRemoteScanX/Mac/
> libcsl2.a(png.o) illegal reference to symbol: _crc32 defined in
> indirectly referenced dynamic library /usr/lib/libz.1.dylib
> _______________________________________________
> xcode-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/xcode-users
> Do not post admin requests to the list. They will be ignored.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Referencing dylibs from a static lib in xcode? (From: jason rusoff <email@hidden>)

  • Prev by Date: Source trees & include paths
  • Next by Date: Re: Xcode losing a framework's headers
  • Previous by thread: Referencing dylibs from a static lib in xcode?
  • Next by thread: Asterisk/XCode AppleScript menu problem
  • Index(es):
    • Date
    • Thread