[eepro100] netdrivers-3.1-1.src.rpm doesn't build on my machine

H&G graciela@club-internet.fr
Sun Jul 14 00:00:05 2002


Donald Becker wrote:

>Try the driver set from
>   ftp://ftp.scyld.com/pub/network/netdrivers.tgz
>  
>

Since netdrivers.tgz includes no README or INSTALL file, and since I 
don't consider
me an expert for "Installing Individual Drivers", I chose the "easy way" 
by "Using the
Source RPM Package" as indicated on the 
"http://www.scyld.com/network/updates.html"
page. But it didn't build.

My system is:
    - vpr Matrix 2020 PC with 128MB of RAM
    - Intel D845BG motherboard (i845D chipset)
    - onboard 82562 NIC
    - Linux Red Hat 7.3

Here is the output I got :

$ uname -a
Linux localhost.localdomain 2.4.18-5 #1 Mon Jun 10 15:31:48 EDT 2002 
i686 unknown

$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)

$ rpm -i netdrivers-3.1-1.src.rpm

$ cd /usr/src/redhat

$ rpm -bb SPECS/netdrivers.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.21137
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf netdrivers-3.1
+ /bin/mkdir -p netdrivers-3.1
+ cd netdrivers-3.1
+ /bin/gzip -dc /usr/src/redhat/SOURCES/netdrivers.tgz
+ tar -xf -
+ 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.7443
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd netdrivers-3.1
+ make all
gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 
-I/lib/modules/2.4.18-5/build/include -pipe -fno-strength-reduce 
-DMODVERSIONS   -c -o pci-skeleton.o pci-skeleton.c
gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 
-I/lib/modules/2.4.18-5/build/include -pipe -fno-strength-reduce 
-DMODVERSIONS   -c -o pci-scan.o pci-scan.c
gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 
-I/lib/modules/2.4.18-5/build/include -pipe -fno-strength-reduce 
-DMODVERSIONS   -c -o 3c59x.o 3c59x.c
3c59x.c: In function `vortex_error':
3c59x.c:1474: `NETIF_MSG_MISC' undeclared (first use in this function)
3c59x.c:1474: (Each undeclared identifier is reported only once
3c59x.c:1474: for each function it appears in.)
make: *** [3c59x.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.7443 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.7443 (%build)


Any idea of what's going wrong?


Herve