Re: [Ndiswrapper-general] Compile Error
Status: Beta
Brought to you by:
pgiri
From: Pontus F. <pon...@ta...> - 2004-02-23 13:10:57
|
On Mon, 2004-02-23 at 02:28, Aktaion wrote: > Hi! > > > I always get this error message: > > [...] > cc -DTEST_PM -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.21-166-default/build/include/linux/modversions.h -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.21-166-default/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c -o wrapper.o wrapper.c > wrapper.c:1126: error: variable `ndis_ethtool_ops' has initializer but incomplete type > wrapper.c:1127: error: unknown field `get_link' specified in initializer > wrapper.c:1127: warning: excess elements in struct initializer > wrapper.c:1127: warning: (near initialization for `ndis_ethtool_ops') > wrapper.c: In function `setup_dev': > wrapper.c:1613: error: structure has no member named `ethtool_ops' > /lib/modules/2.4.21-166-default/build/include/asm/string.h: At top level: > wrapper.c:1126: error: storage size of `ndis_ethtool_ops' isn't known > make[1]: *** [wrapper.o] Error 1 > make[1]: Leaving directory `/tmp/INSTALL/ndiswrapper/driver' > make: *** [install] Error 2 Your kernel is too old. You can fix this by running a newer kernel or using the CVS version of ndiswrapper. Pontus |