[BusyBox] linking error about ap_signal

Nan Zeng znxmu at yahoo.com.cn
Tue Jul 20 15:09:32 UTC 2004


I'm compiling busybox 1.0 pre9, and when it came to the linking stage, 
I got the error as below,

***********************************
	gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) /usr/lib/gcc-lib/i386-
	redhat-linux/3.2.2/collect2 -m elf_i386 -static -o busybox -s /usr/lib/gcc-
	lib/i386-redhat-linux/3.2.2/../../../crt1.o /usr/lib/gcc-lib/i386-redhat-
	linux/3.2.2/../../../crti.o /usr/lib/gcc-lib/i386-redhat-
	linux/3.2.2/crtbeginT.o -L/usr/lib/gcc-lib/i386-redhat-linux/3.2.2 -
	L/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../.. -warn-common --start-
	group ./applets/applets.a ./archival/archival.a ./archival/libunarchive/libuna
	rchive.a ./coreutils/coreutils.a ./console-tools/console-
	tools.a ./debianutils/debianutils.a ./editors/editors.a ./findutils/findutils.
	a ./init/init.a ./miscutils/miscutils.a ./modutils/modutils.a ./networking/net
	working.a ./networking/libiproute/libiproute.a ./networking/udhcp/udhcp.a ./pr
	ocps/procps.a ./loginutils/loginutils.a ./shell/shell.a ./sysklogd/sysklogd.a 
	./util-linux/util-
	linux.a ./libpwdgrp/libpwdgrp.a ./coreutils/libcoreutils/libcoreutils.a ./libb
	b/libbb.a --end-group -lgcc -lgcc_eh -lc -lgcc -lgcc_eh /usr/lib/gcc-lib/i386-
	redhat-linux/3.2.2/crtend.o /usr/lib/gcc-lib/i386-redhat-
	linux/3.2.2/../../../crtn.o 
	./shell/shell.a(ash.o)(.text+0x7c4): In function `onint':
	: undefined reference to `ap_signal' 
	./shell/shell.a(ash.o)(.text+0x53b6): In function `ash_main': 
	: undefined reference to `ap_signal' 
	./shell/shell.a(ash.o)(.text+0x8563): In function `ignoresig': 
	: undefined reference to `ap_signal' 
	./shell/shell.a(ash.o)(.text+0x9a34): In function `openhere': 
	: undefined reference to `ap_signal' 
	./shell/shell.a(ash.o)(.text+0x9a3d): In function `openhere': 
	: undefined reference to `ap_signal' 
	./shell/shell.a(ash.o)(.text+0x9a46): more undefined references to 
	`ap_signal' 
	follow collect2: ld returned 1 exit status 
	make[2]: *** [busybox] Error 1 
	make[2]: Leaving directory `/hake/WPC/rds-
	c/source_code/rds_soft/application/busybox' 
	make[1]: *** [all] Error 2 
	make[1]: Leaving directory `/hake/WPC/rds-c/source_code/rds_soft/application' 
	make: *** [app_only] Error 2
***********************************

It never happened before, and I don't know what's wrong with it.
I need help.




More information about the busybox mailing list