2012-02-27 21:39:30

by Wey-Yi Guy

[permalink] [raw]
Subject: wireless-testing fail compiling

build break in the latest wireless-testing

fs/autofs4/inode.c: In function ‘autofs4_fill_super’:
fs/autofs4/inode.c:228: error: implicit declaration of function
‘is_compat_task’
make[2]: *** [fs/autofs4/inode.o] Error 1
make[1]: *** [fs/autofs4] Error 2
make: *** [fs] Error 2


fs/autofs4/dev-ioctl.c: In function ‘autofs_dev_ioctl_setpipefd’:
fs/autofs4/dev-ioctl.c:388: error: implicit declaration of function
‘is_compat_task’
make[2]: *** [fs/autofs4/dev-ioctl.o] Error 1



Wey




2012-02-29 07:51:35

by Mohammed Shafi

[permalink] [raw]
Subject: Re: wireless-testing fail compiling

On Tue, Feb 28, 2012 at 4:59 AM, John W. Linville
<[email protected]> wrote:
> On Mon, Feb 27, 2012 at 12:28:19PM -0800, Guy, Wey-Yi wrote:
>> build break in the latest wireless-testing
>>
>> fs/autofs4/inode.c: In function ?autofs4_fill_super?:
>> fs/autofs4/inode.c:228: error: implicit declaration of function
>> ?is_compat_task?
>> make[2]: *** [fs/autofs4/inode.o] Error 1
>> make[1]: *** [fs/autofs4] Error 2
>> make: *** [fs] Error 2
>>
>>
>> fs/autofs4/dev-ioctl.c: In function ?autofs_dev_ioctl_setpipefd?:
>> fs/autofs4/dev-ioctl.c:388: error: implicit declaration of function
>> ?is_compat_task?
>> make[2]: *** [fs/autofs4/dev-ioctl.o] Error 1
>
> It looks like that line was added in commit
> a32744d4abae24572eff7269bc17895c41bd0085, which came into
> wireless-testing as part of 3.3-rc5.

John, i also got the same problem just trying the fix mentioned in
https://lkml.org/lkml/2012/2/25/103

--
thanks,
shafi

2012-02-27 23:31:57

by John W. Linville

[permalink] [raw]
Subject: Re: wireless-testing fail compiling

On Mon, Feb 27, 2012 at 12:28:19PM -0800, Guy, Wey-Yi wrote:
> build break in the latest wireless-testing
>
> fs/autofs4/inode.c: In function ‘autofs4_fill_super’:
> fs/autofs4/inode.c:228: error: implicit declaration of function
> ‘is_compat_task’
> make[2]: *** [fs/autofs4/inode.o] Error 1
> make[1]: *** [fs/autofs4] Error 2
> make: *** [fs] Error 2
>
>
> fs/autofs4/dev-ioctl.c: In function ‘autofs_dev_ioctl_setpipefd’:
> fs/autofs4/dev-ioctl.c:388: error: implicit declaration of function
> ‘is_compat_task’
> make[2]: *** [fs/autofs4/dev-ioctl.o] Error 1

It looks like that line was added in commit
a32744d4abae24572eff7269bc17895c41bd0085, which came into
wireless-testing as part of 3.3-rc5.

FWIW, it built for me. I'm using a config derived from what is in
Fedora 17. Maybe you should try a clean build?

John
--
John W. Linville Someday the world will need a hero, and you
[email protected] might be all we have. Be ready.

2012-02-29 16:21:51

by Randy Dunlap

[permalink] [raw]
Subject: Re: wireless-testing fail compiling

On 02/28/2012 11:51 PM, Mohammed Shafi wrote:

> On Tue, Feb 28, 2012 at 4:59 AM, John W. Linville
> <[email protected]> wrote:
>> On Mon, Feb 27, 2012 at 12:28:19PM -0800, Guy, Wey-Yi wrote:
>>> build break in the latest wireless-testing
>>>
>>> fs/autofs4/inode.c: In function ?autofs4_fill_super?:
>>> fs/autofs4/inode.c:228: error: implicit declaration of function
>>> ?is_compat_task?
>>> make[2]: *** [fs/autofs4/inode.o] Error 1
>>> make[1]: *** [fs/autofs4] Error 2
>>> make: *** [fs] Error 2
>>>
>>>
>>> fs/autofs4/dev-ioctl.c: In function ?autofs_dev_ioctl_setpipefd?:
>>> fs/autofs4/dev-ioctl.c:388: error: implicit declaration of function
>>> ?is_compat_task?
>>> make[2]: *** [fs/autofs4/dev-ioctl.o] Error 1
>>
>> It looks like that line was added in commit
>> a32744d4abae24572eff7269bc17895c41bd0085, which came into
>> wireless-testing as part of 3.3-rc5.
>
> John, i also got the same problem just trying the fix mentioned in
> https://lkml.org/lkml/2012/2/25/103


Huh? You got the same problem after trying Linus's patch?

or you got the same problem (it's in 3.3-rc5 baseline) so you are
trying Linus's patch (which works) ??

--
~Randy

2012-03-01 15:32:06

by John W. Linville

[permalink] [raw]
Subject: Re: wireless-testing fail compiling

On Thu, Mar 01, 2012 at 10:27:54AM +0530, Mohammed Shafi wrote:
> On Wed, Feb 29, 2012 at 9:51 PM, Randy Dunlap <[email protected]> wrote:
> Hi Randy,
>
> > Huh? ?You got the same problem after trying Linus's patch?
>
> no, with the Linus patch it worked, before that it did not.
>
> >
> > or you got the same problem (it's in 3.3-rc5 baseline) so you are
> > trying Linus's patch (which works) ??
>
> yes it works for me in my 32 bit x86 system.

I added the patch in question to wireless-testing yesterday, FWIW.

--
John W. Linville Someday the world will need a hero, and you
[email protected] might be all we have. Be ready.

2012-03-01 15:51:55

by Mohammed Shafi

[permalink] [raw]
Subject: Re: wireless-testing fail compiling

> I added the patch in question to wireless-testing yesterday, FWIW.

ok John, thanks.

>
> --
> John W. Linville ? ? ? ? ? ? ? ?Someday the world will need a hero, and you
> [email protected] ? ? ? ? ? ? ? ? ?might be all we have. ?Be ready.



--
thanks,
shafi

2012-03-01 04:57:54

by Mohammed Shafi

[permalink] [raw]
Subject: Re: wireless-testing fail compiling

On Wed, Feb 29, 2012 at 9:51 PM, Randy Dunlap <[email protected]> wrote:
Hi Randy,

> Huh? ?You got the same problem after trying Linus's patch?

no, with the Linus patch it worked, before that it did not.

>
> or you got the same problem (it's in 3.3-rc5 baseline) so you are
> trying Linus's patch (which works) ??

yes it works for me in my 32 bit x86 system.

>
> --
> ~Randy


--
thanks,
shafi