[klibc] klibc build trouble

maximilian attems max at stro.at
Sat Mar 13 15:54:23 PST 2010

as the next klibc release 1.5.16 looks like shaping up,
I have a trouble to build that for Debian.

currently I build depent on linux-libc-dev, I don't know what
against I can build latest klibc, see

klibc fails to build due too:
make -C linux/ ARCH=x86_64 INSTALL_HDR_PATH=debian/tmp/usr/lib/klibc/ headers_install
make[3]: *** No rule to make target `headers_install'.  Stop.
make[2]: *** [header] Error 2

linux is a hackish symlink:
	mkdir -p linux/include; \
	ln -s /usr/include/linux linux/include; \
	for x in /usr/include/asm*; do \
	ln -s $${x} linux/include; \
	done \

git clone git://git.kernel.org/pub/scm/libs/klibc/klibc.git
and for the debian/ dir (not yet merged in todays pile):
git clone git://git.debian.org/kernel/klibc.git

latest klibc git compiles fine without above symlink with
make KLIBCKERNELSRC=`pwd`/../linux-2.6

everything gets installed with
make KLIBCKERNELSRC=`pwd`/../linux-2.6 INSTALLROOT=debian/tmp/ install


More information about the klibc mailing list