You are not logged in.
So I'm trying to build and install broadcom-wl from the AUR but:
$ makepkg -s
==> Making package: broadcom-wl 6.3.223.141-3 (Thu Oct 17 11:40:21 EDT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found hybrid-v35_64-nodebug-pcoem-6_30_223_141.tar.gz
-> Found modprobe.d
-> Found license.patch
-> Found linux-recent.patch
==> Validating source files with sha1sums...
hybrid-v35_64-nodebug-pcoem-6_30_223_141.tar.gz ... Passed
modprobe.d ... Passed
license.patch ... Passed
linux-recent.patch ... Passed
==> Extracting source...
-> Extracting hybrid-v35_64-nodebug-pcoem-6_30_223_141.tar.gz with bsdtar
==> Starting prepare()...
patching file src/wl/sys/wl_linux.c
patching file src/wl/sys/wl_linux.c
==> Removing existing pkg/ directory...
==> Starting build()...
make: *** /usr/lib/modules/3.11.4-1-ARCH/build: No such file or directory. Stop.
==> ERROR: A failure occurred in build().
Aborting...So I was wondering what exactly is /usr/lib/modules/3.11.4-1-ARCH/build, why isn't it there, and how can I get it? Does the problem lie elsewhere?
Last edited by GGG (2013-10-17 15:53:35)
Offline
Is your system up to date? Did you reboot after updating your kernel?
Offline
You're missing the kernel headers.
**EDIT**
I guess that only makes sense after what karol wrote.
Last edited by skottish (2013-10-17 16:06:33)
Offline
You're missing the kernel headers.
linux-headers is an explicit makedependency, so he has it installed.
Last edited by karol (2013-10-17 16:09:43)
Offline
I installed Arch last week so I'm hoping it's up to date. And I don't actually know exactly what kernel headers are, so where do I get them?
Edit: Okay uh, not entirely sure if this is right, but pacman -Q linux-headers yields linux-headers 3.11.5-1, so should that be 3.11.4-1?
Last edited by GGG (2013-10-17 16:12:31)
Offline
GGG, please re-read all the basics on Arch. There's the wiki, the online package database etc.
Always update your system before installing new software. Arch moves fast and there are updates available every day.
Offline
skottish wrote:You're missing the kernel headers.
linux-headers is an explicit makedependency, so he has it installed.
Whoops. Didn't look.
I installed Arch last week so I'm hoping it's up to date. And I don't actually know exactly what kernel headers are, so where do I get them?
As karol said, linux-headers. You shouldn't still be on the 3.11.4 kernel with an up to date system. It is possible that there are left over directories from other module installations and that will cause build problems.
Last edited by skottish (2013-10-17 16:13:29)
Offline
GGG, I already told you what you should do: https://bbs.archlinux.org/viewtopic.php … 8#p1338468
In your second post it's clear that you have some misconceptions about Arch, so please do some reading.
As for broadcom-wl, I think all you need to do is
1. Update your system.
2. If the kernel was one of the updated packages, reboot your computer.
3. Try installing broadcom-wl again.
Edit:
If the output of 'uname -r' and 'pacman -Q linux' don't match, reboot your computer.
$ uname -r
3.11.5-1-ARCH
$ pacman -Q linux
linux 3.11.5-1They match on my system, so I'm fine.
Last edited by karol (2013-10-17 16:29:03)
Offline
Ran pacman -Syu. Now it gives a similar error, except make is looking in /usr/lib/modules/3.11.5-1-ARCH instead of 3.11.4-1-ARCH. I suppose that means I updated incorrectly or incomprehensively?
Offline
Did you reboot after the update?
What's the output of
pacman -Qo /usr/lib/modules/3.11.5-1-ARCHOffline
I did, a couple times.
$ pacman -Qo /usr/lib/modules/3.11.5-1-ARCH
/usr/lib/modules/3.11.5-1-ARCH is owned by linux 3.11.5-1
/usr/lib/modules/3.11.5-1-ARCH is owned by linux-headers 3.11.5-1Offline
The first lines in your build say:
$ makepkg -s
==> Making package: broadcom-wl 6.3.223.141-3 (Thu Oct 17 11:40:21 EDT 2013)Not sure why it says '6.3.223.141-3', not '6.30.223.141-3'.
Works on my 32-bit Arch:
$ makepkg -si
==> Making package: broadcom-wl 6.30.223.141-3 (Thu Oct 17 19:05:15 CEST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading hybrid-v35-nodebug-pcoem-6_30_223_141.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1695k 100 1695k 0 0 374k 0 0:00:04 0:00:04 --:--:-- 416k
-> Found modprobe.d
-> Found license.patch
-> Found linux-recent.patch
==> Validating source files with sha1sums...
hybrid-v35-nodebug-pcoem-6_30_223_141.tar.gz ... Passed
modprobe.d ... Passed
license.patch ... Passed
linux-recent.patch ... Passed
==> Extracting sources...
-> Extracting hybrid-v35-nodebug-pcoem-6_30_223_141.tar.gz with bsdtar
==> Starting prepare()...
patching file src/wl/sys/wl_linux.c
patching file src/wl/sys/wl_linux.c
==> Starting build()...
make: Entering directory '/usr/src/linux-3.11.5-1-ARCH'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
LD /home/karol/apps/broadcom-wl/src/built-in.o
CC [M] /home/karol/apps/broadcom-wl/src/src/shared/linux_osl.o
CC [M] /home/karol/apps/broadcom-wl/src/src/wl/sys/wl_linux.o
CC [M] /home/karol/apps/broadcom-wl/src/src/wl/sys/wl_iw.o
CC [M] /home/karol/apps/broadcom-wl/src/src/wl/sys/wl_cfg80211_hybrid.o
LD [M] /home/karol/apps/broadcom-wl/src/wl.o
Building modules, stage 2.
CFG80211 API is prefered for this kernel version
Using CFG80211 API
MODPOST 1 modules
CC /home/karol/apps/broadcom-wl/src/wl.mod.o
LD [M] /home/karol/apps/broadcom-wl/src/wl.ko
make: Leaving directory '/usr/src/linux-3.11.5-1-ARCH'
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package "broadcom-wl"...
-> Generating .PKGINFO file...
-> Adding install file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: broadcom-wl 6.30.223.141-3 (Thu Oct 17 19:05:49 CEST 2013)
==> Installing package broadcom-wl with pacman -U...
loading packages...
resolving dependencies...
looking for inter-conflicts...
Packages (1):
Name New Version Net Change
broadcom-wl 6.30.223.141-3 1.62 MiB
Total Installed Size: 1.62 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [########################################################] 100%
(1/1) checking package integrity [########################################################] 100%
(1/1) loading package files [########################################################] 100%
(1/1) checking for file conflicts [########################################################] 100%
(1/1) checking available disk space [########################################################] 100%
(1/1) installing broadcom-wl [########################################################] 100%
[broadcom-wl]$ What's the output of
ls -l /usr/lib/modules/3.11.5-1-ARCH/buildOffline
You're right, there should be a zero there. I'm transcribing all this by hand.
$ ls -l /usr/lib/modules/3.11.5-1-ARCH/build
ls: cannot access /usr/lib/modules/3.11.5-1-ARCH/build: No such file or directoryOffline
Create the symlink manually:
# ln -s /usr/src/linux-3.11.5-1-ARCH /usr/lib/modules/3.11.5-1-ARCH/buildand try to build again.
P.S. Builds just fine for me.
Offline
It worked! Thank you so much for your patience and time.
Offline