Results 1 to 10 of 10
When applying a pair of patches to my zd1211rw wireless driver, I get the following error when issuing make and make install commands:
make -C /lib/modules/2.6.31.5-127.fc12.i686/build M=/home/zach/Documents/compat-wireless-2010-10-05 modules
make: *** ...
- 10-07-2010 #1Just Joined!
- Join Date
- Feb 2008
- Posts
- 11
make: *** [modules] Error 2
When applying a pair of patches to my zd1211rw wireless driver, I get the following error when issuing make and make install commands:
make -C /lib/modules/2.6.31.5-127.fc12.i686/build M=/home/zach/Documents/compat-wireless-2010-10-05 modules
make: *** /lib/modules/2.6.31.5-127.fc12.i686/build: No such file or directory. Stop.
make: *** [modules] Error 2
and then when I go to the parent directory "/lib/modules/2.6.31.5-127.fc12.i686/" and ls -l, the "build" is flashing red. Not sure what is going on here, but it appears to be preventing make and make install from succeeding.
- 10-07-2010 #2
Try to install kernel-headers and kernel-devel, this should fix that problem.
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 10-07-2010 #3Just Joined!
- Join Date
- Feb 2008
- Posts
- 11
# yum install kernel-headers kernel-devel
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Package kernel-headers-2.6.32.21-168.fc12.i686 already installed and latest version
Package kernel-devel-2.6.32.21-168.fc12.i686 already installed and latest version
Nothing to do
2.6.32.21-168? That's different than the 2.6.31.5-127 in the module path that make is trying to use. Is this part of the problem?
- 10-07-2010 #4
Depends on the kernel version that you have, but it could be.
What do you get fromYou might want to do a yum update to insure that all of your headers match your kernel version, updates your gcc and make, as well.Code:uname -a
Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 10-07-2010 #5Just Joined!
- Join Date
- Feb 2008
- Posts
- 11
Yes, just ran a yum update. How do I check headers versions? uname -a returns 2.6.31.5-127.fc12.i686 .
- 10-07-2010 #6
That would be what you're running right now.
After a system update, do a reboot and run make for your patch.
Post back on how it goes.Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 10-07-2010 #7Just Joined!
- Join Date
- Feb 2008
- Posts
- 11
Hey hey! Thanks for the help. The reboot fixed it and right now the make is ticking off the files.
Nice Orin.
- 10-07-2010 #8Just Joined!
- Join Date
- Feb 2008
- Posts
- 11
Ok, make got a few minutes in and gave me this error instead:
error: ‘struct mmc_host’ has no member named ‘max_segs’
after
drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c: In function ‘SetupHIFScatterSupport’
- 10-08-2010 #9
Hi there... sorry about the delay!
I'm kinds stuck here for a minute, but I'll be searching for info.
Maybe someone else will pop in with better info in the meanwhile!
Gimme a bit...Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 10-08-2010 #10
MAy I ask why you are compiling this driver/patches anyway? It's been in the kernel since....kernel-2.6.18.
Does that not work for you?I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.


Reply With Quote