Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Referencing dylibs from a static lib in xcode?



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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.