[uClibc] help needed !!!!
anuj pachoree
anuj_pachoree at rediffmail.com
Tue Mar 2 12:47:54 UTC 2004
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20040302/5363e20d/attachment.htm
-------------- next part --------------
Hi Manuel,
Thanks for an instant reply.
I tried your patch fot ioperm.c, Now I get a new error.
It is
if [ -f libpthread.a ] ; then \
set -e; \
arm-linux-elf-ld -EL -s -shared --warn-common --warn-once -z combreloc -soname=libpthread.so.0 \
-o libpthread-0.9.26.so ../lib/crti.o /usr/local/arm-linux-uclibc/lib/gcc-lib/arm-linux-elf/2.95.4/crtbeginS.o --whole-archive libpthread.a \
--no-whole-archive ../libc/misc/internals/interp.o \
-L../lib -lc /usr/local/arm-linux-uclibc/lib/gcc-lib/arm-linux-elf/2.95.4/crtendS.o ../lib/crtn.o; \
install -d ../lib; \
rm -f ../lib/libpthread-0.9.26.so \
../lib/libpthread.so.0; \
install -m 644 libpthread-0.9.26.so ../lib; \
ln -sf libpthread-0.9.26.so \
../lib/libpthread.so; \
ln -sf libpthread-0.9.26.so \
../lib/libpthread.so.0; \
fi;
arm-linux-elf-ld: cannot open /usr/local/arm-linux-uclibc/lib/gcc-lib/arm-linux-elf/2.95.4/crtbeginS.o: No such file or directory
make[1]: *** [shared] Error 1
make[1]: Leaving directory `/home/anuj/uClibc/uClibc-0.9.26/libpthread'
make: *** [shared] Error 2
wget is not working on my Linux PC. So I can not use
http://uclibc.org/cgi-bin/cvsweb/toolchain/ , since it tries to download things needed to build uClibc based tool on the fly.
Can you please send me the version numbers of the components in this toolchain, so that I can download them individually and then later use them
Also, it will be a great help if you could send me an example script so as to see,. how exactly I have to use these downloads.
Thanks in advance,
Anuj
On Tue, 02 Mar 2004 Manuel Novoa III wrote :
>On Tue, Mar 02, 2004 at 11:27:35AM -0000, anuj pachoree wrote:
> > I am trying to build a gcc cross compiler for ARM based on uClibc.
> > I am working on a Linux PC.
>
>If you want to build a toolchain, then I'd suggest you see
>http://uclibc.org/cgi-bin/cvsweb/toolchain/ which is what we
>test. You will also want to use a current uClibc snapshot.
>
> > make[4]: Entering directory `/home/anuj/uClibc/uClibc-0.9.26/libc/sysdeps/linux/arm'
> > arm-linux-elf-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fstrict-aliasing -Os -mlittle-endian -fno-builtin -nostdinc -D_LIBC -I../../../../include -I. -I/usr/local/arm-linux-uclibc/lib/gcc-lib/arm-linux-elf/2.95.4/include -DNDEBUG -fPIC -c ioperm.c -o ioperm.o
> > ioperm.c: In function `init_iosys':
> > ioperm.c:103: `BUS_ISA' undeclared (first use in this function)
>
>Fixed shortly after 0.9.26 was released. See
>http://uclibc.org/cgi-bin/cvsweb/uClibc/libc/sysdeps/linux/arm/ioperm.c
>
>Manuel
More information about the uClibc
mailing list