View Single Post
Old 06-04-04, 11:57 AM   #1
nickoli02
Registered User
 
Join Date: Jun 2004
Posts: 3
Default SuSE 9.1 and nForce Audio Drivers.

Hopefully someone else has gotten the new nVidia drivers version 1.0-0274 to work with SuSE 9.1. I have been very displeased at this. The src.rpm from nvidia won't compile. nor will tarball. Can someone figure it out... below is a paste from when I tried to make from the tarball and src.rpm. SOMEONE PLEASE GET THIS TO WORK FOR THE REST OF US!!!!

SuSE 9.1
nForce 2 MCP-T m/b
MP 2800+
1 gb dual channel 3200
Kernel v.2.6.4-54.5 suse default

SRC.RPM REBUILD
linux:/home/nick # rpmbuild --rebuild NV*.src.rpm
Installing NVIDIA_nforce-1.0-0274.src.rpm
warning: user buildmeister does not exist - using root
warning: group adm does not exist - using root
warning: user buildmeister does not exist - using root
warning: group adm does not exist - using root
warning: user buildmeister does not exist - using root
warning: group adm does not exist - using root
warning: user buildmeister does not exist - using root
warning: group adm does not exist - using root
warning: user buildmeister does not exist - using root
warning: group adm does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.88341
+ umask 022
+ cd /usr/src/packages/BUILD
+ echo '---- Copying Sources ----'
---- Copying Sources ----
+ cd /usr/src/packages/BUILD
+ rm -rf nforce
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/nvnet.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2004-04-16 16:10:49 nforce/
drwxr-xr-x buildmeister/adm 0 2004-04-16 16:10:49 nforce/nvnet/
-rw-r--r-- buildmeister/adm 23833 2004-04-16 16:17:45 nforce/nvnet/adapter.h
-rw-r--r-- buildmeister/adm 6867 2004-04-16 16:17:45 nforce/nvnet/basetype.h
-rw-r--r-- buildmeister/adm 6219 2004-04-16 16:17:45 nforce/nvnet/drvinfo.h
-rw-r--r-- buildmeister/adm 12003 2004-04-16 16:17:45 nforce/nvnet/nvenet.h
-rw-r--r-- buildmeister/adm 5129 2004-04-16 16:17:45 nforce/nvnet/os.h
-rw-r--r-- buildmeister/adm 6945 2004-04-16 16:17:45 nforce/nvnet/phy.h
-rw-r--r-- buildmeister/adm 102460 2004-04-16 16:17:45 nforce/nvnet/nvenet.c
-rw-r--r-- buildmeister/adm 38352 2004-04-16 16:17:45 nforce/nvnet/nvenetlib.o
-rw-r--r-- buildmeister/adm 3717 2004-04-16 16: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,g-w,o-w .
+ cd /usr/src/packages/BUILD
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/nvaudio.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2004-04-16 16:17:46 nforce/
drwxr-xr-x buildmeister/adm 0 2004-04-16 16:17:46 nforce/nvaudio/
-rw-r--r-- buildmeister/adm 3202 2004-04-16 16:17:46 nforce/nvaudio/Makefile
-rw-r--r-- buildmeister/adm 64845 2004-04-16 16:17:46 nforce/nvaudio/nvcrush.c
-rw-r--r-- buildmeister/adm 84378 2004-04-16 16:17:46 nforce/nvaudio/nvhw.c
-rw-r--r-- buildmeister/adm 41741 2004-04-16 16:17:46 nforce/nvaudio/nvmain.c
-rw-r--r-- buildmeister/adm 9910 2004-04-16 16:17:46 nforce/nvaudio/nvrec.c
-rw-r--r-- buildmeister/adm 20056 2004-04-16 16:17:46 nforce/nvaudio/nvspdif.c
-rw-r--r-- buildmeister/adm 18339 2004-04-16 16:17:46 nforce/nvaudio/nvwavout.c
-rw-r--r-- buildmeister/adm 2651 2004-04-16 16:17:46 nforce/nvaudio/chaninfo.h
-rw-r--r-- buildmeister/adm 10215 2004-04-16 16:17:46 nforce/nvaudio/nvhw.h
-rw-r--r-- buildmeister/adm 2797 2004-04-16 16:17:46 nforce/nvaudio/nvioctl.h
-rw-r--r-- buildmeister/adm 1392 2004-04-16 16:17:46 nforce/nvaudio/nvrec.h
-rw-r--r-- buildmeister/adm 1618 2004-04-16 16:17:46 nforce/nvaudio/nvspdif.h
-rw-r--r-- buildmeister/adm 1499 2004-04-16 16: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,g-w,o-w .
+ cd /usr/src/packages/BUILD
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/nvmaster.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2004-04-16 16:17:45 nforce/
-rw-r--r-- buildmeister/adm 1259 2004-04-16 16:17:45 nforce/Makefile
-rw-r--r-- buildmeister/adm 5404 2004-04-16 16:17:45 nforce/NVLicense.txt
-rw-r--r-- buildmeister/adm 18007 2004-04-16 16:17:45 nforce/GNULicense.txt
-rw-r--r-- buildmeister/adm 28128 2004-04-16 16: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,g-w,o-w .
+ cd /usr/src/packages/BUILD
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/nvgart.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2004-04-16 16:17:46 nforce/
drwxr-xr-x buildmeister/adm 0 2004-04-16 16:17:46 nforce/nvgart/
-rw-r--r-- buildmeister/adm 854 2004-04-16 16:17:46 nforce/nvgart/Makefile
-rw-r--r-- buildmeister/adm 2093 2004-04-16 16:17:46 nforce/nvgart/README
-rw-r--r-- buildmeister/adm 21192 2004-04-16 16:17:46 nforce/nvgart/linux-2.4.20-agpgart.diff
-rw-r--r-- buildmeister/adm 1211 2004-04-16 16:17:46 nforce/nvgart/linux-2.4.21-102-agpgart.diff
-rw-r--r-- buildmeister/adm 13557 2004-04-16 16:17:46 nforce/nvgart/linux-2.4.21-4.EL-agpgart.diff
-rw-r--r-- buildmeister/adm 22493 2004-04-16 16:17:46 nforce/nvgart/linux-2.4.21-agpgart.diff
-rw-r--r-- buildmeister/adm 13775 2004-04-16 16: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,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.88341
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /var/tmp/NVIDIA_nforce-1.0-0274-root
++ dirname /var/tmp/NVIDIA_nforce-1.0-0274-root
+ /bin/mkdir -p /var/tmp
+ /bin/mkdir /var/tmp/NVIDIA_nforce-1.0-0274-root
+ cd nforce
+ echo '---- Building Drivers ----'
---- Building Drivers ----
+ make
make -C nvnet
make[1]: Entering directory `/usr/src/packages/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.4-54.5-default/build/include nvenet.c
In file included from /lib/modules/2.6.4-54.5-default/build/include/linux/irq.h:20,
from /lib/modules/2.6.4-54.5-default/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.4-54.5-default/build/include/linux/interrupt.h:11,
from nvenet.h:30,
from nvenet.c:22:
/lib/modules/2.6.4-54.5-default/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.4-54.5-default/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.4-54.5-default/build/include/linux/interrupt.h:11,
from nvenet.h:30,
from nvenet.c:22:
/lib/modules/2.6.4-54.5-default/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.4-54.5-default/build/include/linux/irq.h:72,
from /lib/modules/2.6.4-54.5-default/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.4-54.5-default/build/include/linux/interrupt.h:11,
from nvenet.h:30,
from nvenet.c:22:
/lib/modules/2.6.4-54.5-default/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/lib/modules/2.6.4-54.5-default/build/include/asm/hw_irq.h:31: 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: parse error before '{' token
nvenet.c: At top level:
nvenet.c:2367: error: parse error before '}' token
nvenet.c: In function `nvenet_proc_full_info_open':
nvenet.c:2605: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.4-54.5-default/build/include/linux/module.h:515)
nvenet.c: In function `nvenet_proc_hardware_info_open':
nvenet.c:2645: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.4-54.5-default/build/include/linux/module.h:515)
nvenet.c: In function `nvenet_proc_command_line_open':
nvenet.c:2686: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.4-54.5-default/build/include/linux/module.h:515)
nvenet.c: In function `nvenet_proc_configuration_open':
nvenet.c:2727: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.4-54.5-default/build/include/linux/module.h:515)
nvenet.c: In function `nvenet_proc_rx_stats_open':
nvenet.c:2762: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.4-54.5-default/build/include/linux/module.h:515)
nvenet.c: In function `nvenet_proc_tx_stats_open':
nvenet.c:2804: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.4-54.5-default/build/include/linux/module.h:515)
nvenet.c: In function `nvenet_proc_release':
nvenet.c:2821: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.4-54.5-default/build/include/linux/module.h:527)
make[1]: *** [nvnet.o] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/nforce/nvnet'
make: *** [nvnet_make] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.88341 (%build)


RPM build errors:
user buildmeister does not exist - using root
group adm does not exist - using root
user buildmeister does not exist - using root
group adm does not exist - using root
user buildmeister does not exist - using root
group adm does not exist - using root
user buildmeister does not exist - using root
group adm does not exist - using root
user buildmeister does not exist - using root
group adm does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.88341 (%build)


TARBALL INSTALL SOURCE
/home/nick/nforce/nvaudio # make
make nvaudio.o
make[1]: Entering directory `/home/nick/nforce/nvaudio'
cc -D__KERNEL__ -I/lib/modules/2.6.4-54.5-default/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DDRIVERVER=\"0274\" -DREMAP_NEW -c -o nvhw.o nvhw.c
In file included from nvhw.c:16:
nvhw.h:29:27: linux/wrapper.h: No such file or directory
In file included from /lib/modules/2.6.4-54.5-default/build/include/linux/irq.h:20,
from /lib/modules/2.6.4-54.5-default/build/include/asm/hardirq.h:6,
from nvhw.h:31,
from nvhw.c:16:
/lib/modules/2.6.4-54.5-default/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.4-54.5-default/build/include/asm/hardirq.h:6,
from nvhw.h:31,
from nvhw.c:16:
/lib/modules/2.6.4-54.5-default/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.4-54.5-default/build/include/linux/irq.h:72,
from /lib/modules/2.6.4-54.5-default/build/include/asm/hardirq.h:6,
from nvhw.h:31,
from nvhw.c:16:
/lib/modules/2.6.4-54.5-default/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/lib/modules/2.6.4-54.5-default/build/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
nvhw.c: In function `alloc_dmabuf':
nvhw.c:92: warning: implicit declaration of function `mem_map_reserve'
nvhw.c: In function `dealloc_dmabuf':
nvhw.c:111: warning: implicit declaration of function `mem_map_unreserve'
make[1]: *** [nvhw.o] Error 1
make[1]: Leaving directory `/home/nick/nforce/nvaudio'
make: *** [all] Error 2
nickoli02 is offline   Reply With Quote