This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
problem with ar
- From: Bambero <bambero at tlen dot pl>
- To: binutils at sourceware dot org
- Date: Wed, 27 Apr 2005 22:53:53 +0200
- Subject: problem with ar
Hi
I just compiled some packages for my embeded system using
gentoo-uclibc-stage3.
Everything i fine but when I chroot to my new system and try to compile
ex. sed
"ar" returns me an error:
rm -f libsed.a
ar cru libsed.a getopt1.o getopt.o utils.o strverscmp.o regex.o
ar: libsed.a: No such file or directory
make[2]: *** [libsed.a] Error 1
make[2]: Leaving directory `/usr/local/src/sed/sed-4.1.4/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/sed/sed-4.1.4'
make: *** [all] Error 2
when I try to do that by hand the error is the same:
[root@pr:/usr/local/src/sed/sed-4.1.4/lib#] ar cru libsed.a getopt1.o
getopt.o utils.o strverscmp.o regex.o
ar: libsed.a: No such file or directory
[root@pr:/usr/local/src/sed/sed-4.1.4/lib#]
but when i try:
[root@pr:/usr/local/src/sed/sed-4.1.4/lib#] ar cru libsed.a
[root@pr:/usr/local/src/sed/sed-4.1.4/lib#]
everything is fine.
Anyone knows where is the problem ?
Bambero