[uClibc]toolchain gcc-3.1

Claus Rosenberger Claus.Rosenberger at rocnet.de
Tue Jul 23 14:53:28 UTC 2002


i downloaded the package and started to compile. i got following error
while building the kernel.

make[2]: Leaving directory
`/usr/local/src/buildroot/build/linux/arch/um/sys-i386/util'
arch/um/sys-i386/util/mk_sc > arch/um/include/sysdep-i386/sc.h
/bin/sh: arch/um/sys-i386/util/mk_sc: No such file or directory
make[1]: *** [arch/um/include/sysdep-i386/sc.h] Error 127
make[1]: Leaving directory `/usr/local/src/buildroot/build/linux'
make: *** [/usr/local/src/buildroot/build/linux/linux] Error 2

if i type "make" again the error isn't there but another one.

/usr/local/src/buildroot/build/staging_dir/bin/i386-uclibc-gcc -o mk_task
mk_task_user.o mk_task_kern.o
make[2]: Leaving directory
`/usr/local/src/buildroot/build/linux/arch/um/util'
arch/um/util/mk_task > arch/um/include/task.h
/bin/sh: arch/um/util/mk_task: No such file or directory
make[1]: *** [arch/um/include/task.h] Error 127
make[1]: Leaving directory `/usr/local/src/buildroot/build/linux'
make: *** [/usr/local/src/buildroot/build/linux/linux] Error 2

if i type "make" again the error isn't there but another one.

binfmt_elf.c: In function `elf_core_dump':
binfmt_elf.c:1050: warning: implicit declaration of function `SC_DS'
binfmt_elf.c:1050: warning: implicit declaration of function `SC_ES'
binfmt_elf.c:1050: warning: implicit declaration of function `SC_IP'
binfmt_elf.c:1050: warning: implicit declaration of function `SC_CS'
binfmt_elf.c:1050: warning: implicit declaration of function `SC_EFLAGS'
binfmt_elf.c:1050: warning: implicit declaration of function `SC_SP'
binfmt_elf.c:1050: warning: implicit declaration of function `SC_SS'
make[3]: *** [binfmt_elf.o] Error 1
make[3]: Leaving directory `/usr/local/src/buildroot/build/linux/fs'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/local/src/buildroot/build/linux/fs'
make[1]: *** [_dir_fs] Error 2
make[1]: Leaving directory `/usr/local/src/buildroot/build/linux'
make: *** [/usr/local/src/buildroot/build/linux/linux] Error 2

i use debian woody and have the native compiler 2.95.4 installed.
the configuration things i changed in the Makefile of buildroot-directory
are :

USE_UCLIBC_TOOLCHAIN:=true
TARGETS+=user-mode-linux busybox tinylogin ncurses gdb strace valgrind


Claus




> I dunno.  The example I pointed you to works for me.  Can you
> grab a copy of buildroot via CVS and try it?
>
> Go to http://uclibc.org/cgi-bin/cvsweb/buildroot/ and click on
> the "Download tarball" link.  Then unpack the tarball and edit
> the Makefile so that "TARGETS" also includes "ncurses" and then
> run "make" and it will compile up ncurses.  And if you have
> edited the Makefile to set "USE_UCLIBC_TOOLCHAIN=true" it will
> even compile up a full uClibc toolchain for you (instead of the
> default toolchain wrapper).
>
>  -Erik
>
> --
> Erik B. Andersen             http://codepoet-consulting.com/
> --This message was written using 73% post-consumer electrons--






More information about the uClibc mailing list