[uClibc] can't build buildroot
Martin Volf
mv at inv.cz
Sun Sep 14 06:44:58 UTC 2003
Hello,
I'm trying to build my own buildroot, but I can't. Am I doing something wrong? What?
I have the latest version from CVS. Running 'make', it downloaded some stuff, built binutils and complained about missing uClibc-locale-030818.tgz. I downloaded it, rerun make and it complained about missing i386-uclibc-gcc (no surprise, gcc has not been built yet):
<make output>
make -C /var/src/buildroot/build_i386/uClibc/extra/locale pregen
/bin/sh: line 1: /var/src/buildroot/build_i386/staging_dir/bin/i386-uclibc-gcc: No such file or directory
make[1]: /var/src/buildroot/build_i386/staging_dir/bin/i386-uclibc-gcc: Command not found
make[1]: Entering directory `/var/src/buildroot/build_i386/uClibc/extra/locale'
/var/src/buildroot/build_i386/staging_dir/bin/i386-uclibc-gcc -D__WCHAR_ENABLED=1 -c locale_data.c
make[1]: /var/src/buildroot/build_i386/staging_dir/bin/i386-uclibc-gcc: Command not found
make[1]: *** [pregen] Error 127
make[1]: Leaving directory `/var/src/buildroot/build_i386/uClibc/extra/locale'
make: *** [/var/src/buildroot/build_i386/uClibc/.configured] Error 2
</make output>
Here is the diff between original makefile and the my one:
--- Makefile.orig 2003-09-14 08:25:48.000000000 +0200
+++ Makefile 2003-09-13 08:07:47.000000000 +0200
@@ -61,8 +61,8 @@
WGET:=wget --passive-ftp
# Optimize toolchain for which type of CPU?
-OPTIMIZE_FOR_CPU=$(ARCH)
-#OPTIMIZE_FOR_CPU=i486
+#OPTIMIZE_FOR_CPU=$(ARCH)
+OPTIMIZE_FOR_CPU=i586
#OPTIMIZE_FOR_CPU=strongarm
#OPTIMIZE_FOR_CPU=whatever
@@ -88,24 +88,24 @@
# kernel you have already configured and you want to use that?
#TARGETS+=linux
#TARGETS+=user-mode-linux
-#TARGETS+=system-linux
-TARGETS+=kernel-headers
+TARGETS+=system-linux
+#TARGETS+=kernel-headers
# The default minimal set
TARGETS+=busybox tinylogin
# Openssh...
-#TARGETS+=zlib openssl openssh
+TARGETS+=zlib openssl openssh
# Dropbear sshd is much smaller than openssl + openssh
-#TARGETS+=dropbear_sshd
+TARGETS+=dropbear_sshd
# Everything needed to build a full uClibc development system!
-#TARGETS+=coreutils findutils bash make diffutils patch sed
-#TARGETS+=ed flex bison file gawk tar grep gcc_target
+TARGETS+=coreutils findutils bash make diffutils patch sed
+TARGETS+=ed flex bison file gawk tar grep gcc_target
# Of course, if you are installing a development system, you
# may want some header files so you can compile stuff....
-#TARGETS+=ncurses-headers zlib-headers openssl-headers
+TARGETS+=ncurses-headers zlib-headers openssl-headers
# More development system stuff for those that want it
#TARGETS+=m4 autoconf automake libtool
@@ -115,6 +115,7 @@
# Some nice debugging tools
#TARGETS+=gdb strace
+TARGETS+=strace
# The Valgrind debugger (x86 only)
#TARGETS+=valgrind
Thanks.
--
Martin
More information about the uClibc
mailing list