You are not logged in.

#1 2010-01-02 00:45:52

arxx
Member
From: Sacramento, CA
Registered: 2009-12-06
Posts: 40

make and pkgbuild errors(solved)

i just installed arch and i was trying to install the broadcom-wl pkgbuild for my wireless driver but im getting errors for pkgbuild. i tried compiling it myself but when using the make command i also recieved errors.

[matt@arch broadcom-wl]$ makepkg
==> Making package: broadcom-wl 5.10.91.9.3-2 x86_64 (Fri Jan  1 16:43:54 PST 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Downloading hybrid-portsrc-x86_64-v5.10.91.9.3.tar.gz...
--2010-01-01 16:43:54--  http://www.broadcom.com/docs/linux_sta/hybrid-portsrc-x86_64-v5.10.91.9.3.tar.gz
Resolving www.broadcom.com... 208.70.88.55
Connecting to www.broadcom.com|208.70.88.55|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 601391 (587K) [application/x-gzip]
Saving to: "hybrid-portsrc-x86_64-v5.10.91.9.3.tar.gz.part"

100%[======================================>] 601,391      596K/s   in 1.0s    

2010-01-01 16:43:55 (596 KB/s) - "hybrid-portsrc-x86_64-v5.10.91.9.3.tar.gz.part" saved [601391/601391]

  -> Found wl_linux.patch in build dir
==> Validating source files with md5sums...
    hybrid-portsrc-x86_64-v5.10.91.9.3.tar.gz ... Passed
    wl_linux.patch ... Passed
==> Extracting Sources...
  -> Extracting hybrid-portsrc-x86_64-v5.10.91.9.3.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
patching file /home/matt/Downloads/broadcom-wl/src/src/wl/sys/wl_linux.c
make: Entering directory `/usr/src/linux-2.6.32-ARCH'
/usr/src/linux-2.6.32-ARCH/arch/x86/Makefile:81: stack protector enabled but no compiler support
make: gcc: Command not found
  CC [M]  /home/matt/Downloads/broadcom-wl/src/src/wl/sys/wl_linux.o
/bin/sh: gcc: command not found
make[1]: *** [/home/matt/Downloads/broadcom-wl/src/src/wl/sys/wl_linux.o] Error 127
make: *** [_module_/home/matt/Downloads/broadcom-wl/src] Error 2
make: Leaving directory `/usr/src/linux-2.6.32-ARCH'
==> ERROR: Build Failed.
    Aborting...
[matt@arch broadcom-wl]$

and here is make

[matt@arch broadcom-wl]$ make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/linux-2.6.32-ARCH'
/usr/src/linux-2.6.32-ARCH/arch/x86/Makefile:81: stack protector enabled but no compiler support
make[1]: gcc: Command not found
  CC [M]  /home/matt/Downloads/broadcom-wl/src/wl/sys/wl_linux.o
/bin/sh: gcc: command not found
make[2]: *** [/home/matt/Downloads/broadcom-wl/src/wl/sys/wl_linux.o] Error 127
make[1]: *** [_module_/home/matt/Downloads/broadcom-wl] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.32-ARCH'
make: *** [all] Error 2

im pretty sure that "no compiler support" is the issue.
what can i do to fix it

Last edited by arxx (2010-01-02 01:15:05)


my nigga smoke with one lung. if he cough he might die, passin me trees

Offline

#2 2010-01-02 00:56:53

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

Re: make and pkgbuild errors(solved)

Do you have gcc installed.  Even better, install the whole "base-devel" group.

Online

#3 2010-01-02 01:07:44

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: make and pkgbuild errors(solved)

FYI - the 2.6.32.2 kernel provided in Arch's core repo supports the Broadcom 4312 chipset with the b43 driver, so the wl driver is no longer required.

Offline

#4 2010-01-02 01:14:11

arxx
Member
From: Sacramento, CA
Registered: 2009-12-06
Posts: 40

Re: make and pkgbuild errors(solved)

yeahh i have the 82011 /b/g blah whatev its the only bcm4312 that still isnt supported very well by b43 i believe its in LP-PHY testing or something but i havent looked into it for a few weeks. ill take a look later thanks.



gcc made everything work.
why base-devel just curious?


my nigga smoke with one lung. if he cough he might die, passin me trees

Offline

#5 2010-01-02 01:47:06

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

Re: make and pkgbuild errors(solved)

base-devel is a group containing most software that is needed to build packages (in addition to those in the "base" group).  These tend to be left out of the makedepends array in PKGBUILDs

Online

Board footer

Powered by FluxBB