2005-02-27 17:21:51

by Alexey Dobriyan

[permalink] [raw]
Subject: Build failure of drivers/usb/gadget/ether.c

FYI, allyesconfig on sparc gives:

CC drivers/usb/gadget/ether.o
drivers/usb/gadget/ether.c: In function `eth_bind':
drivers/usb/gadget/ether.c:2418: error: `control_intf' undeclared (first use in this function)
drivers/usb/gadget/ether.c:2418: error: (Each undeclared identifier is reported only once
drivers/usb/gadget/ether.c:2418: error: for each function it appears in.)
make[3]: *** [drivers/usb/gadget/ether.o] Error 1

Alexey


2005-02-27 17:59:39

by Alexey Dobriyan

[permalink] [raw]
Subject: Re: Build failure of drivers/usb/gadget/ether.c

On Sunday 27 February 2005 19:37, Adrian Bunk wrote:
> On Sun, Feb 27, 2005 at 08:21:54PM +0200, Alexey Dobriyan wrote:
>
> > FYI, allyesconfig on sparc gives:
> >
> > CC drivers/usb/gadget/ether.o
> > drivers/usb/gadget/ether.c: In function `eth_bind':
> > drivers/usb/gadget/ether.c:2418: error: `control_intf' undeclared (first use in this function)
> > drivers/usb/gadget/ether.c:2418: error: (Each undeclared identifier is reported only once
> > drivers/usb/gadget/ether.c:2418: error: for each function it appears in.)
> > make[3]: *** [drivers/usb/gadget/ether.o] Error 1
>
> You didn't mention which kernel version you are using and didn't send
> your .config .
>
> But this looks like an issue already fixed in Greg's tree.
> Can you confirm it's fixed in 2.6.11-rc4-mm1?

Indeed fixed.

Alexey

2005-02-27 18:02:27

by Alexey Dobriyan

[permalink] [raw]
Subject: Re: Build failure of drivers/usb/gadget/ether.c

On Sunday 27 February 2005 20:21, Alexey Dobriyan wrote:
> FYI, allyesconfig on sparc gives:
>
> CC drivers/usb/gadget/ether.o
> drivers/usb/gadget/ether.c: In function `eth_bind':
> drivers/usb/gadget/ether.c:2418: error: `control_intf' undeclared (first use in this function)
> drivers/usb/gadget/ether.c:2418: error: (Each undeclared identifier is reported only once
> drivers/usb/gadget/ether.c:2418: error: for each function it appears in.)

Seen on 2.6.11-rc5.

Alexey

2005-02-27 18:02:28

by Adrian Bunk

[permalink] [raw]
Subject: Re: Build failure of drivers/usb/gadget/ether.c

On Sun, Feb 27, 2005 at 08:21:54PM +0200, Alexey Dobriyan wrote:

> FYI, allyesconfig on sparc gives:
>
> CC drivers/usb/gadget/ether.o
> drivers/usb/gadget/ether.c: In function `eth_bind':
> drivers/usb/gadget/ether.c:2418: error: `control_intf' undeclared (first use in this function)
> drivers/usb/gadget/ether.c:2418: error: (Each undeclared identifier is reported only once
> drivers/usb/gadget/ether.c:2418: error: for each function it appears in.)
> make[3]: *** [drivers/usb/gadget/ether.o] Error 1

You didn't mention which kernel version you are using and didn't send
your .config .

But this looks like an issue already fixed in Greg's tree.
Can you confirm it's fixed in 2.6.11-rc4-mm1?

> Alexey

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed