Re: Link errors
Re: Link errors
- Subject: Re: Link errors
- From: Eric Albert <email@hidden>
- Date: Thu, 13 Apr 2006 13:16:18 -0700
On Apr 13, 2006, at 10:52 AM, Steve Mills wrote:
It would probably help if I'd include the entire build transcript
where linking occurs. BTW, when adding libraries from /usr/lib,
should the alias be added to the project (libz.dylib) or the actual
library (libz.1.2.3.dylib)?
Ld "/DevDepot/main/creatortech/desktop/mac/C2Mac/../../../../
xcodebuilds/Creator.build/Release/Creator Beta.build/Objects-normal/
ppc/MultiAd Creator Pro Beta" normal ppc
cd /DevDepot/main/creatortech/desktop/mac/C2Mac
/usr/bin/g++-4.0 -o /DevDepot/main/creatortech/desktop/mac/
C2Mac/../../../../xcodebuilds/Creator.build/Release/Creator\
Beta.build/Objects-normal/ppc/MultiAd\ Creator\ Pro\ Beta -L/
DevDepot/main/creatortech/desktop/mac/C2Mac/../../../../xcodebuilds/
Release -F/DevDepot/main/creatortech/desktop/mac/C2Mac/../../../../
xcodebuilds/Release -filelist /DevDepot/main/creatortech/desktop/
mac/C2Mac/../../../../xcodebuilds/Creator.build/Release/Creator\
Beta.build/Objects-normal/ppc/MultiAd\ Creator\ Pro\
Beta.LinkFileList -framework Carbon -framework QuickTime -lPSILib -
lAGL -lSpellingLib\ Macho\ Release -lFreetype -lz -lcrypto -lssl -
lgsoap -framework Security -framework SystemConfiguration -
framework System -arch ppc -mmacosx-version-min=10.3 -Wl,-
dead_strip -isysroot /Developer/SDKs/MacOSX10.3.9.sdk
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding
may result in errors or different symbols being used
symbol _acosl used from dynamic library /Developer/SDKs/
MacOSX10.3.9.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libstdc+
+.dylib(single module) not from earlier dynamic library /usr/lib/
libSystem.B.dylib(ld64.o)
symbol _sinhl used from dynamic library /Developer/SDKs/MacOSX10.3./
usr/bin/ld: Undefined symbols:
_otv_module_class
Ah...I think I see what's going on. The acosl and similar messages
are warnings, not errors. You can try passing -bind_at_load in Other
Linker Flags to see if that eliminates them, but I wouldn't worry
about them.
The actual error somehow got interposed with the sinhl line above:
/usr/bin/ld: Undefined symbols: _otv_module_class
Make sure otv_module_class is defined and I think you'll be able to
link.
Hope this helps,
Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden