You are not logged in.
Hi all,
I need to rebuild the wl module after upgrading to kernel 2.6.32. When I compile the source code it gives an error saying I have to install kernel headers. The problem is that I dont have access wired internet so I have to download the kernel headers to another computer and move it to mine with a usb stick. Is there any way to find the kernel headers as a package and install it with the command pacman -u ?
Thanks in advance
Regards
Last edited by ramsesiitr (2010-03-07 22:38:39)
Offline
You need the kernel26-headers package.
Offline
Thank you tomk,
But as I said before, I dont have internet connection on the target computer. When I take a look at PKGBUILD file, I think it tries to connect to the internet and download the source files.(Please correct me if I am wrong) What should I do?
Offline
OK - I thought you had already decided you would get the package and pacman -U it, which is the right thing to do. As for getting, just go to your nearest Arch mirror and download it.
Offline
To get the download urls do:
pacman -Sp kernel26-headers
Offline
Hi again,
The problem is solved. First of all, I just realized that I opened the topic with wrong subject title. Sorry for that.
As I said before, I could only reach wireless internet, but in order to make the wireless work I had to compile wl module. But, after I performed the upgrade to kernel 2.6.32, I needed the kernel header in order to compile it. What I did was downloaded the kernel26-headers 2.6.32.9-1 package from here: http://repos.archlinux.org/wsvn/package … re-x86_64/ then I downloaded the kernel-2.6.32 and patch-2.6.32.9-1-Arch files as indicated in PKGBUILD file.
Then I place these two files same folder with PKGBUILD. I changed the source lines in PKGBUILD and ran
makepkg --asroot
pacman -U <created_package_name>
then I was able to compile the necessary module.
I am newbee for Archlinux. Hope I have done the right things so far.
Thanks
Offline
You got it working, so yes you have done some right things. You could have skipped the makepkg step by downloading the kernel26-headers package from any Arch mirror, as already suggested.... but as long as you're happy....
Offline