[klibc] To build klibc against kernel 3.4.3

Cao, Da-Shi (EG-Presales-ZTE/HW-GZ) thomas-ds.cao at hp.com
Thu Jun 28 17:51:22 PDT 2012

Anyway I've tried both, exported header or in source header, on two archs, arm and x86_64. It works in both ways on both archs.
But I think going via the exported header is more preferable, since the exported headers have to be built for other things!
I used to build using in source headers because old versions are documented in such a way. The first reaction to build error is to pick up the latest version and begin the built in the old way!


-----Original Message-----
From: maximilian attems [mailto:max at stro.at] 
Sent: Thursday, June 28, 2012 23:19
To: Cao, Da-Shi (EG-Presales-ZTE/HW-GZ)
Cc: Thorsten Glaser; klibc at zytor.com
Subject: Re: [klibc] To build klibc against kernel 3.4.3

please do not top post.

On Wed, Jun 27, 2012 at 11:22:52AM +0000, Cao, Da-Shi (EG-Presales-ZTE/HW-GZ) wrote:
> I have just complete a built by applying this minor modification. Maybe you can have a try. My klibc version is klibc-2.0.
> It can be built, but I'm not sure if it will bring in some other issues into klibc! 

your patch is wrong inded, as already pointed out.

> I have had the idea to build against the exported headers, but I hesitated
> and tried to have deeper look into it instead.

Indeed that is the way to go, just look at the easy example on
the last line of `make help' in klibc.
One has just to run `make headers_install` on the linux src side.



More information about the klibc mailing list