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: ranlib ranlib



On Mon, 2006-05-01 at 15:54 -0700, Wesley Smith wrote:
> > Oops, that should be: otool -av liblua.a
> 
> 
> Great!  thanks for that.  So, here's my archive list from the Terminal:
> 
> -rw-r--r--   1 root  staff  567192 May  1 11:44 liblua.a
> 
> Archive : liblua.a
> -rw-r--r--  0/0    5752 Mon May  1 15:54:23 2006 __.SYMDEF
> 
> The SYMDEF has a date _later_ than the archive file date.  Yet, I'm
> still getting the ranlib runaround from xcode/gcc.  Does this look
> right? I think it does.

This looks fine to me too. The only option left is Jonas' wrong liblua
being found by the linker one. Try adding the full path to the installed
liblua.a to the link instead of -llua. I'm sorry, I'm sure that there's
some way to do this in xcode, but I don't know what it is.

You could also try from the command line to make sure that something
totally screwy isn't going on:
cc -o foo /usr/local/lib/liblua.a
should complain about missing _main rather than out-of-date Table of
contents.

Peter

Attachment: signature.asc
Description: This is a digitally signed message part

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >ranlib ranlib (From: "Wesley Smith" <email@hidden>)
 >Re: ranlib ranlib (From: "Justin C. Walker" <email@hidden>)
 >Re: ranlib ranlib (From: "Wesley Smith" <email@hidden>)
 >Re: ranlib ranlib (From: "Peter O'Gorman" <email@hidden>)
 >Re: ranlib ranlib (From: "Peter O'Gorman" <email@hidden>)
 >Re: ranlib ranlib (From: "Wesley Smith" <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.