Build Nvidia driver for Fedora 9, AMD?

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

 



Greetings.  I've been unable to build the latest Nvidia driver for
Fedora 9, AMD 64.  I've tried building all three variations:

    NVIDIA-Linux-x86_64-169.12-pkg2.run
    NVIDIA-Linux-x86_64-96.43.05-pkg2.run
    NVIDIA-Linux-x86_64-71.86.04-pkg2.run

System details and installer log are appended.  If you know how to build
this driver, please let me know.

Thanks.

-- Mike

[root@localhost ~]# cat /etc/redhat-release 
Fedora release 9 (Sulphur)

[root@localhost ~]# cat /proc/version 
Linux version 2.6.25.3-18.fc9.x86_64 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) ) #1 SMP Tue May 13 04:54:47 EDT 2008

[root@localhost ~]# rpm -q gcc
gcc-4.3.0-8.x86_64

[root@localhost ~]# ls ~/Download/
NVIDIA-Linux-x86_64-169.12-pkg2.run    NVIDIA-Linux-x86_64-96.43.05-pkg2.run
NVIDIA-Linux-x86_64-71.86.04-pkg2.run


nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun May 18 17:57:35 2008

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
  no X server check       : false
  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
-> Tagging shared libraries with chcon -t textrel_shlib_t.
-> 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.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.25.3-18.fc9.x86_64/source'
-> Kernel output path: '/lib/modules/2.6.25.3-18.fc9.x86_64/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.25.3-18.fc9
   .x86_64/source SYSOUT=/lib/modules/2.6.25.3-18.fc9.x86_64/build'...
   NVIDIA: calling KBUILD...
   make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.25.3-18.fc9.x86_64/build KBUILD_VE
   RBOSE=1 -C /lib/modules/2.6.25.3-18.fc9.x86_64/source SUBDIRS=/tmp/selfgz507
   4/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv modules
   make -C /lib/modules/2.6.25.3-18.fc9.x86_64/build \
       KBUILD_SRC=/usr/src/kernels/2.6.25.3-18.fc9.x86_64 \
       KBUILD_EXTMOD="/tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv" 
   -f /usr/src/kernels/2.6.25.3-18.fc9.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/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/.tmp_ver
   sions ; rm -f /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/.tm
   p_versions/*
   make -f /usr/src/kernels/2.6.25.3-18.fc9.x86_64/scripts/Makefile.build obj=/
   tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv
     cc -Wp,-MD,/tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/.nv.
   o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.3.0/include -D__K
   ERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.25.3-18.fc9.x86_64/inclu
   de -include include/linux/autoconf.h  -I/tmp/selfgz5074/NVIDIA-Linux-x86_64-
   169.12-pkg2/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno
   -strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -fno-
   stack-protector -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-
   a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_F
   RAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno
   -mmx -mno-sse2 -mno-3dnow -fno-omit-frame-pointer -fno-optimize-sibling-call
   s -g -Wdeclaration-after-statement -Wno-pointer-sign  -I/tmp/selfgz5074/NVID
   IA-Linux-x86_64-169.12-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswit
   ch -Wformat -Wchar-su
   bscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -mcmodel=kerne
   l -mno-red-zone -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -D
   MODULE -DNVRM -DNV_VERSION_STRING=\"169.12\" -UDEBUG -U_DEBUG -DNDEBUG -DMOD
   ULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNA
   ME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2
   /usr/src/nv/nv.o /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/
   nv.c
   In file included from include/asm/dma-mapping_64.h:9,
                    from include/asm/dma-mapping.h:4,
                    from include/linux/dma-mapping.h:52,
                    from include/asm-generic/pci-dma-compat.h:7,
                    from include/asm/pci.h:90,
                    from include/linux/pci.h:945,
                    from /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/sr
   c/nv/nv-linux.h:86,
                    from /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/sr
   c/nv/nv.c:14:
   include/linux/scatterlist.h: In function âsg_virtâ:
   include/linux/scatterlist.h:199: warning: pointer of type âvoid *â used 
   in arithmetic
   In file included from include/asm/pci.h:90,
                    from include/linux/pci.h:945,
                    from /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/sr
   c/nv/nv-linux.h:86,
                    from /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/sr
   c/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
   In file included from /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/sr
   c/nv/nv-linux.h:109,
                    from /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/sr
   c/nv/nv.c:14:
   include/linux/highmem.h: In function âzero_user_segmentsâ:
   include/linux/highmem.h:134: warning: pointer of type âvoid *â used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type âvoid *â used in a
   rithmetic
   In file included from include/linux/compat.h:14,
                    from include/asm/mtrr.h:135,
                    from /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/sr
   c/nv/nv-linux.h:121,
                    from /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/sr
   c/nv/nv.c:14:
   include/asm/compat.h: In function âcompat_alloc_user_spaceâ:
   include/asm/compat.h:210: warning: pointer of type âvoid *â used in arit
   hmetic
   /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv.c: In function
   â__nv_setup_pat_entriesâ:
   /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv.c:944: warning
   : comparison between signed and unsigned
   /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv.c: In function
   â__nv_restore_pat_entriesâ:
   /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv.c:970: warning
   : comparison between signed and unsigned
   /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv.c: In function
   ânv_kern_cpu_callbackâ:
   /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv.c:1283: warnin
   g: comparison between signed and unsigned
   /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv.c:1290: warnin
   g: comparison between signed and unsigned
     cc -Wp,-MD,/tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/.nv-
   vm.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.3.0/include -D
   __KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.25.3-18.fc9.x86_64/in
   clude -include include/linux/autoconf.h  -I/tmp/selfgz5074/NVIDIA-Linux-x86_
   64-169.12-pkg2/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -
   fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -f
   no-stack-protector -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-
   at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNA
   L_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -
   mno-mmx -mno-sse2 -mno-3dnow -fno-omit-frame-pointer -fno-optimize-sibling-c
   alls -g -Wdeclaration-after-statement -Wno-pointer-sign  -I/tmp/selfgz5074/N
   VIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn
   -type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno
   -multichar -Werror -mcmodel=kernel -mno-red-zone -MD -Wsign-compare -Wno-cas
   t-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"169.12\
   " -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME
   =KBUILD_STR(nv_vm)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz
   5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv-vm.o /tmp/selfgz5074/NVID
   IA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv-vm.c
   In file included from include/asm/dma-mapping_64.h:9,
                    from include/asm/dma-mapping.h:4,
                    from include/linux/dma-mapping.h:52,
                    from include/asm-generic/pci-dma-compat.h:7,
                    from include/asm/pci.h:90,
                    from include/linux/pci.h:945,
                    from /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/sr
   c/nv/nv-linux.h:86,
                    from /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/sr
   c/nv/nv-vm.c:14:
   include/linux/scatterlist.h: In function âsg_virtâ:
   include/linux/scatterlist.h:199: warning: pointer of type âvoid *â used 
   in arithmetic
   In file included from include/asm/pci.h:90,
                    from include/linux/pci.h:945,
                    from /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/sr
   c/nv/nv-linux.h:86,
                    from /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/sr
   c/nv/nv-vm.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
   In file included from /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/sr
   c/nv/nv-linux.h:109,
                    from /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/sr
   c/nv/nv-vm.c:14:
   include/linux/highmem.h: In function âzero_user_segmentsâ:
   include/linux/highmem.h:134: warning: pointer of type âvoid *â used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type âvoid *â used in a
   rithmetic
   In file included from include/linux/compat.h:14,
                    from include/asm/mtrr.h:135,
                    from /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/sr
   c/nv/nv-linux.h:121,
                    from /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/sr
   c/nv/nv-vm.c:14:
   include/asm/compat.h: In function âcompat_alloc_user_spaceâ:
   include/asm/compat.h:210: warning: pointer of type âvoid *â used in arit
   hmetic
   /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv-vm.c: In funct
   ion ânv_flush_cachesâ:
   /tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv-vm.c:364: erro
   r: implicit declaration of function âglobal_flush_tlbâ
   make[4]: *** [/tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv-
   vm.o] Error 1
   make[3]: *** [_module_/tmp/selfgz5074/NVIDIA-Linux-x86_64-169.12-pkg2/usr/sr
   c/nv] Error 2
   make[2]: *** [sub-make] Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] 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.


      

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

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

  Powered by Linux