Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
network card driver install problem (broadcom)

network card driver install problem (broadcom)

2005-01-04       - By Rick Stevens

 Back
Reply:     1     2     3     4     5     6     7     8  

Rajesh wrote:
>
> Hi Rick,
>
> When I run rpmbuild -bb SPECS/bcm4400.spec I get the following error
> messages:
>
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.77348
> + umask 022
> + cd /usr/src/redhat/BUILD
> + cd /usr/src/redhat/BUILD
> + rm -rf bcm4400-3.0.8
> + /bin/mkdir -p bcm4400-3.0.8
> + cd bcm4400-3.0.8
> + /usr/bin/gzip -dc /usr/src/redhat/SOURCES/bcm4400-3.0.8.tgz
> + tar -xvvf -
> -r--r--r-- root/root     38701 2004-08-06 04:09:48 b44.h
> -r--r--r-- root/root     64573 2004-08-06 04:09:48 b44lm.c
> -r--r--r-- root/root     17494 2004-08-06 04:09:48 b44lm.h
> -r--r--r-- root/root      8474 2004-08-06 04:09:48 b44mm.h
> -r--r--r-- root/root     10300 2004-08-06 04:09:48 b44proc.c
> -r--r--r-- root/root     11645 2004-08-06 04:09:48 b44queue.h
> -r--r--r-- root/root     53148 2004-08-06 04:09:48 b44um.c
> -r--r--r-- root/root      6047 2004-08-06 04:09:48 bcm4400.4
> -r--r--r-- root/root      2900 2004-08-06 04:09:48 DISTRIB.TXT
> -r--r--r-- root/root     15153 2004-08-06 04:09:48 LICENSE
> -r--r--r-- root/root      3100 2004-08-06 04:09:48 Makefile
> -r--r--r-- root/root      7987 2004-08-06 04:09:48 README.TXT
> -r--r--r-- root/root      8296 2004-08-06 04:09:48 RELEASE.TXT
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + /usr/bin/gzip -dc /usr/src/redhat/SOURCES/bcm4400-3.0.8.tgz
> + tar -xvvf -
> -r--r--r-- root/root     38701 2004-08-06 04:09:48 b44.h
> -r--r--r-- root/root     64573 2004-08-06 04:09:48 b44lm.c
> -r--r--r-- root/root     17494 2004-08-06 04:09:48 b44lm.h
> -r--r--r-- root/root      8474 2004-08-06 04:09:48 b44mm.h
> -r--r--r-- root/root     10300 2004-08-06 04:09:48 b44proc.c
> -r--r--r-- root/root     11645 2004-08-06 04:09:48 b44queue.h
> -r--r--r-- root/root     53148 2004-08-06 04:09:48 b44um.c
> -r--r--r-- root/root      6047 2004-08-06 04:09:48 bcm4400.4
> -r--r--r-- root/root      2900 2004-08-06 04:09:48 DISTRIB.TXT
> -r--r--r-- root/root     15153 2004-08-06 04:09:48 LICENSE
> -r--r--r-- root/root      3100 2004-08-06 04:09:48 Makefile
> -r--r--r-- root/root      7987 2004-08-06 04:09:48 README.TXT
> -r--r--r-- root/root      8296 2004-08-06 04:09:48 RELEASE.TXT
> + STATUS=0
> + '[' 0 -ne 0 ']'
> ++ /usr/bin/id -u
> + '[' 0 = 0 ']'
> + /bin/chown -Rhf root .
> ++ /usr/bin/id -u
> + '[' 0 = 0 ']'
> + /bin/chgrp -Rhf root .
> + /bin/chmod -Rf a+rX,g-w,o-w .
> + exit 0
> Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.77348
> + umask 022
> + cd /usr/src/redhat/BUILD
> + cd bcm4400-3.0.8
> + make
> gcc -DMODULE -D__KERNEL__ -DDBG=0 -Wall -Wstrict-prototypes -O6
> -I/usr/src/linux/include   -c -o b44um.o b44um.c
> In file included from /usr/include/linux/fs.h:23,
>                  from /usr/include/linux/capability.h:17,
>                  from /usr/include/linux/binfmts.h:5,
>                  from /usr/include/linux/sched.h:9,
>                  from b44mm.h:42,
>                  from b44um.c:57:
> /usr/include/linux/string.h:8:2: warning: #warning Using kernel header in
> userland!
> In file included from /usr/include/linux/sched.h:14,
>                  from b44mm.h:42,
>                  from b44um.c:57:
> /usr/include/linux/timex.h:173: field `time' has incomplete type
> In file included from /usr/include/linux/bitops.h:69,
>                  from /usr/include/asm/system.h:7,
>                  from /usr/include/linux/sched.h:16,
>                  from b44mm.h:42,
>                  from b44um.c:57:
> /usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not
> available on all architectures.
> /usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in
> userspace: atomicity not guaranteed
> In file included from /usr/include/linux/signal.h:4,
>                  from /usr/include/linux/sched.h:25,
>                  from b44mm.h:42,
>                  from b44um.c:57:
> /usr/include/asm/signal.h:107: parse error before "sigset_t"
> /usr/include/asm/signal.h:110: parse error before '}' token
> In file included from /usr/include/linux/sched.h:81,
>                  from b44mm.h:42,
>                  from b44um.c:57:
> /usr/include/linux/timer.h:45: parse error before "spinlock_t"
> /usr/include/linux/timer.h:53: parse error before '}' token
> /usr/include/linux/timer.h:67: parse error before "tvec_base_t"
> /usr/include/linux/timer.h:101: parse error before "tvec_bases"
> /usr/include/linux/timer.h: In function `init_timer':

[lots of the error messages deleted]

> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.35013 (%build)
>
>
> Thanks,
> Rajesh.

You absolutely need to install the kernel source RPM and configure the
kernel source.  Put the second CD in your drive.  Make sure it's mounted
and enter:

  rpm -ivh /mnt/cdrom/kernel-source*

Once that's done, change directory to /usr/src/linux and edit the file
"Makefile".  Look at the "EXTRAVERSION=" line and delete anything after
the "=".  The line should read:

  EXTRAVERSION=

Then do the following:

  make mrproper
  cp /boot/config-2.4.20-8 .config
  make oldconfig
  make dep

You should then be able to build the driver:

  cd /usr/src/RedHat
  rpmbuild -bb SPECS/bcm4400.spec

Again, I really think you should drop RH9 and go to Fedora Core 3.
The driver is already built for you in FC3 and it's the latest version
of Red Hat Linux.  Red Hat 9 is almost a year old and is no longer
supported except through Fedora Legacy (http://www.fedoralegacy.org).

If you must continue to use RH9, make sure you download and install
yum or apt-get and update your system.  You're running an ancient
kernel.  The latest Fedora Legacy kernel for RH9 is 2.4.20-37.9.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
- Rick Stevens, Senior Systems Engineer     rstevens@(protected) -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-         If this is the first day of the rest of my life...         -
-                        I'm in BIG trouble!                         -
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Redhat-install-list mailing list
Redhat-install-list@(protected)
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@(protected)
Subject: unsubscribe

Earn $52 per hosting referral at Lunarpages.