nvidia drivers won't build

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

 



I'm running fc6 on an Athlon 64 x86_64 system. I've tried installing the
nvidia proprietary drivers from the nvidia web site. I've also tried
installing the nvidia rpm. Neither work - I get a error trying to build
the driver. The complete log file form installing the rpm is shown at
the end.

Immediately below is the part that says the kernel configuration is
invalid:

KBUILD_EXTMOD="/tmp/selfgz17924/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/n
   v" -f /usr/src/kernels/2.6.18-1.2798.fc6-x86_64/Makefile modules
   test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
\
   	echo;								\
   	echo "  ERROR: Kernel configuration is invalid.";		\
   	echo "         include/linux/autoconf.h or include/config/auto.conf
are mis
   sing.";	\
   	echo "         Run 'make oldconfig && make prepare' on kernel src to
fix it
   .";	\
   	echo;								\
   	/bin/false)


I'm not sure exactly how to do: Run 'make oldconfig && make prepare' on
kernel src to fix it 

Any ideas on how to fix this problem? The proprietary driver worked fine
under FC5 and earlier.

Rick B.


nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Nov  2 00:11:38 2006

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  precompiled interfaces  : true
  no ncurses color        : false
  query latest version    : false
  OpenGL header files     : true
  no questions            : false
  silent                  : false
  no recursion            : 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
  no kernel module        : false
  force SELinux           : default
  force tls               : (not specified)
  force compat32 tls      : (not specified)
  X install prefix        : (not specified)
  X library install path  : (not specified)
  X module install path   : (not specified)
  OpenGL install prefix   : (not specified)
  OpenGL install libdir   : (not specified)
  compat32 install chroot : (not specified)
  compat32 install prefix : (not specified)
  compat32 install libdir : (not specified)
  utility install prefix  : (not specified)
  utility install libdir  : (not specified)
  doc install prefix      : (not specified)
  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                  : /tmp
  ftp mirror              : ftp://download.nvidia.com
  RPM file list           : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> There appears to already be a driver installed on your system
(version: 1.0-
   8774).  As part of installing this driver (version: 1.0-8776), the
existing 
   driver will be uninstalled.  Are you sure you want to continue? ('no'
will a
   bort installation) (Answer: Yes)
-> 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.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.18-1.2798.fc6/source'
-> Kernel output path: '/lib/modules/2.6.18-1.2798.fc6/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> 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-i2c.o
nv.o nv
   -vm.o os-agp.o os-interface.o os-registry.o nv-i2c.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 -f stprof stprof.o symtab.h
   rm -f -rf .tmp_versions
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module
SYSSRC=/lib/modules/2.6.18-1.2798.f
   c6/source SYSOUT=/lib/modules/2.6.18-1.2798.fc6/build'...
   
   NVIDIA: calling KBUILD...
   make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.18-1.2798.fc6/build
KBUILD_VERBOSE
   =1 -C /lib/modules/2.6.18-1.2798.fc6/source
SUBDIRS=/tmp/selfgz17924/NVIDIA-
   Linux-x86_64-1.0-8776-pkg2/usr/src/nv modules
   make -C /lib/modules/2.6.18-1.2798.fc6/build \
   	KBUILD_SRC=/usr/src/kernels/2.6.18-1.2798.fc6-x86_64 \

KBUILD_EXTMOD="/tmp/selfgz17924/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/n
   v" -f /usr/src/kernels/2.6.18-1.2798.fc6-x86_64/Makefile modules
   test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
\
   	echo;								\
   	echo "  ERROR: Kernel configuration is invalid.";		\
   	echo "         include/linux/autoconf.h or include/config/auto.conf
are mis
   sing.";	\
   	echo "         Run 'make oldconfig && make prepare' on kernel src to
fix it
   .";	\
   	echo;								\
   	/bin/false)
   mkdir
-p /tmp/selfgz17924/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/.tmp_
   versions
   rm
-f /tmp/selfgz17924/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/.tmp_ver
   sions/*
   make
-f /usr/src/kernels/2.6.18-1.2798.fc6-x86_64/scripts/Makefile.build obj
   =/tmp/selfgz17924/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\"
> /tmp/selfgz17924/NV
   IDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv_compiler.h
     cc
-Wp,-MD,/tmp/selfgz17924/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/.
   nv.o.d  -nostdinc
-isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.1/include -D
   __KERNEL__ -Iinclude -Iinclude2
-I/usr/src/kernels/2.6.18-1.2798.fc6-x86_64/
   include -include include/linux/autoconf.h
-I/tmp/selfgz17924/NVIDIA-Linux-
   x86_64-1.0-8776-pkg2/usr/src/nv -Wall -Wundef -Wstrict-prototypes
-Wno-trigr
   aphs -fno-strict-aliasing -fno-common -Wstrict-prototypes -Wundef
-Werror-im
   plicit-function-declaration -Os -mtune=generic -m64 -mno-red-zone
-mcmodel=k
   ernel -pipe -fno-reorder-blocks -Wno-sign-compare -funit-at-a-time
-mno-sse 
   -mno-mmx -mno-sse2 -mno-3dnow -fomit-frame-pointer
-fasynchronous-unwind-tab
   les -g -fno-stack-protector -Wdeclaration-after-statement
-Wno-pointer-sign 
   -I/tmp/selfgz17924/NVIDIA-Linux-x86_6
   4-1.0-8776-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch
-Wformat 
   -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar
-Werror -O -f
   no-common -mno-red-zone -minline-all-stringops -MD -Wsign-compare
-Wno-cast-
   qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE
-mcmodel=kernel 
   -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0
-DNV_P
   ATCHLEVEL=8776 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM
-DNV_MULTIP
   LE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT
-DNV_SYSCTL_MAX_MAP_COU
   NT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT
-DNV_VM_I
   NSERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT
-DNV_CHANGE_PAGE_ATTR_PRESEN
   T -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUIL
   D_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c
-o /tmp/selfgz17924/NVI

DIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/.tmp_nv.o /tmp/selfgz17924/NVIDIA-
   Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv.c
   In file included
from /tmp/selfgz17924/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr
   /src/nv/nv.c:14:
   /tmp/selfgz17924/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv-linux.h:17:
   26: error: linux/config.h: No such file or directory
   In file included from include/linux/list.h:8,
                    from include/linux/lockdep.h:12,
                    from include/linux/spinlock_types.h:12,
                    from include/linux/spinlock.h:78,
                    from include/linux/capability.h:45,
                    from include/linux/sched.h:44,
                    from include/linux/module.h:9,

from /tmp/selfgz17924/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr
   /src/nv/nv-linux.h:51,

from /tmp/selfgz17924/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr
   /src/nv/nv.c:14:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’
used in a
   rithmetic
   In file included from include/linux/sched.h:54,
                    from include/linux/module.h:9,

from /tmp/selfgz17924/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr
   /src/nv/nv-linux.h:51,

from /tmp/selfgz17924/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr
   /src/nv/nv.c:14:
   include/linux/nodemask.h: In function ‘__first_node’:
   include/linux/nodemask.h:229: warning: signed and unsigned type in
condition
   al expression
   include/linux/nodemask.h: In function ‘__next_node’:
   include/linux/nodemask.h:235: warning: signed and unsigned type in
condition
   al expression
   include/linux/nodemask.h: In function ‘__first_unset_node’:
   include/linux/nodemask.h:253: warning: signed and unsigned type in
condition
   al expression
   In file included from include/asm/elf.h:48,
                    from include/linux/elf.h:7,
                    from include/linux/module.h:16,

from /tmp/selfgz17924/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr
   /src/nv/nv-linux.h:51,

from /tmp/selfgz17924/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr
   /src/nv/nv.c:14:
   include/asm/compat.h: In function ‘compat_alloc_user_space’:
   include/asm/compat.h:202: warning: pointer of type ‘void *’ used
in arit
   hmetic
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:564,

from /tmp/selfgz17924/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr
   /src/nv/nv-linux.h:76,

from /tmp/selfgz17924/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr
   /src/nv/nv.c:14:
   include/asm/io.h: In function ‘check_signature’:
   include/asm/io.h:275: warning: wrong type argument to increment
   In file included from include/asm/pci.h:92,
                    from include/linux/pci.h:691,

from /tmp/selfgz17924/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr
   /src/nv/nv-linux.h:76,

from /tmp/selfgz17924/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr
   /src/nv/nv.c:14:
   include/asm-generic/pci-dma-compat.h: In function ‘pci_map_page’:
   include/asm-generic/pci-dma-compat.h:49: warning: pointer of type
‘void *â
   €™ used in arithmetic
   make[4]: ***
[/tmp/selfgz17924/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/
   nv.o] Error 1
   make[3]: ***
[_module_/tmp/selfgz17924/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr
   /src/nv] Error 2
   make[2]: *** [modules] Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [mdl] Error 1
   make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
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.



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

  Powered by Linux