[tulip] Problem building netdriver-2.1-2.src.rpm

Russell Mackenzie russmack@mweb.co.za
Sat, 21 Jul 2001 11:17:45 +0200


Hi there,

This stuff is a bit over my head - if you can help me out I'll be
_very_grateful_.

My os:
Linux Redhat 7.1, kernel 2.4.2-2 on an i686

My ethernet card:
00:09.0 Ethernet controller: CONEXANT: Unknown device 1803 (rev 08)
 Subsystem: Compaq Computer Corporation: Unknown device 0023
 Flags: medium devsel, IRQ 9
 BIST result: 00
 I/O ports at 1400 [size=256]
 Memory at f4000000 (32-bit, non-prefetchable) [size=16K]
 Capabilities: [58] Power Management version 2

My gcc:
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81)

When I do:
ifup ifcfg-eth0

I get the response:
Delaying eth0 initialization.

So I tried:
rpm -i netdriver-2.1-2.src.rpm

Then:
cd /usr/src/redhat

Then:
rpm -bb SPECS/netdriver.spec

And got the following output, at which point my existence becomes useless :)
:

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.63875
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf netdriver-2.1
+ /bin/mkdir -p netdriver-2.1
+ cd netdriver-2.1
+ tar -xvvf -
+ /bin/gzip -dc /usr/src/redhat/SOURCES/netdrivers.tgz
-rw-r--r-- becker/becker  2885 2000-07-31 04:24:57 Makefile
-rw-rw-r-- becker/becker 78125 2000-08-09 00:10:36 3c59x.c
-rw-r--r-- becker/becker  8668 2000-04-18 16:18:09 cb_shim.c
-rw-r--r-- becker/becker 63838 2000-10-18 16:31:47 eepro100.c
-rw-r--r-- becker/becker 45294 2000-10-19 14:14:47 epic100.c
-rw-r--r-- becker/becker 40902 2000-10-19 22:56:05 hamachi.c
-rw-rw-r-- becker/becker 45684 2000-08-14 04:53:04 intel-gige.c
-rw-r--r-- becker/becker  6510 2000-11-28 13:08:23 kern_compat.h
-rw-rw-r-- becker/becker 39237 2000-08-25 19:53:37 natsemi.c
-rw-r--r-- becker/becker 20003 2000-10-19 13:21:48 ne2k-pci.c
-rw-rw-r-- becker/becker 16890 2000-06-27 02:27:22 pci-scan-inline.h
-rw-r--r-- becker/becker 14194 2000-09-27 22:20:34 pci-scan.c
-rw-r--r-- becker/becker  2979 2000-04-08 03:04:26 pci-scan.h
-rw-r--r-- becker/becker  5930 1999-12-15 18:09:28 pci-serial.c
-rw-r--r-- becker/becker 47855 2000-08-07 15:37:23 pci-skeleton.c
-rw-r--r-- becker/becker 51260 2000-09-15 01:19:53 rtl8139.c
-rw-r--r-- becker/becker 43667 2000-07-26 17:39:15 starfire.c
-rw-r--r-- becker/becker 43006 2000-10-19 13:18:35 sundance.c
-rw-r--r-- becker/becker 115967 2000-12-03 18:37:59 tulip.c
-rw-rw-r-- becker/becker  38933 2000-08-09 13:57:25 via-rhine.c
-rw-rw-r-- becker/becker  43937 2000-12-06 17:27:37 winbond-840.c
-rw-r--r-- becker/becker  45870 2000-10-19 23:33:28 yellowfin.c
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /bin/gzip -dc /usr/src/redhat/SOURCES/netdrivers.tgz
+ tar -xvvf -
-rw-r--r-- becker/becker  2885 2000-07-31 04:24:57 Makefile
-rw-rw-r-- becker/becker 78125 2000-08-09 00:10:36 3c59x.c
-rw-r--r-- becker/becker  8668 2000-04-18 16:18:09 cb_shim.c
-rw-r--r-- becker/becker 63838 2000-10-18 16:31:47 eepro100.c
-rw-r--r-- becker/becker 45294 2000-10-19 14:14:47 epic100.c
-rw-r--r-- becker/becker 40902 2000-10-19 22:56:05 hamachi.c
-rw-rw-r-- becker/becker 45684 2000-08-14 04:53:04 intel-gige.c
-rw-r--r-- becker/becker  6510 2000-11-28 13:08:23 kern_compat.h
-rw-rw-r-- becker/becker 39237 2000-08-25 19:53:37 natsemi.c
-rw-r--r-- becker/becker 20003 2000-10-19 13:21:48 ne2k-pci.c
-rw-rw-r-- becker/becker 16890 2000-06-27 02:27:22 pci-scan-inline.h
-rw-r--r-- becker/becker 14194 2000-09-27 22:20:34 pci-scan.c
-rw-r--r-- becker/becker  2979 2000-04-08 03:04:26 pci-scan.h
-rw-r--r-- becker/becker  5930 1999-12-15 18:09:28 pci-serial.c
-rw-r--r-- becker/becker 47855 2000-08-07 15:37:23 pci-skeleton.c
-rw-r--r-- becker/becker 51260 2000-09-15 01:19:53 rtl8139.c
-rw-r--r-- becker/becker 43667 2000-07-26 17:39:15 starfire.c
-rw-r--r-- becker/becker 43006 2000-10-19 13:18:35 sundance.c
-rw-r--r-- becker/becker 115967 2000-12-03 18:37:59 tulip.c
-rw-rw-r-- becker/becker  38933 2000-08-09 13:57:25 via-rhine.c
-rw-rw-r-- becker/becker  43937 2000-12-06 17:27:37 winbond-840.c
-rw-r--r-- becker/becker  45870 2000-10-19 23:33:28 yellowfin.c
+ 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.63875
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd netdriver-2.1
+ make all
gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -I/usr/src/linux/inc
lude -pipe -fno-strength-reduce -DMODVERSIONS   -c -o pci-skeleton.o
pci-skeleton.c
pci-skeleton.c: In function `netdev_open':
pci-skeleton.c:724: structure has no member named `tbusy'
pci-skeleton.c:725: structure has no member named `interrupt'
pci-skeleton.c:730: structure has no member named `start'
pci-skeleton.c: In function `netdev_timer':
pci-skeleton.c:797: structure has no member named `tbusy'
pci-skeleton.c:797: structure has no member named `tbusy'
pci-skeleton.c: In function `start_tx':
pci-skeleton.c:893: structure has no member named `tbusy'
pci-skeleton.c:920: structure has no member named `tbusy'
pci-skeleton.c: In function `intr_handler':
pci-skeleton.c:956: structure has no member named `interrupt'
pci-skeleton.c:959: structure has no member named `interrupt'
pci-skeleton.c:999: structure has no member named `tbusy'
pci-skeleton.c:1003: structure has no member named `tbusy'
pci-skeleton.c:1004: `NET_BH' undeclared (first use in this function)
pci-skeleton.c:1004: (Each undeclared identifier is reported only once
pci-skeleton.c:1004: for each function it appears in.)
pci-skeleton.c:1027: structure has no member named `start'
pci-skeleton.c:1036: structure has no member named `interrupt'
pci-skeleton.c: In function `netdev_close':
pci-skeleton.c:1316: structure has no member named `start'
pci-skeleton.c:1317: structure has no member named `tbusy'
make: *** [pci-skeleton.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.63875 (%build)


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


I cannot begin to express how happy I will be if my linux laptop is
networked!!

Later...
Russ