2006-12-19 16:22:55

by art

[permalink] [raw]
Subject: 2.6.20-rc1-git compilation error drivers/connector/connector.c:138: error: ?struct work_struct? has no member named ?management?

to: [email protected]
cc: [email protected]


2.6.20-rc1-git compilation error drivers/connector/connector.c:138:
error: ?struct work_struct? has no member named ?management?

$ date
Tue Dec 19 10:12:17 CST 2006
$ git pull
Already up-to-date.
$ make -j 8
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CHK include/linux/compile.h
CC drivers/connector/connector.o
drivers/connector/connector.c: In function ?cn_call_callback?:
drivers/connector/connector.c:138: error: ?struct work_struct? has no
member named ?management?
drivers/connector/connector.c:138: error: ?struct work_struct? has no
member named ?management?
make[2]: *** [drivers/connector/connector.o] Error 1
make[1]: *** [drivers/connector] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [drivers] Error 2
make: *** Waiting for unfinished jobs....


xboom


2006-12-19 20:02:00

by Alessandro Suardi

[permalink] [raw]
Subject: Re: 2.6.20-rc1-git compilation error drivers/connector/connector.c:138: error: ?struct work_struct? has no member named ?management?

On 12/19/06, [email protected] <[email protected]> wrote:
> to: [email protected]
> cc: [email protected]
>
>
> 2.6.20-rc1-git compilation error drivers/connector/connector.c:138:
> error: ?struct work_struct? has no member named ?management?
>
> $ date
> Tue Dec 19 10:12:17 CST 2006
> $ git pull
> Already up-to-date.
> $ make -j 8
> CHK include/linux/version.h
> CHK include/linux/utsrelease.h
> CHK include/linux/compile.h
> CC drivers/connector/connector.o
> drivers/connector/connector.c: In function ?cn_call_callback?:
> drivers/connector/connector.c:138: error: ?struct work_struct? has no
> member named ?management?
> drivers/connector/connector.c:138: error: ?struct work_struct? has no
> member named ?management?
> make[2]: *** [drivers/connector/connector.o] Error 1
> make[1]: *** [drivers/connector] Error 2
> make[1]: *** Waiting for unfinished jobs....
> make: *** [drivers] Error 2
> make: *** Waiting for unfinished jobs....

Already reported twice, and fixed by Al Viro's patch:

http://www.ussg.iu.edu/hypermail/linux/kernel/0612.2/0197.html

(though -rc1-git6 doesn't yet have the fix)

--alessandro

"...when I get it, I _get_ it"

(Lara Eidemiller)