Compiling wireless compat for kernel 2.6.38-9
Hi guys!
I have been trying to compile the latest version of wireless compat (2011-05-05) listed here http://wireless.kernel.org/download/...-wireless-2.6/ With the kernel shipped with Ubuntu Natty ( 2.6.38-9-generic ). I also applied the patches needed for WEP cracking wl_frag+ack_v1.patch nel-negative-one-maxim.patch The problem is, the compliation process always return error, I tried going back with gcc 4.4 (as ubuntu 11.04 uses 4.5), it complies about some functions not declared. Here is the error: Code:
CC [M] /home/saeioul/compat-wireless-2011-05-04/net/mac80211/agg-tx.o Any help will be appreciated, thanks in advance |
Hello,
See here regarding this issue: http://comments.gmane.org/gmane.linu....general/69332 Cheers, Josh |
I will give it a shot later, thanks!
|
Quote:
Josh |
Patch didn't work
Hi!
I tried to apply the patch listed in your post, but it refuses to work. It gives me this error Code:
saeioul@saeioul-natty:~/compat-wireless-2011-05-05$ patch -p1 < tip-core-rcu-71-86-net-rcu-convert-call_rcu-kfree_tid_tx-to-kfree_rcu.patch |
Patch is ... ignored?
Hi, I also tried to patch against a version dated before may (the date of the patch), but unlike the other patches applied, this one does not list the offset or the lines that changed. Of course, it does not compile.
Any direction you can point to check for another patch maybe? Thanks!! |
Hello,
Have you tried an older version? I know the version I have listed in my blog worked without a hitch for me, and I used it for compiling many drivers for different chipsets. I would definitely try that before you go trying to apply a different version of a patch, and/or just a different patch in general. Edit - Or, you can do what I did and modify the file manually and insert the changes by hand. The file might be a bit different, and that might be why it is giving you problems. |
Perhaps the dates are correct ...
Quote:
I have read the information, and seems correct, because the date is May the 5th, the same date on the wireless compat package. I'm starting to think that maybe I'm not applying correctly the patch. I have always patched like this: Code:
patch -p1 < diff_file.patch |
Choosing a version
Quote:
Best regards! |
To be completely honest with you, I normally look at the original file and hand edit like I said before. Could you post both the original file and the patch file? I can take a look to see if there is any compatibility issues, and even patch it for you and test it.
|
Attachments
2 Attachment(s)
Quote:
Okay, here we go. It would be great if you can tell me how to read those patch files so I can do this in the future. The only thing I get is that the diff file has the offset in which the changes go. The attachments are in .txt , as .c and .patch are not accepted. |
1 Attachment(s)
Quote:
Sorry for the inconvenience |
As I look through the files right now as I type, the way I do is open both the patch file and original file in two separate terminals, and I swithc between them, looking at the patch file and navigating to the lines identified in the file. From there, I just match the text that correlates with the correct position, and then I copy and paste. I hope that makes sense to you, I'm a horrible explainer :p
|
Check this out
Perhaps the patch you gave is already applied in the 2011-05-05 version I'm using.
http://www.spinics.net/lists/linux-w.../msg69073.html The discussion stops where someone reverted the patch, I will try that, will tell later if works. |
Haha, you beat me to it. The patch IS already applied. Maybe try reverting back to a previous version and go from there? It might be a compatibility issue, since compat-wireless is built around compatibility itself.
|
All times are GMT -5. The time now is 02:16 AM. |