LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 06-03-2007, 03:48 PM   #1
jimerickso
Member
 
Registered: Mar 2007
Location: ames, iowa
Distribution: gentoo
Posts: 74

Rep: Reputation: 15
linux-2.6.21.3 and ndiswrapper-1.45


the latest ndiswrapper (1.45) won't compile with the latest kernel (2.6.21.3). has anyone had any luck getting ndiswrapper to compile with the new kernel?? thank you for listening.
jim
 
Old 06-03-2007, 04:10 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
I have it in such configuration. Don't remember any problems. Please show your errors.
 
Old 06-04-2007, 07:59 PM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
I have an issue on my router (debian testing) with kernel 2.6.21.3 when compiling ndiswrapper. Although the same version compiles fine on my laptop (debian sid). I finally got the router up to date on apt-get update && apt-get dist-upgrade just a while ago. But I'm having trouble compiling ndiswrapper. My laptop is still six months behind in updates.

I get this terminal compile error:
Code:
/usr/src/wireless/ndiswrapper-1.46/driver/crt_exports.h:50: error: expected identifier or '(' before '/' token
make[3]: *** [/usr/src/wireless/ndiswrapper-1.46/driver/crt.o] Error 1
make[2]: *** [_module_/usr/src/wireless/ndiswrapper-1.46/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.21.3'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/src/wireless/ndiswrapper-1.46/driver'
make: *** [install] Error 2
I did apt-get install build-essential which wasn't installed, but that didn't help or fix it. I tried with gcc-4.0 and gcc-4.1 with the same end result. I've been using ndiswrapper on the machine in question since 0.10 so I'm not sure why it's an issue now.

The difference between the two is some path on line 50 in crt_exports.h. For struct wrap_export [/path/.../] crt_exports[] = { on line 50. The Makefile shows some $basename for that field.

Not that this is your issue. I have the same kernel and ndiswrapper running on my not updated laptop. So it's probably more of a compiler/configuration/versioning issue than an ndiswrapper issue. Besides you might want to be using ndiswrapper 1.46 as 1.45 has a pretty noticeable bug. My own issue might go away if I update again tomorrow.
 
Old 06-04-2007, 10:47 PM   #4
jimerickso
Member
 
Registered: Mar 2007
Location: ames, iowa
Distribution: gentoo
Posts: 74

Original Poster
Rep: Reputation: 15
well i got ndiswrapper to compile but know dhcpcd won't work with 2.6.21.3. it should be noted that it works fine with 2.6.19 on the same machine. maybe i should try 1.46. what is the bug in 1.45? thank you for listening.
 
Old 06-05-2007, 05:36 AM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
The bug is listed in the changelog for 1.46. It's the only change listed. It has to do with large file transfers and the interface becoming unuseable. Or in my case the speed at which the transfer takes place, more so than the size of the transfer. i.e. 10MB over 2 minutes and it crashes. 30MB over 2 hours and it's fine.
 
  


Reply



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
ndiswrapper v0.10 with arch linux jkh Programming 2 07-30-2013 03:04 AM
ndiswrapper-utils & ndiswrapper-modules cyclic dependency benoit808 Debian 4 02-19-2007 05:35 PM
ndiswrapper, ndiswrapper-utils, and Fedora Core 6 alkaholic Linux - Wireless Networking 1 02-03-2007 07:46 PM
first time using linux, ndiswrapper The Patbon Linux - Software 11 11-29-2004 08:15 PM
Help with ndiswrapper (i'm very new to linux) Peanutman Red Hat 5 10-28-2004 02:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 02:00 AM.

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
Open Source Consulting | Domain Registration