LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-11-2010, 08:52 AM   #1
werdnaonaps
LQ Newbie
 
Registered: Nov 2010
Posts: 8

Rep: Reputation: 0
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
 
Old 11-11-2010, 03:26 PM   #2
werdnaonaps
LQ Newbie
 
Registered: Nov 2010
Posts: 8

Original Poster
Rep: Reputation: 0
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!
 
Old 11-22-2010, 12:36 PM   #3
SWGlassPit
LQ Newbie
 
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
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.
 
Old 12-27-2010, 10:37 AM   #4
XOR007
Member
 
Registered: May 2005
Location: Africa
Distribution: Ubuntu, Redhat 6.2 to 9, Centos 4, Suse 8 Ent.,Suse 9 Ent.
Posts: 51

Rep: Reputation: 15
Quote:
Originally Posted by SWGlassPit View Post
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.
 
Old 03-02-2011, 06:56 PM   #5
tasha302
LQ Newbie
 
Registered: Mar 2011
Posts: 1

Rep: Reputation: 0
Hey u need ndiswrapper r2728
 
Old 03-02-2011, 09:40 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

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

Might consider madwifi also.

Last edited by jefro; 03-02-2011 at 09:42 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem configuring wireless with ndiswrapper RVDowning Mandriva 7 05-02-2006 08:10 AM
Ndiswrapper Installation Problem with Fedora 5 cybercullen Linux - Wireless Networking 21 03-31-2006 09:28 AM
NDISWRAPPER problem with Fedora 5 like cybercullen dlennon Linux - Wireless Networking 17 03-30-2006 01:37 PM
Problem when configuring NDISWRAPPER p3980 Slackware 4 12-24-2005 05:17 PM


All times are GMT -5. The time now is 04:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration