I've found a bug report about this [1]. Basically ndiswrapper 1.56 won't build against your current kernel version (I assume is 2.6.35 or greater, you could post the output of "uname -a"). That have been fixed a month ago, but the latest stable release downloadable from source forge is 1.56 and was released 9 months ago :(
You can try to build from trunk and hope that is stable enough to work for you. You should get the sources with this command:
svn co https://ndiswrapper.svn.sourceforge.net/svnroot/ndiswrapper/trunk/ndiswrapper ndiswrapper
Then go into ndiswrapper folder and build it with the steps you were performing.
[1] http://sourceforge.net/tracker/index.php?func=detail&aid=3034427&group_id=93482&atid=604450
Regards.
2010/11/21 Wossog <wossog@xxxxxxxxxxx>
Hi, I've tried to compile ndiswrapper-1.56 (tar.gz), but I receive
errors. I need help.
Thanks to everybody!
[Mikey@Notebook ndiswrapper-1.56]$ make
make -C driver
make[1]: Entering directory
`/home/Mikey/Downloads/ndiswrapper-1.56/driver'
make -C /usr/src/kernels/2.6.35.6-48.fc14.i686
M=/home/Mikey/Downloads/ndiswrapper-1.56/driver
make[2]: Entering directory `/usr/src/kernels/2.6.35.6-48.fc14.i686'
LD /home/Mikey/Downloads/ndiswrapper-1.56/driver/built-in.o
MKEXPORT /home/Mikey/Downloads/ndiswrapper-1.56/driver/crt_exports.h
MKEXPORT /home/Mikey/Downloads/ndiswrapper-1.56/driver/hal_exports.h
MKEXPORT /home/Mikey/Downloads/ndiswrapper-1.56/driver/ndis_exports.h
MKEXPORT /home/Mikey/Downloads/ndiswrapper-1.56/driver/ntoskernel_exports.h
MKEXPORT /home/Mikey/Downloads/ndiswrapper-1.56/driver/ntoskernel_io_exports.h
MKEXPORT /home/Mikey/Downloads/ndiswrapper-1.56/driver/rtl_exports.h
MKEXPORT /home/Mikey/Downloads/ndiswrapper-1.56/driver/usb_exports.h
CC [M] /home/Mikey/Downloads/ndiswrapper-1.56/driver/crt.o
CC [M] /home/Mikey/Downloads/ndiswrapper-1.56/driver/hal.o
CC [M] /home/Mikey/Downloads/ndiswrapper-1.56/driver/iw_ndis.o
CC [M] /home/Mikey/Downloads/ndiswrapper-1.56/driver/loader.o
CC [M] /home/Mikey/Downloads/ndiswrapper-1.56/driver/ndis.o
CC [M] /home/Mikey/Downloads/ndiswrapper-1.56/driver/ntoskernel.o
CC [M] /home/Mikey/Downloads/ndiswrapper-1.56/driver/ntoskernel_io.o
CC [M] /home/Mikey/Downloads/ndiswrapper-1.56/driver/pe_linker.o
CC [M] /home/Mikey/Downloads/ndiswrapper-1.56/driver/pnp.o
CC [M] /home/Mikey/Downloads/ndiswrapper-1.56/driver/proc.o
CC [M] /home/Mikey/Downloads/ndiswrapper-1.56/driver/rtl.o
CC [M] /home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapmem.o
CC [M] /home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.o
/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.c: In Funktion
»set_multicast_list«:
/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.c:953:13: Fehler:
»struct net_device« hat kein Element namens »mc_count«
/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.c:956:20: Fehler:
»struct net_device« hat kein Element namens »mc_count«
/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.c:960:10: Fehler:
»struct net_device« hat kein Element namens »mc_count«
/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.c:960:10:
Warnung: type defaults to »int« in declaration of »_min2«
/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.c:960:10: Fehler:
»struct net_device« hat kein Element namens »mc_count«
/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.c:967:19: Fehler:
»struct net_device« hat kein Element namens »mc_list«
/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.c:968:50: Fehler:
Dereferenzierung eines Zeigers auf unvollständigen Typen
/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.c:969:14: Fehler:
Dereferenzierung eines Zeigers auf unvollständigen Typen
/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.c:971:4: Fehler:
Dereferenzierung eines Zeigers auf unvollständigen Typen
make[3]: *** [/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.o]
Fehler 1
make[2]: *** [_module_/home/Mikey/Downloads/ndiswrapper-1.56/driver]
Fehler 2
make[2]: Leaving directory `/usr/src/kernels/2.6.35.6-48.fc14.i686'
make[1]: *** [modules] Fehler 2
make[1]: Leaving directory
`/home/Mikey/Downloads/ndiswrapper-1.56/driver'
make: *** [all] Fehler 2
[Mikey@Notebook ndiswrapper-1.56]$ su
Passwort:
[Mikey@Notebook ndiswrapper-1.56]$make install
make -C driver install
make[1]: Entering directory
`/home/Mikey/Downloads/ndiswrapper-1.56/driver'
make -C /usr/src/kernels/2.6.35.6-48.fc14.i686
M=/home/Mikey/Downloads/ndiswrapper-1.56/driver
make[2]: Entering directory `/usr/src/kernels/2.6.35.6-48.fc14.i686'
CC [M] /home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.o
/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.c: In Funktion
»set_multicast_list«:
/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.c:953:13: Fehler:
»struct net_device« hat kein Element namens »mc_count«
/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.c:956:20: Fehler:
»struct net_device« hat kein Element namens »mc_count«
/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.c:960:10: Fehler:
»struct net_device« hat kein Element namens »mc_count«
/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.c:960:10:
Warnung: type defaults to »int« in declaration of »_min2«
/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.c:960:10: Fehler:
»struct net_device« hat kein Element namens »mc_count«
/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.c:967:19: Fehler:
»struct net_device« hat kein Element namens »mc_list«
/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.c:968:50: Fehler:
Dereferenzierung eines Zeigers auf unvollständigen Typen
/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.c:969:14: Fehler:
Dereferenzierung eines Zeigers auf unvollständigen Typen
/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.c:971:4: Fehler:
Dereferenzierung eines Zeigers auf unvollständigen Typen
make[3]: *** [/home/Mikey/Downloads/ndiswrapper-1.56/driver/wrapndis.o]
Fehler 1
make[2]: *** [_module_/home/Mikey/Downloads/ndiswrapper-1.56/driver]
Fehler 2
make[2]: Leaving directory `/usr/src/kernels/2.6.35.6-48.fc14.i686'
make[1]: *** [modules] Fehler 2
make[1]: Leaving directory
`/home/Mikey/Downloads/ndiswrapper-1.56/driver'
make: *** [install] Fehler 2
_______________________________________________
laptop mailing list
laptop@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/laptop
--
Saludos,
Miguel Ángel Pérez
_______________________________________________ laptop mailing list laptop@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/laptop