[BusyBox] Problem compiling bb_unstable and fix
Tito
farmatito at tiscali.it
Wed Jul 9 22:34:02 UTC 2003
Hi,
I'm trying to compile bb_unstable with the following options enabled:
# Login/Password Management Utilities
#
CONFIG_USE_BB_PWD_GRP=y
CONFIG_ADDGROUP=y
CONFIG_DELGROUP=y
CONFIG_ADDUSER=y
# CONFIG_DELUSER is not set
# CONFIG_GETTY is not set
# CONFIG_LOGIN is not set
# CONFIG_PASSWD is not set
CONFIG_SU=y
# CONFIG_SULOGIN is not set
# CONFIG_VLOCK is not set
but something goes wrong and I get this error:
./loginutils/loginutils.a ./shell/shell.a ./sysklogd/sysklogd.a ./util-linux/util-linux.a ./libbb/libbb.a ./libpwdgrp/libpwdgrp.a ./coreutils/libcoreutils/libcoreutils.a -lcrypt
./applets/applets.a(applets.o)(.rodata+0xb8): undefined reference to `delgroup_main'
collect2: ld returned 1 exit status
make: *** [busybox] Error 1
So it seems to be impossible to compile delgroup without deluser.
This patch fix the problem.
Ciao,
Tito
--- loginutils/Makefile.in 2002-07-19 00:05:46.000000000 +0000
+++ loginutils/Makefile.in 2003-07-09 22:29:52.000000000 +0000
@@ -26,6 +26,7 @@
LOGINUTILS-$(CONFIG_ADDGROUP) += addgroup.o
LOGINUTILS-$(CONFIG_ADDUSER) += adduser.o
LOGINUTILS-$(CONFIG_DELUSER) += deluser.o
+LOGINUTILS-$(CONFIG_DELGROUP) += deluser.o
LOGINUTILS-$(CONFIG_GETTY) += getty.o
LOGINUTILS-$(CONFIG_LOGIN) += login.o
LOGINUTILS-$(CONFIG_PASSWD) += passwd.o
More information about the busybox
mailing list