2011-08-11 12:17:23

by Benny Halevy

[permalink] [raw]
Subject: Re: Unable to Compile Latest Kernel from Git

On 2011-08-10 22:05, Billy Hass wrote:
> On Wed, Aug 10, 2011 at 2:29 PM, Boaz Harrosh <[email protected]> =
wrote:
>> On 08/10/2011 11:11 AM, Bryan Schumaker wrote:
>>> On 08/10/2011 01:29 PM, Billy Hass wrote:
>>>> [root@pdsi8 linux-pnfs]# make modules && make modules_install && m=
ake install
>>>> CHK include/linux/version.h
>>>> CHK include/generated/utsrelease.h
>>>> CALL scripts/checksyscalls.sh
>>>> CC [M] fs/xfs/linux-2.6/xfs_iops.o
>>>> fs/xfs/linux-2.6/xfs_iops.c: In function =91_xfs_vn_fallocate=92:
>>>> fs/xfs/linux-2.6/xfs_iops.c:1070:3: error: implicit declaration of
>>>> function =91xfs_setattr=92 [-Werror=3Dimplicit-function-declaratio=
n]
>>>> cc1: some warnings being treated as errors
>>>> make[2]: *** [fs/xfs/linux-2.6/xfs_iops.o] Error 1
>>>> make[1]: *** [fs/xfs] Error 2
>>>> make: *** [fs] Error 2
>>>
>>> This looks like an XFS problem now... did you see if any of the NFS=
code compiled this time?
>>>
>>> I've had these issues before, and it's usually caused by something =
in my .config. Generating a new one usually fixes it for me.
>>>
>>> - Bryan
>>>
>>
>> Please try v3.1-rc1 (git checkout v3.1-rc1) if it persists I'm sure =
the xfs guys
>> would like to fix it.
>>
>> Send this report with an attached .config file to:
>> linux-fsdevel <[email protected]>
>>
>> Thanks
>> Boaz
>>
>=20
> I tried v3.1-rc1 and it compiled successfully.
>=20
> Thanks for the help.
> --

The problem was a bad merge/rebase on my side.
Should be fixed now.

Thanks for reporting!

Benny