[klibc] Build problems: klibc with Linux 3.10.7

leroy christophe christophe.leroy at c-s.fr
Wed Aug 21 08:36:16 PDT 2013


Le 21/08/2013 17:15, maximilian attems a écrit :
> 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.
>
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




More information about the klibc mailing list