From: Sebastian Jackel <troggy@bu...> - 2004-02-02 18:34:55
I have a problem trying to compile any version of ndiswrapper newer than the 0.3 release. CVS version as well as 0.4 complain about the same thing:
root@... ndiswrapper # ./install.sh
Give the full path to .inf file of windows driver? ../bcmwl5.in
../bcmwl5.in is not a valid .inf file; try again
Give the full path to .inf file of windows driver? ../bcmwl5.inf
Give the full path to .sys file of the windows driver? (../bcmwl5.sys)
Executing make install to build the module and loadndisdriver.
make -C driver install
make: Entering directory `/usr/src/ndiswrapper/ndiswrapper/driver'
gcc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.22-gentoo-test-r1/build/include/linux/modversions.h -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.22-gentoo-test-r1/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:1156: variable `ndis_ethtool_ops' has initializer but incomplete type
wrapper.c:1157: unknown field `get_link' specified in initializer
wrapper.c:1157: warning: excess elements in struct initializer
wrapper.c:1157: warning: (near initialization for `ndis_ethtool_ops')
wrapper.c: In function `setup_dev':
wrapper.c:1671: structure has no member named `ethtool_ops'
wrapper.c: At top level:
wrapper.c:1156: storage size of `ndis_ethtool_ops' isn't known
make: *** [wrapper.o] Fehler 1
make: Leaving directory `/usr/src/ndiswrapper/ndiswrapper/driver'
make: *** [install] Fehler 2
root@... ndiswrapper #
I barely know what this means because I haven't learned any C yet (yeah I know, I should. When my exams are done, ok) but I'd like to upgrade to a newer version. Have watched this Mailinglist for several weeks but this problem hasn't come up so I think it might be worth posting.
I'm running Gentoo-Linux on Kernel 2.4.22; gcc 3.2.3; glibc 2.3.2 .
My WLAN-chipset is a Broadcom but I don't think, this is important for this.
I hope someone can help me but I've got the feeling, this might just be my own stupidity...