Noz
11-12-02, 02:38 AM
Sorry for my bad english. I'll try to explain my problems.
I have a GeForce4 and want to install the
Linux Display Driver Version: 1.0-3123.
I run Nv chooser and have to download
NVIDIA_GLX-1.0-3123.i386.rpm and
NVIDIA_kernel-1.0-3123.src.rpm.
then I try to run
rpmbuild --rebuild NVIDIA_kernel-1.0-3123.src.rpm
and get the following messages:
Installing NVIDIA_kernel-1.0-3123.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.14581
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf NVIDIA_kernel-1.0-3123
+ /bin/gzip -dc /usr/src/redhat/SOURCES/NVIDIA_kernel-1.0-3123.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd NVIDIA_kernel-1.0-3123
++ /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.14581
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_kernel-1.0-3123
+ set +e
++ rpm -q --queryformat '%{VERSION}' rpm
+ RPMVERSION=4.0.4
++ echo 4.0.4
++ awk -F . '{print $1;}'
+ RPMMAJOR=4
++ echo 4.0.4
++ awk -F . '{print $2;}'
+ RPMMINOR=0
++ echo 4.0.4
++ awk -F . '{print $3;}'
+ RPMPATCH=4
+ '[' 4 -le 3 -a 0 -le 0 -a 4 -lt 4 ']'
+ make NVdriver
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3123 -DNV_UNIX -DNV_LINUX -DNVCPU_X86 -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
In file included from /usr/include/linux/vmalloc.h:8,
from nv-linux.h:57,
from nv.c:14:
/usr/include/asm/pgtable.h:17:24: asm/fixmap.h: Aucun fichier ou répertoire de ce type
In file included from nv-linux.h:60,
from nv.c:14:
/usr/include/linux/delay.h:13:23: asm/delay.h: Aucun fichier ou répertoire de ce type
In file included from nv-linux.h:64,
from nv.c:14:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: Aucun fichier ou répertoire de ce type
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: Aucun fichier ou répertoire de ce type
In file included from nv.c:14:
nv-linux.h:68:75: asm/uaccess.h: Aucun fichier ou répertoire de ce type
In file included from /usr/include/linux/highmem.h:5,
from nv-linux.h:75,
from nv.c:14:
/usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: Aucun fichier ou répertoire de ce type
In file included from nv-linux.h:111,
from nv.c:14:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
make: *** [nv.o] Erreur 1
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.86909
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_kernel-1.0-3123
+ rm -f /tmp/files.lst
+ '[' -z '' ']'
++ uname -r
+ export TARGET_KERNEL=2.4.18-17.7.x
+ TARGET_KERNEL=2.4.18-17.7.x
+ '[' -d /lib/modules/2.4.18-17.7.x/kernel ']'
+ INSTALLPATH=/lib/modules/2.4.18-17.7.x/kernel/drivers/video
+ mkdir -p /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.18-17.7.x/kernel/drivers/video
+ install -m 0444 NVdriver /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.18-17.7.x/kernel/drivers/video
install: cannot stat `NVdriver': Aucun fichier ou répertoire de ce type
error: Bad exit status from /var/tmp/rpm-tmp.86909 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.86909 (%install)
Can someone help me?:confused:
Thank you!
I have a GeForce4 and want to install the
Linux Display Driver Version: 1.0-3123.
I run Nv chooser and have to download
NVIDIA_GLX-1.0-3123.i386.rpm and
NVIDIA_kernel-1.0-3123.src.rpm.
then I try to run
rpmbuild --rebuild NVIDIA_kernel-1.0-3123.src.rpm
and get the following messages:
Installing NVIDIA_kernel-1.0-3123.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.14581
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf NVIDIA_kernel-1.0-3123
+ /bin/gzip -dc /usr/src/redhat/SOURCES/NVIDIA_kernel-1.0-3123.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd NVIDIA_kernel-1.0-3123
++ /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.14581
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_kernel-1.0-3123
+ set +e
++ rpm -q --queryformat '%{VERSION}' rpm
+ RPMVERSION=4.0.4
++ echo 4.0.4
++ awk -F . '{print $1;}'
+ RPMMAJOR=4
++ echo 4.0.4
++ awk -F . '{print $2;}'
+ RPMMINOR=0
++ echo 4.0.4
++ awk -F . '{print $3;}'
+ RPMPATCH=4
+ '[' 4 -le 3 -a 0 -le 0 -a 4 -lt 4 ']'
+ make NVdriver
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3123 -DNV_UNIX -DNV_LINUX -DNVCPU_X86 -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
In file included from /usr/include/linux/vmalloc.h:8,
from nv-linux.h:57,
from nv.c:14:
/usr/include/asm/pgtable.h:17:24: asm/fixmap.h: Aucun fichier ou répertoire de ce type
In file included from nv-linux.h:60,
from nv.c:14:
/usr/include/linux/delay.h:13:23: asm/delay.h: Aucun fichier ou répertoire de ce type
In file included from nv-linux.h:64,
from nv.c:14:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: Aucun fichier ou répertoire de ce type
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: Aucun fichier ou répertoire de ce type
In file included from nv.c:14:
nv-linux.h:68:75: asm/uaccess.h: Aucun fichier ou répertoire de ce type
In file included from /usr/include/linux/highmem.h:5,
from nv-linux.h:75,
from nv.c:14:
/usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: Aucun fichier ou répertoire de ce type
In file included from nv-linux.h:111,
from nv.c:14:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
make: *** [nv.o] Erreur 1
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.86909
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_kernel-1.0-3123
+ rm -f /tmp/files.lst
+ '[' -z '' ']'
++ uname -r
+ export TARGET_KERNEL=2.4.18-17.7.x
+ TARGET_KERNEL=2.4.18-17.7.x
+ '[' -d /lib/modules/2.4.18-17.7.x/kernel ']'
+ INSTALLPATH=/lib/modules/2.4.18-17.7.x/kernel/drivers/video
+ mkdir -p /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.18-17.7.x/kernel/drivers/video
+ install -m 0444 NVdriver /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.18-17.7.x/kernel/drivers/video
install: cannot stat `NVdriver': Aucun fichier ou répertoire de ce type
error: Bad exit status from /var/tmp/rpm-tmp.86909 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.86909 (%install)
Can someone help me?:confused:
Thank you!