[uClibc]uClibc and sparc-linux

Stanley stanley at alumni.com
Thu May 24 01:56:00 UTC 2001


thanks for the quick reply.

I have attached a modified Config, for sparc-linux or uClinux-LEON platform.
However the make isn't successful, screenful of messages and errors. What do
they mean ?

I don't own a sparc-linux box, using cross-compilation tools. However the
toolchain was not configured with the headers from the linux kernel
directory, would it matters ?

Once again thanks
stanley

----- Output of make-----
[root at localhost uClibc]# make
(cd include/bits; ln -sf ../../../../../uClibc_config.h uClibc_config.h)
make -C  extra
make[1]: Entering directory `/opt/uClinux-LEON/uClibc/extra'
make -C  gcc-uClibc
make[2]: Entering directory `/opt/uClinux-LEON/uClibc/extra/gcc-uClibc'
rm -f gcc-uClibc.h *-uclibc-gcc *-uclibc-ld core
gcc -Wall -O2 -s gcc-uClibc.c -o sparc-uclibc-gcc
chmod a+x sparc-uclibc-ld
make[2]: Leaving directory `/opt/uClinux-LEON/uClibc/extra/gcc-uClibc'
make[1]: Leaving directory `/opt/uClinux-LEON/uClibc/extra'
make -C  libc
make[1]: Entering directory `/opt/uClinux-LEON/uClibc/libc'
make -C  misc
make[2]: Entering directory `/opt/uClinux-LEON/uClibc/libc/misc'
make -C  assert
make[3]: Entering directory `/opt/uClinux-LEON/uClibc/libc/misc/assert'
sparc-linux-gcc  -Wall -Os -fno-builtin -nostdinc  -I../../../include -I/opt
/uClinux-LEON/tools/
lib/gcc-lib/sparc-linux/2.95.3/include -I. -D_LIBC   -DNDEBUG  -c
__assert.c -o __assert.o
In file included from ../../../include/unistd.h:500,
../../../include/bits/confname.h:61: warning: `_SC_ARG_MAX' redefined
../../../include/asm/unistd.h:482: warning: this is the location of the
previous definition
../../../include/bits/confname.h:63: warning: `_SC_CHILD_MAX' redefined
../../../include/asm/unistd.h:483: warning: this is the location of the
previous definition
../../../include/bits/confname.h:65: warning: `_SC_CLK_TCK' redefined
../../../include/asm/unistd.h:484: warning: this is the location of the
previous definition
../../../include/bits/confname.h:67: warning: `_SC_NGROUPS_MAX' redefined
../../../include/asm/unistd.h:485: warning: this is the location of the
previous definition
../../../include/bits/confname.h:69: warning: `_SC_OPEN_MAX' redefined
../../../include/asm/unistd.h:486: warning: this is the location of the
previous definition
../../../include/bits/confname.h:75: warning: `_SC_JOB_CONTROL' redefined
../../../include/asm/unistd.h:487: warning: this is the location of the
previous definition
../../../include/bits/confname.h:77: warning: `_SC_SAVED_IDS' redefined
../../../include/asm/unistd.h:488: warning: this is the location of the
previous definition
../../../include/bits/confname.h:119: warning: `_SC_VERSION' redefined
../../../include/asm/unistd.h:489: warning: this is the location of the
previous definition
In file included from ../../../include/unistd.h:500,
                 from __assert.c:13:
../../../include/bits/confname.h:60: parse error before `1'
../../../include/bits/confname.h:74: parse error before `6'
../../../include/bits/confname.h:118: parse error before `8'
make[3]: *** [__assert.o] Error 1
make[3]: Leaving directory `/opt/uClinux-LEON/uClibc/libc/misc/assert'
make[2]: *** [_dir_assert] Error 2
make[2]: Leaving directory `/opt/uClinux-LEON/uClibc/libc/misc'
make[1]: *** [_dir_misc] Error 2
make[1]: Leaving directory `/opt/uClinux-LEON/uClibc/libc'
make: *** [_dir_libc] Error 2

----- Original Message -----
From: "Erik Andersen" <andersen at lineo.com>
To: "stanley" <stanley at alumni.com>
Cc: <uclibc at uclibc.org>
Sent: Thursday, May 24, 2001 12:24 AM
Subject: Re: [uClibc]how to test uClibc with elf2flt


> On Wed May 23, 2001 at 11:17:15PM +0800, stanley wrote:
> > Hi folks,
> >
> > pardon my ignorant. Assuming i have compile uClibc for uClinux of a
> > particular platform, however i do not have elf2flt. How can i test if
the
> > uClibc is working correctly for the platform. anyway my platform is LEON
by
> > jiri.
>
> Well, the best way is to get a working elf2flt for your platform...
> Anybody have a working elf2flt for sparc?
>
>  -Erik
>
> --
> Erik B. Andersen   email:  andersen at lineo.com
> --This message was written using 73% post-consumer electrons--
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Config
Type: application/octet-stream
Size: 5857 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20010524/2da2df20/attachment.obj 


More information about the uClibc mailing list