From: Sebastian A. <sp...@sy...> - 2007-03-16 18:11:58
|
AstLinux 0.4 branch from today (and older versions) fail to compile in the coreutils package. I wanted to create an AstLinux image with "The minimum needed to build a uClibc development system": config.status: creating po/Makefile #Fix up the max number of open files per process, which apparently # is not set when cross compiling /var/spool/astlinux/0.4-svn-MAR/toolchain_build_i586/bin/sed -i -e 's,.*UTILS_OPEN_MAX.*,#define UTILS_OPEN_MAX 1019,g' \ /var/spool/astlinux/0.4-svn-MAR/build_i586/coreutils-5.94/config.h # This is undefined when crosscompiling... /var/spool/astlinux/0.4-svn-MAR/toolchain_build_i586/bin/sed -i -e 's,.*HAVE_PROC_UPTIME.*,#define HAVE_PROC_UPTIME 1,g' \ /var/spool/astlinux/0.4-svn-MAR/build_i586/coreutils-5.94/config.h touch /var/spool/astlinux/0.4-svn-MAR/build_i586/coreutils-5.94/.configured make -j1 CC=/var/spool/astlinux/0.4-svn-MAR/build_i586/staging_dir/bin/i586-linux-ucl ibc-gcc -C /var/spool/astlinux/0.4-svn-MAR/build_i586/coreutils-5.94 make[1]: Entering directory `/var/spool/astlinux/0.4-svn-MAR/build_i586/coreutils-5.94' make all-recursive make[2]: Entering directory `/var/spool/astlinux/0.4-svn-MAR/build_i586/coreutils-5.94' Making all in lib make[3]: Entering directory `/var/spool/astlinux/0.4-svn-MAR/build_i586/coreutils-5.94/lib' cp ./alloca_.h alloca.h-t mv alloca.h-t alloca.h make all-am make[4]: Entering directory `/var/spool/astlinux/0.4-svn-MAR/build_i586/coreutils-5.94/lib' /var/spool/astlinux/0.4-svn-MAR/build_i586/staging_dir/bin/i586-linux-uclibc -gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/lib\" -I. -I. -I.. -I.. -I. -Os -pipe -c allocsa.c /var/spool/astlinux/0.4-svn-MAR/build_i586/staging_dir/bin/i586-linux-uclibc -gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/lib\" -I. -I. -I.. -I.. -I. -Os -pipe -c fprintftime.c /var/spool/astlinux/0.4-svn-MAR/build_i586/staging_dir/bin/i586-linux-uclibc -gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/lib\" -I. -I. -I.. -I.. -I. -Os -pipe -c full-read.c /var/spool/astlinux/0.4-svn-MAR/build_i586/staging_dir/bin/i586-linux-uclibc -gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/lib\" -I. -I. -I.. -I.. -I. -Os -pipe -c full-write.c /var/spool/astlinux/0.4-svn-MAR/build_i586/staging_dir/bin/i586-linux-uclibc -gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/lib\" -I. -I. -I.. -I.. -I. -Os -pipe -c localcharset.c /var/spool/astlinux/0.4-svn-MAR/build_i586/staging_dir/bin/i586-linux-uclibc -gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/lib\" -I. -I. -I.. -I.. -I. -Os -pipe -c mbswidth.c /var/spool/astlinux/0.4-svn-MAR/build_i586/staging_dir/bin/i586-linux-uclibc -gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/lib\" -I. -I. -I.. -I.. -I. -Os -pipe -c readtokens0.c /var/spool/astlinux/0.4-svn-MAR/build_i586/staging_dir/bin/i586-linux-uclibc -gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/lib\" -I. -I. -I.. -I.. -I. -Os -pipe -c strnlen1.c /var/spool/astlinux/0.4-svn-MAR/build_i586/staging_dir/bin/i586-linux-uclibc -gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/lib\" -I. -I. -I.. -I.. -I. -Os -pipe -c time_r.c In file included from time_r.c:25: time_r.h:42: error: conflicting types for 'restrict' time_r.h:42: error: previous definition of 'restrict' was here time_r.h:50: error: conflicting types for 'restrict' time_r.h:50: error: previous definition of 'restrict' was here time_r.h:54: error: conflicting types for 'restrict' time_r.h:54: error: previous definition of 'restrict' was here time_r.c:48: error: parse error before "tm" time_r.c: In function `rpl_asctime_r': time_r.c:49: error: number of arguments doesn't match prototype time_r.h:42: error: prototype declaration time_r.c:50: error: `buf' undeclared (first use in this function) time_r.c:50: error: (Each undeclared identifier is reported only once time_r.c:50: error: for each function it appears in.) time_r.c:50: error: `tm' undeclared (first use in this function) time_r.c: At top level: time_r.c:60: error: parse error before "t" time_r.c: In function `rpl_gmtime_r': time_r.c:61: error: number of arguments doesn't match prototype time_r.h:50: error: prototype declaration time_r.c:62: error: `tp' undeclared (first use in this function) time_r.c:62: error: `t' undeclared (first use in this function) time_r.c: At top level: time_r.c:66: error: parse error before "t" time_r.c: In function `rpl_localtime_r': time_r.c:67: error: number of arguments doesn't match prototype time_r.h:54: error: prototype declaration time_r.c:68: error: `tp' undeclared (first use in this function) time_r.c:68: error: `t' undeclared (first use in this function) make[4]: *** [time_r.o] Error 1 make[4]: Leaving directory `/var/spool/astlinux/0.4-svn-MAR/build_i586/coreutils-5.94/lib' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/spool/astlinux/0.4-svn-MAR/build_i586/coreutils-5.94/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/spool/astlinux/0.4-svn-MAR/build_i586/coreutils-5.94' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/spool/astlinux/0.4-svn-MAR/build_i586/coreutils-5.94' make: *** [/var/spool/astlinux/0.4-svn-MAR/build_i586/coreutils-5.94/src/vdir] Error 2 [seb@IVRA6 0.4-svn-MAR]$ BTW, this was with 1 concurrent job set to run; i386; i586; Generic i586. Kind regards, Sebastian |
From: Darrick H. <dha...@dj...> - 2007-03-16 18:53:50
|
Sebastian Auriol wrote: > AstLinux 0.4 branch from today (and older versions) fail to compile in the > coreutils package. I wanted to create an AstLinux image with "The minimum > needed to build a uClibc development system": > Sebastian, I'm trying to be as nice and patient as I can with your errors. You get a D+ for following instructions though. coreutils is not selected by default. It is not needed for basic functionality on an astlinux box. Most of these functions are already provided by busybox. Please refer back to previous note messages which provide complete instructions to have a working box. Could coreutils be fixed to work? Probably. Is it even on our list? No. The goal of this project isn't to add everything that you might find on a full blown Linux box. It's to provide the needed functionality in the smallest footprint necessary to provide that functionality. Darrick -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com |
From: Kristian K. <kri...@gm...> - 2007-03-16 20:02:51
|
On 3/16/07, Sebastian Auriol <sp...@sy...> wrote: > AstLinux 0.4 branch from today (and older versions) fail to compile in the > coreutils package. I wanted to create an AstLinux image with "The minimum > needed to build a uClibc development system": > ..snipped.. > [seb@IVRA6 0.4-svn-MAR]$ > > BTW, this was with 1 concurrent job set to run; i386; i586; Generic i586. > > Kind regards, > > Sebastian > Sebastian, Fixed in trunk and 0.4. Please try again. -- Kristian Kielhofner |