Re: compiling error: WARNING: "mii_nway_restart" [drivers/usb/net/usbnet.ko] undefined!

From: Adrian Bunk
Date: Mon Oct 30 2006 - 10:36:01 EST


On Mon, Oct 30, 2006 at 08:10:23AM +0100, Giacomo Catenazzi wrote:

> Since the git of yesterday (2.6.19-rc3-g7a20655b, but with changed
> config), I have this error:
>
> Kernel: arch/i386/boot/bzImage is ready (#114)
> Building modules, stage 2.
> MODPOST 98 modules
> WARNING: "mii_nway_restart" [drivers/usb/net/usbnet.ko] undefined!
> WARNING: "mii_link_ok" [drivers/usb/net/usbnet.ko] undefined!
> WARNING: "mii_ethtool_sset" [drivers/usb/net/usbnet.ko] undefined!
> WARNING: "mii_ethtool_gset" [drivers/usb/net/usbnet.ko] undefined!
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2

Thanks for your report.

That's a known bug that will be fixed soon.

As a workaround, please enable CONFIG_MII.

> ciao
> cate

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/