[klibc] Build problems: klibc with Linux 3.10.7

maximilian attems maks at stro.at
Wed Aug 21 08:15:31 PDT 2013


On Wed, Aug 21, 2013 at 01:39:50PM +0200, leroy christophe wrote:
> 
> Le 21/08/2013 12:20, maximilian attems a écrit :
> >On Tue, Aug 20, 2013 at 07:44:39AM +0200, leroy christophe wrote:
> >>Find attached two patches I have in order to build klibc 2.0.2
> >>against kernel 3.8.13
> >>We had to introduce those patches when going from kernel 3.6 to kernel 3.7
> >>Hope it helps.
> >>
> >those patches are wrong and again very brittle.
> >
> >just use the way it is described in `make help':
> >
> >A) cd ~/src/linux
> >    make defconfig
> >    make headers_install
> >
> >B) cd ~/src/klibc
> >    make  KLIBCKERNELSRC=`pwd`/../linux/usr/
> >
> >
> Sorry, but without my patchs, 'make install' fails with the
> following message (complete messages file attached)
> 
> # make install V=1 KLIBCARCH=ppc CROSS_COMPILE=ppc-linux-
> KLIBCKERNELSRC=/root/gen/trunk/knl/linux/usr/
> prefix=/tmp/klibc-install

have you done step A previously?
It seems you are not compiling against the preconfigured linux headers
otherwise the headers_install wouldn't fail.

-- 
maks


More information about the klibc mailing list