[uClibc] latest buildroot problems

david at futuretel.com david at futuretel.com
Thu Oct 2 23:02:17 UTC 2003


well, I'm attempting to build a mips buildroot system.  I downloaded
the latest from CVS, and changed: ARCH to mips, and the two snapshot
options to false.  The compile goes fine until busybox, and dies with
the following error when compiling ash:

/home/mutex/buildroot/build_mips/staging_dir/bin/mips-uclibc-gcc
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall
-Wshadow -Os -fomit-frame-pointer -D_GNU_SOURCE  -DBB_VER='"0.60.5"'
-DBB_BT='"2003.10.02-23:01+0000"' -DUSE_SYSTEM_PWD_GRP  -I.  -c ar.c
-o ar.o
/home/mutex/buildroot/build_mips/staging_dir/bin/mips-uclibc-gcc
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall
-Wshadow -Os -fomit-frame-pointer -D_GNU_SOURCE  -DBB_VER='"0.60.5"'
-DBB_BT='"2003.10.02-23:01+0000"' -DUSE_SYSTEM_PWD_GRP  -I.  -c ash.c
-o ash.o
ash.c: In function `showjobs':
ash.c:6217: error: `sys_siglist' undeclared (first use in this
function)
ash.c:6217: error: (Each undeclared identifier is reported only once
ash.c:6217: error: for each function it appears in.)
ash.c: In function `dowait':
ash.c:6721: error: `sys_siglist' undeclared (first use in this
function)
ash.c: In function `trapcmd':
ash.c:11442: error: `sys_siglist' undeclared (first use in this
function)
make[1]: *** [ash.o] Error 1
make[1]: Leaving directory
`/home/mutex/buildroot/build_mips/busybox-0.60.5'

So i thought I'd try using just the uclibc snapshot, so I changed its
variable to true.  Dies with the same error.  So finally, I tried
busybox snapshot and it dies with this error:

/home/mutex/buildroot/build_mips/staging_dir/bin/mips-uclibc-strip -x
-R .note -R .comment glob-hooks.o
/home/mutex/buildroot/build_mips/staging_dir/bin/mips-uclibc-ar r
../../../libc/libc.a glob.o glob64.o glob-hooks.o
make[4]: Leaving directory
`/home/mutex/buildroot/build_mips/uClibc/libc/misc/glob'
make[3]: Leaving directory
`/home/mutex/buildroot/build_mips/uClibc/libc/misc'
make -C  pwd_grp
make[3]: Entering directory
`/home/mutex/buildroot/build_mips/uClibc/libc/pwd_grp'
/home/mutex/buildroot/build_mips/staging_dir/bin/mips-uclibc-gcc
-Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing  -Os
-mno-split-addresses   -fno-builtin -nostdinc -D_LIBC -I../../include
-I.
-I/home/mutex/buildroot/build_mips/staging_dir/lib/gcc-lib/mips-linux/3.3.1/include
-DNDEBUG -fPIC -c pwent.c -o pwent.o
In file included from pwent.c:27:
config.h:26:17: ../../include/pwd.h: Input/output error
In file included from pwent.c:27:
config.h:36: warning: `struct passwd' declared inside parameter list
config.h:36: warning: its scope is only this definition or
declaration, which is probably not what you want
pwent.c:68: warning: `struct passwd' declared inside parameter list
pwent.c: In function `getpwent_r':
pwent.c:73: warning: passing arg 1 of `__getpwent_r' from incompatible
pointer type
pwent.c: In function `getpwent':
pwent.c:87: error: storage size of `pwd' isn't known
pwent.c:90: warning: passing arg 4 of `getpwent_r' from incompatible
pointer type
pwent.c:87: warning: unused variable `pwd'
pwent.c:87: error: storage size of `pwd' isn't known
make[3]: *** [pwent.o] Error 1
make[3]: Leaving directory
`/home/mutex/buildroot/build_mips/uClibc/libc/pwd_grp'
make[2]: *** [_dir_pwd_grp] Error 2
make[2]: Leaving directory
`/home/mutex/buildroot/build_mips/uClibc/libc'
make[1]: *** [_dir_libc] Error 2
make[1]: Leaving directory `/home/mutex/buildroot/build_mips/uClibc'
make: *** [/home/mutex/buildroot/build_mips/uClibc/lib/libc.a] Error 2

is this the fault of uClibc or busybox ? or some combination of the two...



More information about the uClibc mailing list