[BusyBox] some minor compile bugs that you probably already know about
Todd Hansen
tshansen at nlanr.net
Fri Mar 15 10:14:04 UTC 2002
In the latest distribution of busybox, but I didn't test the latest
snapshot, there is a missing include in mount.c and umount.c
#include<sys/param.h>
else I get:
arm-linux-gcc -Wall -Wshadow -Os -fomit-frame-pointer -D_GNU_SOURCE
-DBB_VER='"0.60.2"' -DBB_BT='"2002.03.15-17:09+0000"' -DUSE_SYSTEM_PWD_GRP
-I. -c umount.c -o umount.o
umount.c: In function `umount_main':
umount.c:244: `PATH_MAX' undeclared (first use in this function)
umount.c:244: (Each undeclared identifier is reported only once
umount.c:244: for each function it appears in.)
umount.c:244: warning: unused variable `path'
make: *** [umount.o] Error 1
however, after adding that it compiles fine. I am using debian for my
cross-compile:
freyja:/data/busybox-0.60.2> uname -a
Linux freyja 2.4.13 #1 Fri Oct 26 14:10:27 PDT 2001 i686 unknown
-todd
More information about the busybox
mailing list