[klibc] Build problems: klibc with Linux 3.10.7

leroy christophe christophe.leroy at c-s.fr
Wed Aug 21 22:43:44 PDT 2013


Le 21/08/2013 18:48, maximilian attems a écrit :
> On Wed, Aug 21, 2013 at 06:03:41PM +0200, leroy christophe wrote:
> <snipp stuff>
>>>>>> 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.
>>>>
>>> Yes, step A is done.
>>> But the Makefile in src/linux/usr doesn't contain any target
>>> `headers_install' so the below command with -C to src/linux/usr
>>> fails:
>>>
>>> make -C /root/gen/trunk/knl/linux/usr/ ARCH=ppc
>>> INSTALL_HDR_PATH=/tmp/klibc-install/lib/klibc/ headers_install
>>> make[2]: *** No rule to make target `headers_install'.  Stop.
>>> make[1]: *** [header] Error 2
>>>
>> Note that step B is working well.
>> It is step C, the 'make install', which fails.
> right, it is the toplevel Makefile one needs to poke for the target.
>
> how about belows diff, and changing step a) too
> make  KLIBCKERNELSRC=`pwd`/../linux/
>
> now, the right Makefile should be called on the install step c.
>
Yes it works
Thanks.


More information about the klibc mailing list