LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   New to Linux--problem configuring ndiswrapper in Fedora 14. (https://www.linuxquestions.org/questions/linux-newbie-8/new-to-linux-problem-configuring-ndiswrapper-in-fedora-14-a-843658/)

werdnaonaps 11-11-2010 07:52 AM

New to Linux--problem configuring ndiswrapper in Fedora 14.
 
Hello! After successfully configuring a dual boot setup with fedora 14 and windows 7, I am proud to say with pride (Totally redundant, I know) that I can enjoy the sweet fruits which come from belonging to a community so diverse and dedicated. I plan on using fedora 14 as my primary partition, however, there is a slight problem.

Configuring my internet connection.

I successfully installed the gcc, kernel, kernel-headers, and kernel-devel packages from the install dvd. However I still encounter an error when attempting to compile ndiswrapper from source. Here's the output from the terminal:


make[2]: Entering directory `/usr/src/kernels/2.6.35.6-45.fc14.x86_64'
CC [M] /home/Andrew/Documents/ndiswrapper-1.56/driver/wrapndis.o
/home/Andrew/Documents/ndiswrapper-1.56/driver/wrapndis.c: In function ‘set_multicast_list’:
/home/Andrew/Documents/ndiswrapper-1.56/driver/wrapndis.c:953:13: error: ‘struct net_device’ has no member named ‘mc_count’
/home/Andrew/Documents/ndiswrapper-1.56/driver/wrapndis.c:956:20: error: ‘struct net_device’ has no member named ‘mc_count’
/home/Andrew/Documents/ndiswrapper-1.56/driver/wrapndis.c:960:10: error: ‘struct net_device’ has no member named ‘mc_count’
/home/Andrew/Documents/ndiswrapper-1.56/driver/wrapndis.c:960:10: warning: type defaults to ‘int’ in declaration of ‘_min2’
/home/Andrew/Documents/ndiswrapper-1.56/driver/wrapndis.c:960:10: error: ‘struct net_device’ has no member named ‘mc_count’
/home/Andrew/Documents/ndiswrapper-1.56/driver/wrapndis.c:967:19: error: ‘struct net_device’ has no member named ‘mc_list’
/home/Andrew/Documents/ndiswrapper-1.56/driver/wrapndis.c:968:50: error: dereferencing pointer to incomplete type
/home/Andrew/Documents/ndiswrapper-1.56/driver/wrapndis.c:969:14: error: dereferencing pointer to incomplete type
/home/Andrew/Documents/ndiswrapper-1.56/driver/wrapndis.c:971:37: error: dereferencing pointer to incomplete type
make[3]: *** [/home/Andrew/Documents/ndiswrapper-1.56/driver/wrapndis.o] Error 1
make[2]: *** [_module_/home/Andrew/Documents/ndiswrapper-1.56/driver] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.35.6-45.fc14.x86_64'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/Andrew/Documents/ndiswrapper-1.56/driver'
make: *** [all] Error 2
------------------------------------------------------------------------


I recently built this computer (the first computer I ever built myself) this summer. My wireless card is the D-Link DWA-552. As I am new to linux, I am not really sure how to correct the compiling error. I have done some pretty extensive searching, both in these forums and on google.

Well, eventually I came to the conclusion that if it isn't on google then it's probably not that common of an error. Please note that a yum install is not feasible since connecting to my router wirelessly is the only way I can connect to the internet. If there are any linux drivers online that I can use (There aren't any officially supported by DLink) please let me know.

I thank you for your help in advance.
-Andrew

werdnaonaps 11-11-2010 02:26 PM

I don't normally double post, but there have been over 70 views so far and no responses. I spent a long time trying to figure out the problem. I am using a desktop connecting to my wireless router downstairs, so it's not as if I can actually connect to an Ethernet cable. I'm sort of stuck until I can get my wireless card working.

Is there perhaps a problem with my kernel or something? I installed 3 kernel packages from the DVD. When I type in "make" in either madwifi or nsidwrapper, the process always starts fine, but it errors and exits out. Madwifi reports an error checking the kernel version. However, I already installed all Kernel packages in the cd! I'm not sure what I've done wrong!

SWGlassPit 11-22-2010 11:36 AM

The 2.6.35 kernel includes some API changes that break the ndiswrapper-1.56 build. The latest SVN trunk at the sourceforge site has incorporated patches that fix this problem.

XOR007 12-27-2010 09:37 AM

Quote:

Originally Posted by SWGlassPit (Post 4167228)
The 2.6.35 kernel includes some API changes that break the ndiswrapper-1.56 build. The latest SVN trunk at the sourceforge site has incorporated patches that fix this problem.

I have tested on fedora 14 64 bit and it compiles at least.

tasha302 03-02-2011 05:56 PM

Hey u need ndiswrapper r2728

jefro 03-02-2011 08:40 PM

http://fedoramobile.org/fc-wireless/ndis-yum-livna

Might consider madwifi also.


All times are GMT -5. The time now is 03:39 PM.