Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-14-04, 07:42 PM   #1
Keith Weisshar
Registered User
 
Join Date: Dec 2004
Posts: 3
Default Unable to compile on Mandrake 10.1 Official

nvidia-installer log file '/var/log/nvidia-installer.log'

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix : /usr
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /root/tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Kernel source path: '/lib/modules/2.6.8.1-12mdk-i586-up-1GB/source'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
WARNING: Your kernel was configured to include rivafb support as
a loadable kernel module.

The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
agp.o os-interface.o os-registry.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.8.1-12mdk-i
586-up-1GB/source SYSOUT=/lib/modules/2.6.8.1-12mdk-i586-up-1GB/build'...
Your kernel was configured to include rivafb support as
a loadable kernel module.

The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!

*** Failed rivafb module sanity check, but continuing! ***


NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.8.1-12mdk-i586-up-1GB/build KBUILD
_VERBOSE=1 -C /lib/modules/2.6.8.1-12mdk-i586-up-1GB/source SUBDIRS=/root/tm
p/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.8.1-12mdk-i586-up-1GB/build \
KBUILD_SRC=/usr/src/linux-2.6.8.1-12mdk KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-
pkg1/usr/src/nv" \
-f /usr/src/linux-2.6.8.1-12mdk/Makefile modules
mkdir -p /root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp
_versions
make -f /usr/src/linux-2.6.8.1-12mdk/scripts/Makefile.build obj=/root/tmp/se
lfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/tmp/selfgz481
1/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/
.nv.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/
usr/src/linux-2.6.8.1-12mdk/include -I/root/tmp/selfgz4811/NVIDIA-Linux-x86
-1.0-6629-pkg1/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-stri
ct-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -fno
-unit-at-a-time -march=i686 -I/usr/src/linux-2.6.8.1-12mdk/include/asm-i386/
mach-default -Iinclude/asm-i386/mach-default -O2 -Wdeclaration-after-stateme
nt -I/root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -
Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -W
pointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-
error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_
SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV
_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DN
VCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE_
ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESEN
T -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /root/tmp/self
gz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.o /root/tmp/selfgz4811/N
VIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c
cc -Wp,-MD,/root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/
.nv-vm.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2
-I/usr/src/linux-2.6.8.1-12mdk/include -I/root/tmp/selfgz4811/NVIDIA-Linux-
x86-1.0-6629-pkg1/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-s
trict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -
fno-unit-at-a-time -march=i686 -I/usr/src/linux-2.6.8.1-12mdk/include/asm-i3
86/mach-default -Iinclude/asm-i386/mach-default -O2 -Wdeclaration-
after-statement -I/root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/s
rc/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-ca
st-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU
_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DN
V_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -D
NVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE
_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESE
NT -DMODULE -DKBUILD_BASENAME=nv_vm -DKBUILD_MODNAME=nvidia -c -o /root/tmp/
selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.o /root/tmp/selfg
z4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c
/root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c:59: w
arning: 'cache_flush' defined but not used
cc -Wp,-MD,/root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/
.os-agp.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2
-I/usr/src/linux-2.6.8.1-12mdk/include -I/root/tmp/selfgz4811/NVIDIA-Linux-
x86-1.0-6629-pkg1/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-s
trict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -
fno-unit-at-a-time -march=i686 -I/usr/src/linux-2.6.8.1-12mdk/include/asm-i3
86/mach-default -Iinclude/asm-i386/mach-default -O2 -Wdeclaration-after-stat
ement -I/root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wal
l -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses
-Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wn
o-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_
LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VER
SION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -
UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESE
NT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_S
IMPLE_CREATE_PRESENT -DMODULE -DKBUILD_BASENAME=os_agp -DKBUILD_MODNAME=nvid
ia -c -o /root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-a
gp.o /root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c
cc -Wp,-MD,/root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/
.os-interface.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iin
clude2 -I/usr/src/linux-2.6.8.1-12mdk/include -I/root/tmp/selfgz4811/NVIDIA
-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-bounda
ry=2 -fno-unit-at-a-time -march=i686 -I/usr/src/linux-2.6.8.1-12mdk/include/
asm-i386/mach-default -Iinclude/asm-i386/mach-default -O2 -Wdeclaration-afte
r-statement -I/root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/n
v -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparen
theses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-q
ual -Wno-error -D_LOOSE_KERNEL_NAM
ES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERN
EL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629
-DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DN
V_REMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_P
RESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DMODULE -DKBUILD_BASENAME=os_interf
ace -DKBUILD_MODNAME=nvidia -c -o /root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-
6629-pkg1/usr/src/nv/os-interface.o /root/tmp/selfgz4811/NVIDIA-Linux-x86-1.
0-6629-pkg1/usr/src/nv/os-interface.c
cc -Wp,-MD,/root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/
.os-registry.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinc
lude2 -I/usr/src/linux-2.6.8.1-12mdk/include -I/root/tmp/selfgz4811/NVIDIA-
Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-bounda
ry=2 -fno-unit-at-a-time -march=i686 -I/usr/src/linux-2.6.8.1-12mdk/inclu
de/asm-i386/mach-default -Iinclude/asm-i386/mach-default -O2 -Wdeclaration-a
fter-statement -I/root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/sr
c/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpa
rentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cas
t-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_
SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV
_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DN
VCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE_
ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESEN
T -DMODULE -DKBUILD_BASENAME=os_registry -DKBUILD_MODNAME=nvidia -c -o /root
/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-registry.o /roo
t/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-registry.c
ld -m elf_i386 -r -o /root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/
usr/src/nv/nvidia.o /root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/
src/nv/nv-kernel.o /root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/s
rc/nv/nv.o /root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv
-vm.o /root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.
o /root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-interfac
e.o /root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-regist
ry.o
Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.8.1-12mdk/scripts/Makefile.modpost
scripts/mod/modpost -i /usr/src/linux-2.6.8.1-12mdk/Module.symvers /root/t
mp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nvidia.o
cc -Wp,-MD,/root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/
.nvidia.mod.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iincl
ude2 -I/usr/src/linux-2.6.8.1-12mdk/include -I/usr/src/linux-2.6.8.1-12mdk/
-I -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-
a-time -march=i686 -I/usr/src/linux-2.6.8.1-12mdk/include/asm-i386/mach-defa
ult -Iinclude/asm-i386/mach-default -O2 -Wdeclaration-after-statement -DKBU
ILD_BASENAME=nvidia -DKBUILD_MODNAME=nvidia -DMODULE -c -o /root/tmp/selfgz4
811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nvidia.mod.o /root/tmp/selfgz4
811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nvidia.mod.c
ld -m elf_i386 -r -o /root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/nvidia.ko /root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/
src/nv/nvidia.o /root/tmp/selfgz4811/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/
nv/nvidia.mod.o
NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely
because the kernel module was built using the wrong kernel source files.
Please make sure you have installed the kernel source files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel source
files are installed, you may specify the kernel source path with the
'--kernel-source-path' commandline option.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 Invalid module format
-> Kernel messages:
bootsplash 3.1.6-2004/03/31: looking for picture.... found (800x600, 10377
bytes, v3).
bootsplash: status on console 4 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture.... found (800x600, 10377
bytes, v3).
bootsplash: status on console 5 changed to on
nvidia: version magic '2.6.8.1-12mdk 686 gcc-3.4' should be
'2.6.8.1-12mdk-i586-up-1GB 586 gcc-3.4'
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
Keith Weisshar is offline   Reply With Quote
Old 12-15-04, 07:21 AM   #2
crac
Registered User
 
Join Date: Sep 2004
Posts: 49
Default Re: Unable to compile on Mandrake 10.1 Official

plz show us the output of

# uname -r
# rpm -qa | grep kernel
crac is offline   Reply With Quote
Old 12-15-04, 02:07 PM   #3
Keith Weisshar
Registered User
 
Join Date: Dec 2004
Posts: 3
Default Re: Unable to compile on Mandrake 10.1 Official

[keith@localhost keith]$ uname -r
2.6.8.1-12mdk-i586-up-1GB
[keith@localhost keith]$ rpm -qa | grep kernel
kernel-i586-up-1GB-2.6.8.1.12mdk-1-1mdk
kernel-source-2.6-2.6.8.1-12mdk
[keith@localhost keith]$
Keith Weisshar is offline   Reply With Quote
Old 12-16-04, 03:31 PM   #4
crac
Registered User
 
Join Date: Sep 2004
Posts: 49
Default Re: Unable to compile on Mandrake 10.1 Official

does /usr/src/linux link to your kernel sources?
crac is offline   Reply With Quote
Old 12-16-04, 06:10 PM   #5
Keith Weisshar
Registered User
 
Join Date: Dec 2004
Posts: 3
Default Re: Unable to compile on Mandrake 10.1 Official

It links to the 2.6 sources. I only installed the 2.6 source using urpmi kernel-source-2.6.
Keith Weisshar is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandrake Linux 9.0 (Dolphin) now available | comments? volt General Linux 10 10-19-02 10:13 PM

All times are GMT -5. The time now is 02:56 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.