Hi, From the Makefile I figured that to build klibc where the kernel was built with O=/someotherdir, you need to do: make KLIBCKERNELOBJ=/someotherdir KBUILD_SRC=1 Everything seems fine though, but it fails to link dash with: ----- KLIBCCC dash/bltin/printf.o KLIBCCC dash/system.o KLIBCCC dash/bltin/test.o KLIBCCC dash/bltin/times.o KLIBCCC dash/var.o GEN dash/init.c KLIBCCC dash/init.o KLIBCLD dash/sh KLIBCLD dash/sh.shared dash/builtins.o:(.rodata+0x68): undefined reference to `bgcmd' dash/builtins.o:(.rodata+0x188): undefined reference to `histcmd' dash/builtins.o:(.rodata+0x1a0): undefined reference to `fgcmd' make[2]: *** [dash/sh.shared] Error 1 make[2]: *** Waiting for unfinished jobs.... dash/builtins.o:(.rodata+0x68): undefined reference to `bgcmd' dash/builtins.o:(.rodata+0x188): undefined reference to `histcmd' dash/builtins.o:(.rodata+0x1a0): undefined reference to `fgcmd' make[2]: *** [dash/sh] Error 1 make[1]: *** [all] Error 2 make: *** [klibc] Error 2 ----- Thanks, -- Martin Schlemmer -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://www.zytor.com/pipermail/klibc/attachments/20060209/7b4ff04a/attachment.bin