You are not logged in.

#1 2014-05-01 11:30:10

Magbed
Member
Registered: 2013-06-02
Posts: 30

Problem while building broadcom-wl

Ive always updated to new kernels and then reinstaled broadcom-wl after install to rebuild the driver (cos i dont know other way to do it).
Today i upgraded to kernel 3.14.2-1-ARCH and i cant build the package broadcom-wl anymore.
Could use some help thanks

This is the output error i get.

:: Construyendo el paquete broadcom-wl...
==> Creando el paquete: broadcom-wl 6.30.223.141-7 (jue may  1 13:09:52 CEST 2014)
==> Resolviendo dependencias...
==> Verificando conflictos...
==> Recibiendo fuentes...
  -> Descargando hybrid-v35_64-nodebug-pcoem-6_30_223_141.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1744k  100 1744k    0     0   537k      0  0:00:03  0:00:03 --:--:--  537k
  -> Se encontró modprobe.d
  -> Se encontró license.patch
  -> Se encontró linux-recent.patch
==> Validando el archivo fuente con sha1sums...
    hybrid-v35_64-nodebug-pcoem-6_30_223_141.tar.gz ... Aprobado
    modprobe.d ... Aprobado
    license.patch ... Aprobado
    linux-recent.patch ... Aprobado
==> Descomprimiendo fuentes...
  -> Extrayendo hybrid-v35_64-nodebug-pcoem-6_30_223_141.tar.gz con bsdtar
==> Iniciando prepare()...
patching file src/wl/sys/wl_linux.c
patching file src/wl/sys/wl_linux.c
==> Iniciando build()...
make: Entering directory '/usr/lib/modules/3.14.2-1-ARCH/build'
Makefile:615: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  LD      /tmp/pacaurtmp-berto/broadcom-wl/src/built-in.o
  CC [M]  /tmp/pacaurtmp-berto/broadcom-wl/src/src/shared/linux_osl.o
gcc: error: unrecognized command line option ‘-fstack-protector-strong’
scripts/Makefile.build:308: recipe for target '/tmp/pacaurtmp-berto/broadcom-wl/src/src/shared/linux_osl.o' failed
make[1]: *** [/tmp/pacaurtmp-berto/broadcom-wl/src/src/shared/linux_osl.o] Error 1
Makefile:1274: recipe for target '_module_/tmp/pacaurtmp-berto/broadcom-wl/src' failed
make: *** [_module_/tmp/pacaurtmp-berto/broadcom-wl/src] Error 2
make: Leaving directory '/usr/lib/modules/3.14.2-1-ARCH/build'
==> ERROR: Se produjo un error en build().
    Cancelando...

Last edited by Magbed (2014-05-02 20:47:45)

Offline

#2 2014-05-01 11:39:28

Magbed
Member
Registered: 2013-06-02
Posts: 30

Re: Problem while building broadcom-wl

SOLVED:

Rolled back to last kernel and latest kernel headers and i could build it again, guess i will wait until a fix comes out for this newer kernel.

I used:

sudo pacman -U /var/cache/pacman/pkg/linux-3.14.1-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/linux-headers-3.14.1-1-x86_64.pkg.tar.xz

Offline

#3 2014-05-01 11:39:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Problem while building broadcom-wl

When posting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.


Run

LC_ALL=C <command>

to get the output in English.


If you're using the https://aur.archlinux.org/packages/broadcom-wl/ AUR package, see the recent comments.

Offline

#4 2014-05-01 12:27:44

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,520
Website

Re: Problem while building broadcom-wl

You could install devtools and use "sudo testing-x86_64-build" to build it in a chroot with the [testing] repo.

Offline

#5 2014-05-01 20:19:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Problem while building broadcom-wl

Offline

#6 2014-05-02 08:01:05

Mr Blue Heaven
Member
Registered: 2014-05-02
Posts: 1

Re: Problem while building broadcom-wl

Hi, I have the same problem with the wl driver. I did the same thing as you but you don't have to recompile the driver everytime the kernel is updated. First download dkms :

sudo pacman -S dkms

and enable the service :

sudo systemctl enable dkms

and then don't download the broadcom-wl but the broadcom-wl-dkms:

sudo yaourt -S broadcom-wl-dkms

It worked for me til the 3.14 version of the linux kernel.

Offline

#7 2014-05-02 18:00:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Problem while building broadcom-wl

We have a wiki article for dkms https://wiki.archlinux.org/index.php/Dkms :-)

gcc 4.9 has already been moved into [core], so updating the system and trying again should be all that's needed.

Offline

#8 2014-05-02 20:39:49

Magbed
Member
Registered: 2013-06-02
Posts: 30

Re: Problem while building broadcom-wl

No its not enough its still giving error so dont attemp to update.

:: Building broadcom-wl package...
==> Making package: broadcom-wl 6.30.223.141-7 (Fri May  2 22:47:26 CEST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading hybrid-v35_64-nodebug-pcoem-6_30_223_141.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1744k  100 1744k    0     0   624k      0  0:00:02  0:00:02 --:--:--  624k
  -> 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 sources...
  -> 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
==> Starting build()...
make: Entering directory '/usr/lib/modules/3.14.2-1-ARCH/build'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  LD      /tmp/pacaurtmp-berto/broadcom-wl/src/built-in.o
  CC [M]  /tmp/pacaurtmp-berto/broadcom-wl/src/src/shared/linux_osl.o
  CC [M]  /tmp/pacaurtmp-berto/broadcom-wl/src/src/wl/sys/wl_linux.o
/tmp/pacaurtmp-berto/broadcom-wl/src/src/wl/sys/wl_linux.c: En la función ‘wl_dump_ver’:
/tmp/pacaurtmp-berto/broadcom-wl/src/src/wl/sys/wl_linux.c:2046:3: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
   __DATE__, __TIME__, EPI_VERSION_STR);
   ^
/tmp/pacaurtmp-berto/broadcom-wl/src/src/wl/sys/wl_linux.c:2046:13: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
   __DATE__, __TIME__, EPI_VERSION_STR);
             ^
cc1: algunos avisos se tratan como errores
scripts/Makefile.build:308: recipe for target '/tmp/pacaurtmp-berto/broadcom-wl/src/src/wl/sys/wl_linux.o' failed
make[1]: *** [/tmp/pacaurtmp-berto/broadcom-wl/src/src/wl/sys/wl_linux.o] Error 1
Makefile:1274: recipe for target '_module_/tmp/pacaurtmp-berto/broadcom-wl/src' failed
make: *** [_module_/tmp/pacaurtmp-berto/broadcom-wl/src] Error 2
make: Leaving directory '/usr/lib/modules/3.14.2-1-ARCH/build'
==> ERROR: A failure occurred in build().
    Aborting...
:: broadcom-wl cleaned

Last edited by Magbed (2014-05-02 20:47:23)

Offline

#9 2014-05-02 21:41:51

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: Problem while building broadcom-wl

Apply the patch found here https://aur.archlinux.org/packages/broadcom-wl

Last edited by Mr.Elendig (2014-05-02 21:42:07)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB