SRPM Help in Fedora Core 2 (NEWBIE)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am currently using Fedora Core 2 with the latest kernel and am having a problem with the Nvidia SRPM for my nforce drivers. as there is no drivers for Fedora Core 2 I am wanting to make a binary rpm from the source. I am having problems doing this. (Can I use Fedora Core 1 drivers instead??) I am logged in as su root and am getting the following: Any Suggestions??

[root@localhost NVIDIA]# rpmbuild --rebuild NVIDIA_nforce-1.0-0274.src.rpm
Installing NVIDIA_nforce-1.0-0274.src.rpm
warning: user buildmeister does not exist - using root
warning: user buildmeister does not exist - using root
warning: user buildmeister does not exist - using root
warning: user buildmeister does not exist - using root
warning: user buildmeister does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.51722
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ echo '---- Copying Sources ----'
---- Copying Sources ----
+ cd /usr/src/redhat/BUILD
+ rm -rf nforce
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/nvnet.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2004-04-16 17:10:49 nforce/
drwxr-xr-x buildmeister/adm 0 2004-04-16 17:10:49 nforce/nvnet/
-rw-r--r-- buildmeister/adm 23833 2004-04-16 17:17:45 nforce/nvnet/adapter.h
-rw-r--r-- buildmeister/adm 6867 2004-04-16 17:17:45 nforce/nvnet/basetype.h
-rw-r--r-- buildmeister/adm 6219 2004-04-16 17:17:45 nforce/nvnet/drvinfo.h
-rw-r--r-- buildmeister/adm 12003 2004-04-16 17:17:45 nforce/nvnet/nvenet.h
-rw-r--r-- buildmeister/adm 5129 2004-04-16 17:17:45 nforce/nvnet/os.h
-rw-r--r-- buildmeister/adm 6945 2004-04-16 17:17:45 nforce/nvnet/phy.h
-rw-r--r-- buildmeister/adm 102460 2004-04-16 17:17:45 nforce/nvnet/nvenet.c
-rw-r--r-- buildmeister/adm 38352 2004-04-16 17:17:45 nforce/nvnet/nvenetlib.o
-rw-r--r-- buildmeister/adm 3717 2004-04-16 17:17:45 nforce/nvnet/Makefile
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nforce
++ /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,u+w,g-w,o-w .
+ cd /usr/src/redhat/BUILD
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/nvaudio.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2004-04-16 17:17:46 nforce/
drwxr-xr-x buildmeister/adm 0 2004-04-16 17:17:46 nforce/nvaudio/
-rw-r--r-- buildmeister/adm 3202 2004-04-16 17:17:46 nforce/nvaudio/Makefile
-rw-r--r-- buildmeister/adm 64845 2004-04-16 17:17:46 nforce/nvaudio/nvcrush.c
-rw-r--r-- buildmeister/adm 84378 2004-04-16 17:17:46 nforce/nvaudio/nvhw.c
-rw-r--r-- buildmeister/adm 41741 2004-04-16 17:17:46 nforce/nvaudio/nvmain.c
-rw-r--r-- buildmeister/adm 9910 2004-04-16 17:17:46 nforce/nvaudio/nvrec.c
-rw-r--r-- buildmeister/adm 20056 2004-04-16 17:17:46 nforce/nvaudio/nvspdif.c
-rw-r--r-- buildmeister/adm 18339 2004-04-16 17:17:46 nforce/nvaudio/nvwavout.c
-rw-r--r-- buildmeister/adm 2651 2004-04-16 17:17:46 nforce/nvaudio/chaninfo.h
-rw-r--r-- buildmeister/adm 10215 2004-04-16 17:17:46 nforce/nvaudio/nvhw.h
-rw-r--r-- buildmeister/adm 2797 2004-04-16 17:17:46 nforce/nvaudio/nvioctl.h
-rw-r--r-- buildmeister/adm 1392 2004-04-16 17:17:46 nforce/nvaudio/nvrec.h
-rw-r--r-- buildmeister/adm 1618 2004-04-16 17:17:46 nforce/nvaudio/nvspdif.h
-rw-r--r-- buildmeister/adm 1499 2004-04-16 17:17:46 nforce/nvaudio/nvwavout.h
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nforce
++ /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,u+w,g-w,o-w .
+ cd /usr/src/redhat/BUILD
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/nvmaster.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2004-04-16 17:17:45 nforce/
-rw-r--r-- buildmeister/adm 1259 2004-04-16 17:17:45 nforce/Makefile
-rw-r--r-- buildmeister/adm 5404 2004-04-16 17:17:45 nforce/NVLicense.txt
-rw-r--r-- buildmeister/adm 18007 2004-04-16 17:17:45 nforce/GNULicense.txt
-rw-r--r-- buildmeister/adm 28128 2004-04-16 17:17:45 nforce/ReleaseNotes.html
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nforce
++ /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,u+w,g-w,o-w .
+ cd /usr/src/redhat/BUILD
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/nvgart.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2004-04-16 17:17:46 nforce/
drwxr-xr-x buildmeister/adm 0 2004-04-16 17:17:46 nforce/nvgart/
-rw-r--r-- buildmeister/adm 854 2004-04-16 17:17:46 nforce/nvgart/Makefile
-rw-r--r-- buildmeister/adm 2093 2004-04-16 17:17:46 nforce/nvgart/README
-rw-r--r-- buildmeister/adm 21192 2004-04-16 17:17:46 nforce/nvgart/linux-2.4.20-agpgart.diff
-rw-r--r-- buildmeister/adm 1211 2004-04-16 17:17:46 nforce/nvgart/linux-2.4.21-102-agpgart.diff
-rw-r--r-- buildmeister/adm 13557 2004-04-16 17:17:46 nforce/nvgart/linux-2.4.21-4.EL-agpgart.diff
-rw-r--r-- buildmeister/adm 22493 2004-04-16 17:17:46 nforce/nvgart/linux-2.4.21-agpgart.diff
-rw-r--r-- buildmeister/adm 13775 2004-04-16 17:17:46 nforce/nvgart/linux-2.4.22-agpgart.diff
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nforce
++ /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,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.84179
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd nforce
+ LANG=C
+ export LANG
+ unset DISPLAY
+ echo '---- Building Drivers ----'
---- Building Drivers ----
+ make
make -C nvnet
make[1]: Entering directory `/usr/src/redhat/BUILD/nforce/nvnet'
cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O2 -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DCONFIG_PM -falign-functions=4 -I/lib/modules/2.6.6-1.435/build/include nvenet.c
In file included from /lib/modules/2.6.6-1.435/build/include/linux/irq.h:20,
from /lib/modules/2.6.6-1.435/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.6-1.435/build/include/linux/interrupt.h:11,
from nvenet.h:30,
from nvenet.c:22:
/lib/modules/2.6.6-1.435/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.6-1.435/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.6-1.435/build/include/linux/interrupt.h:11,
from nvenet.h:30,
from nvenet.c:22:
/lib/modules/2.6.6-1.435/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.6-1.435/build/include/linux/irq.h:72,
from /lib/modules/2.6.6-1.435/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.6-1.435/build/include/linux/interrupt.h:11,
from nvenet.h:30,
from nvenet.c:22:
/lib/modules/2.6.6-1.435/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/lib/modules/2.6.6-1.435/build/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function)
nvenet.c: In function `nvenet_open':
nvenet.c:692: warning: passing arg 2 of `request_irq' from incompatible pointer type
nvenet.c: In function `nvenet_remove':
nvenet.c:1214: error: structure has no member named `driver_data'
nvenet.c: In function `nvenet_reboot_handler':
nvenet.c:2360: warning: implicit declaration of function `pci_for_each_dev'
nvenet.c:2361: error: syntax error before '{' token
nvenet.c: At top level:
nvenet.c:2367: error: syntax error before '}' token
nvenet.c: In function `nvenet_proc_full_info_open':
nvenet.c:2605: error: `MOD_INC_USE_COUNT' undeclared (first use in this function)
nvenet.c:2605: error: (Each undeclared identifier is reported only once
nvenet.c:2605: error: for each function it appears in.)
nvenet.c: In function `nvenet_proc_hardware_info_open':
nvenet.c:2645: error: `MOD_INC_USE_COUNT' undeclared (first use in this function)
nvenet.c: In function `nvenet_proc_command_line_open':
nvenet.c:2686: error: `MOD_INC_USE_COUNT' undeclared (first use in this function)
nvenet.c: In function `nvenet_proc_configuration_open':
nvenet.c:2727: error: `MOD_INC_USE_COUNT' undeclared (first use in this function)
nvenet.c: In function `nvenet_proc_rx_stats_open':
nvenet.c:2762: error: `MOD_INC_USE_COUNT' undeclared (first use in this function)
nvenet.c: In function `nvenet_proc_tx_stats_open':
nvenet.c:2804: error: `MOD_INC_USE_COUNT' undeclared (first use in this function)
nvenet.c: In function `nvenet_proc_release':
nvenet.c:2821: error: `MOD_DEC_USE_COUNT' undeclared (first use in this function)
make[1]: *** [nvnet.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/nforce/nvnet'
make: *** [nvnet_make] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.84179 (%build)



RPM build errors: user buildmeister does not exist - using root user buildmeister does not exist - using root user buildmeister does not exist - using root user buildmeister does not exist - using root user buildmeister does not exist - using root Bad exit status from /var/tmp/rpm-tmp.84179 (%build) [root@localhost NVIDIA]#

_________________________________________________________________
Add photos to your messages with MSN Premium. Get 2 months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux