Re: Link Error Help
Re: Link Error Help
- Subject: Re: Link Error Help
- From: Lyndsey Ferguson <email@hidden>
- Date: Wed, 22 Mar 2006 13:32:14 -0500
On Mar 22, 2006, at 12:43 PM, Todd Freese wrote: I am getting the following error message when building:
/usr/bin/ld: table of contents for archive:/Users/todd/Desktop/Still_Store/hasp/libhasp_darwin.a is out of date; rerun ranlib(1) (can't load from it)
This only happens in my deployment profile, not my development profile.
This file is another vendor's pre-compiled library that I need to link against.
Todd
Are you storing the static library in source control? I believe that the problem is that the file modification date is different from the table of contents stored in the static library.
As part of your build process, you could have a shell script that does this:
ranlibĀ Users/todd/Desktop/Still_Store/hasp/libhasp_darwin.a
And it will update the table of contents (removing the error).
If you are using perforce, I think there is a file attribute setting that keeps the modification date the same as when you placed the file inside source control (I'm not using it yet).
Good luck,Lyndsey --- Lyndsey Ferguson Software Engineer
VectorWorks 12 Go from life without 12 to life without limits.
|
_______________________________________________
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