Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 116294

Summary: Broadcom driver bcm4400-3.0.8 gives a compile error
Product: Gentoo Linux Reporter: Jose Marino <braket>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jose Marino 2005-12-21 09:06:33 UTC
Tried to emerge bcm4400-3.0.8 in a pentium M laptop running kernel 2.6.14-gentoo-r4 and gcc-3.4.4-r1 and it failed with a compile error.

I tried emerging the unstable bcm4400-3.0.13 and it compiled and emerged without problems.


Here is the output from the failed emerge:

Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/bcm4400-3.0.8 to /
>>> md5 files   ;-) bcm4400-3.0.8-r1.ebuild
>>> md5 files   ;-) bcm4400-3.0.8.ebuild
>>> md5 files   ;-) bcm4400-3.0.13.ebuild
>>> md5 files   ;-) files/digest-bcm4400-3.0.8-r1
>>> md5 files   ;-) files/digest-bcm4400-3.0.13
>>> md5 files   ;-) files/digest-bcm4400-3.0.8
>>> md5 files   ;-) files/bcm4400-3.0.8-pci_name.patch
>>> md5 src_uri ;-) linux-3.0.8.zip
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.14-gentoo-r4
>>> Unpacking source...
>>> Unpacking linux-3.0.8.zip to /var/tmp/portage/bcm4400-3.0.8/work
 * Converting linux/bcm4400-3.0.8/src/Makefile to use M= instead of SUBD  [ ok ]>>> Source unpacked.
 * Preparing bcm4400 module
make -C /usr/src/linux M=/var/tmp/portage/bcm4400-3.0.8/work/linux/bcm4400-3.0.8/src modules
make[1]: Entering directory `/usr/src/linux-2.6.14-gentoo-r4'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
  CC [M]  /var/tmp/portage/bcm4400-3.0.8/work/linux/bcm4400-3.0.8/src/b44um.o
In file included from /var/tmp/portage/bcm4400-3.0.8/work/linux/bcm4400-3.0.8/src/b44lm.h:19,
                 from /var/tmp/portage/bcm4400-3.0.8/work/linux/bcm4400-3.0.8/src/b44mm.h:104,
                 from /var/tmp/portage/bcm4400-3.0.8/work/linux/bcm4400-3.0.8/src/b44um.c:57:
/var/tmp/portage/bcm4400-3.0.8/work/linux/bcm4400-3.0.8/src/b44queue.h:67:5: warning: "DBG" is not defined
In file included from /var/tmp/portage/bcm4400-3.0.8/work/linux/bcm4400-3.0.8/src/b44um.c:57:
/var/tmp/portage/bcm4400-3.0.8/work/linux/bcm4400-3.0.8/src/b44mm.h:108:5: warning: "DBG" is not defined
/var/tmp/portage/bcm4400-3.0.8/work/linux/bcm4400-3.0.8/src/b44um.c: In function `netdev_ethtool_ioctl':
/var/tmp/portage/bcm4400-3.0.8/work/linux/bcm4400-3.0.8/src/b44um.c:1043: error: structure has no member named `slot_name'
/var/tmp/portage/bcm4400-3.0.8/work/linux/bcm4400-3.0.8/src/b44um.c: At top level:
/var/tmp/portage/bcm4400-3.0.8/work/linux/bcm4400-3.0.8/src/b44um.c:1519: warning: initialization from incompatible pointer type
make[2]: *** [/var/tmp/portage/bcm4400-3.0.8/work/linux/bcm4400-3.0.8/src/b44um.o] Error 1
make[1]: *** [_module_/var/tmp/portage/bcm4400-3.0.8/work/linux/bcm4400-3.0.8/src] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.14-gentoo-r4'
make: *** [default] Error 2

!!! ERROR: net-misc/bcm4400-3.0.8 failed.
!!! Function linux-mod_src_compile, Line 505, Exitcode 2
!!! Unable to make                                  BCM_KVER=2.6 LINUX=/usr/src/linux default.
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-21 09:42:13 UTC
(In reply to comment #0)
> I tried emerging the unstable bcm4400-3.0.13 and it compiled and emerged
> without problems.

So use it... ;)

*** This bug has been marked as a duplicate of 96559 ***