Problem in installing the source RPM for RH Linux 7.3
vishal gupta <[email protected]> 19 Aug 2003 00:06:44 +0500
| Newsgroups | gmane.linux.drivers.realtek.devel |
|---|---|
| Message-ID | <1061233610.1282.4.camel@vishal> |
after successfully executing rpm -i netdrivers-3.1-1.src.rpm
i gave
[root@vishal redhat]# rpm -bb SPECS/netdriver*.spec
and it returned me an error. How do i solve it
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.26713
+ 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.26713
+ 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-3/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-3/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-3/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.26713 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.26713 (%build)
Now what to do?