[BusyBox] 0.60.5 + glibc5 linking error

Gad bugchong at tpg.com.au
Fri Apr 11 10:19:05 UTC 2003


Hi,

I'm trying to compile BusyBox 0.60.5, linking it to glibc5. I get
an error, which I can't find an explanation for anywhere (including google).

After a while of compiling I get:

	syslogd.c: In function `doSyslogd':
	syslogd.c:532: can't find a register in class `CREG' while 			reloading 
`asm'
	make: *** [syslogd.o] Error 1

This is _after_ I've edited the Makefile, uncommenting the following 
lines (I use Debian):
	LIBCDIR=/usr/i486-linuxlibc1
	#
	#For other libraries, you are on your own...
	LDFLAGS+=-nostdlib
	LIBRARIES = $(LIBCDIR)/lib/libc.a -lgcc
	CROSS_CFLAGS+=-nostdinc -I$(LIBCDIR)/include -I$(GCCINCDIR)
	GCCINCDIR = $(shell gcc -print-search-dirs | sed -ne "s/install: 
\(.*\)/\1include/gp")

I'm running Debian unstable (2.4.20), with the libc5-altdev package.

Any ideas?

Thanks,
Gad



More information about the busybox mailing list