[BusyBox] bug#1086: Cannot build busybox-0.48

Thomas Köller tkoeller at gmx.net
Wed Jan 3 19:37:15 UTC 2001


Package: busybox
Version: 0.48

Building busybox-0.48 fails:

>----------------------------------------------

bash-2.03# make CFLAGS="-O3 -march=i686 -fomit-frame-pointer"
gcc -O3 -march=i686 -fomit-frame-pointer   -c -o sh.o sh.c
sh.c: In function `builtin_env':
sh.c:240: `environ' undeclared (first use in this function)
sh.c:240: (Each undeclared identifier is reported only once
sh.c:240: for each function it appears in.)
sh.c: In function `shell_main':
sh.c:1523: `BB_VER' undeclared (first use in this function)
sh.c:1523: `BB_BT' undeclared (first use in this function)
make: *** [sh.o] Error 1
>----------------------------------------------


These were my applet selections in Config.h:

>----------------------------------------------

// BusyBox Applications
//#define BB_AR
//#define BB_BASENAME
#define BB_CAT
#define BB_CHMOD_CHOWN_CHGRP
//#define BB_CHROOT
//#define BB_CHVT
//#define BB_CLEAR
//#define BB_CMP
//#define BB_CP_MV
//#define BB_CUT
//#define BB_DATE
//#define BB_DC
//#define BB_DD
//#define BB_DEALLOCVT
//#define BB_DF
//#define BB_DIRNAME
#define BB_DMESG
//#define BB_DOS2UNIX
//#define BB_DUTMP
//#define BB_DU
//#define BB_DUMPKMAP
//#define BB_ECHO
//#define BB_EXPR
//#define BB_FBSET
//#define BB_FDFLUSH
//#define BB_FIND
//#define BB_FREE
#define BB_FREERAMDISK
//#define BB_FSCK_MINIX
//#define BB_GETOPT
//#define BB_GREP
//#define BB_GUNZIP
//#define BB_GZIP
#define BB_HALT
//#define BB_HEAD
//#define BB_HOSTID
//#define BB_HOSTNAME
#define BB_ID
#define BB_INIT
//#define BB_INSMOD
#define BB_KILL
#define BB_KILLALL
//#define BB_LENGTH
#define BB_LN
//#define BB_LOADACM
//#define BB_LOADFONT
//#define BB_LOADKMAP
//#define BB_LOGGER
//#define BB_LOGNAME
#define BB_LS
//#define BB_LSMOD
//#define BB_MAKEDEVS
//#define BB_MD5SUM
#define BB_MKDIR
//#define BB_MKFIFO
//#define BB_MKFS_MINIX
#define BB_MKNOD
#define BB_MKSWAP
//#define BB_MKTEMP
//#define BB_NC
//#define BB_MORE
#define BB_MOUNT
//#define BB_MT
//#define BB_NSLOOKUP
#define BB_PING
//#define BB_POWEROFF
//#define BB_PRINTF
#define BB_PS
#define BB_PWD
//#define BB_RDATE
//#define BB_READLINK
#define BB_REBOOT
//#define BB_RENICE
//#define BB_RESET
#define BB_RM
#define BB_RMDIR
//#define BB_RMMOD
//#define BB_RPMUNPACK
//#define BB_SED
//#define BB_SETKEYCODES
#define BB_SH
//#define BB_SLEEP
//#define BB_SORT
#define BB_SWAPONOFF
#define BB_SYNC
#define BB_SYSLOGD
//#define BB_TAIL
//#define BB_TAR
//#define BB_TEE
#define BB_TEST
#define BB_TELNET
//#define BB_TOUCH
//#define BB_TR
#define BB_TRUE_FALSE
#define BB_TTY
//#define BB_UPTIME
//#define BB_USLEEP
//#define BB_WC
//#define BB_WGET
//#define BB_WHICH
//#define BB_WHOAMI
//#define BB_UUENCODE
//#define BB_UUDECODE
#define BB_UMOUNT
//#define BB_UNIQ
#define BB_UNAME
//#define BB_UNIX2DOS
//#define BB_UPDATE
//#define BB_XARGS
//#define BB_YES
// End of Applications List
>----------------------------------------------


I am running Linux kernel 2.2.18, glibc-2.1.3, gcc-2.95.2

Thomas Koeller






More information about the busybox mailing list