Serjejs-I downloaded the srpm from the above site and when I try to build it I get an error message. The command and error message are-
rpm -bb SPECS/netdriver*.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.71495
+ 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.41530
+ 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.7-10/build/include -pipe -fno-strength-reduce -DMODVERSIONS -c -o pci-skeleton.o pci-skeleton.c
pci-skeleton.c:140: parse error before string constant
pci-skeleton.c:140: warning: type defaults to `int' in declaration of `MODULE_LICENSE'
pci-skeleton.c:140: warning: function declaration isn't a prototype
pci-skeleton.c:140: warning: data definition has no type or storage class
make: *** [pci-skeleton.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.41530 (%build)
??
??
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.41530 (%build)
Does this ring a bell?
Thanks.
??
Confidence pays