On Mon, Jun 18, 2007 at 08:02:42AM -0700, David Whitney wrote:
> Hello,
> 
> Has anyone seen this problem before while using
> /cross-tools/bin/i686-pc-linux-gnu-ar?
> 
 Not exactly, but I think I've seen something similar on ppc a long
while ago.
> i686-pc-linux-gnu-ar libz.a adler32.o compress.o crc32.o gzio.o uncompr.o
> deflate.o trees.o zutil.o inflate.o infback.o inftrees.o inffast.o
> i686-pc-linux-gnu-ar: illegal option -- z
> Usage: i686-pc-linux-gnu-ar [emulation options]
> [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name] [count] archive-file file...
> 
> I get this error when attempting to make zlib.  All of the object files
> build fine, but when it comes to archiving them into libz.a, then the make
> process fails.
> 
 Turns out my original problem was in January last year (fixed by
not using a patch before we were in the native build), and last June
I found out the real cause of the problem:

http://permalink.gmane.org/gmane.linux.lfs.cross/811

 Please read that, then try configuring with whatever else you had
plus AR="${AR} rc".  Then we can start to wonder why this problem
has suddenly appeared.

 But, maybe you have applied the zlib -fPIC patch in chapter 6?  If
so, please try again without it (that patch is for the final system).

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to