[klibc] To build klibc against kernel 3.4.3

Cao, Da-Shi (EG-Presales-ZTE/HW-GZ) thomas-ds.cao at hp.com
Wed Jun 27 03:40:49 PDT 2012

It seems that a minor modification to usr/klibc/arch/$(ARCH)/MCONFIG is needed to build klibc successfully against kernel version 3.4.3. At lease the arch "arm" and "x86_64" have this issue. It is because that some include files are under "generated/asm/" in addition to "asm/".

--- a/usr/klibc/arch/x86_64/MCONFIG
+++ b/usr/klibc/arch/x86_64/MCONFIG
@@ -36,4 +36,4 @@ KLIBCLDFLAGS      = -m elf_x86_64
KLIBCSHAREDFLAGS     = -Ttext 0x00200200 -z max-page-size=0x100000

# Asm includes for x86_64 are in the merged x86 tree
+KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/x86/include -I$(KLIBCKERNELOBJ)/arch/x86/include/generated
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.zytor.com/pipermail/klibc/attachments/20120627/cdb4c349/attachment.html>

More information about the klibc mailing list