[root@vete windows]# rpm --rebuild '/home/vete/Desktop/NVIDIA_kernel-1.0-4191.src.rpm'
Installing /home/vete/Desktop/NVIDIA_kernel-1.0-4191.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.97832
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf NVIDIA_kernel-1.0-4191
+ /bin/gzip -dc /usr/src/RPM/SOURCES/NVIDIA_kernel-1.0-4191.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd NVIDIA_kernel-1.0-4191
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.97832
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd NVIDIA_kernel-1.0-4191
+ 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 nvidia.o

You appear to be compiling the NVIDIA kernel module with
a compiler different from the one that was used to compile
the running kernel. This may be perfectly fine, but there
are cases where this can lead to unexpected behaviour and
system crashes.

If you know what you are doing and want to override this
check, you can do so by setting IGNORE_CC_MISMATCH.

In any other case, set the CC environment variable to the
name of the compiler that was used to compile the kernel.

*** Failed cc sanity check. Bailing out! ***
make: *** [gcc-check] Error 1
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.97832
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd NVIDIA_kernel-1.0-4191
+ rm -f /tmp/files.lst
+ '[' -z '' ']'
++ uname -r
+ export TARGET_KERNEL=2.4.20-1mdk
+ TARGET_KERNEL=2.4.20-1mdk
+ '[' -d /lib/modules/2.4.20-1mdk/kernel ']'
+ INSTALLPATH=/lib/modules/2.4.20-1mdk/kernel/drivers/video
+ mkdir -p /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.20-1mdk/kernel/drivers/video
+ install -m 0444 nvidia.o /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.20-1mdk/kernel/drivers/video
install: impossibile fare stat di `nvidia.o': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.97832 (%install)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.97832 (%install)
[root@vete windows]#



sto cercando di ricompilare i src dei driver nvidia ...
ma pare che io abbia installati i souce di un server diverso da quello in uso
e questa è cosa comune con cooker mandrake

come faccio a dare al comando quella opzione ch emi chiede ?

If you know what you are doing and want to override this
check, you can do so by setting IGNORE_CC_MISMATCH.


grazie

francesco


Rispondere a