Fehler beim compiliren vom Nvidia Treiber

Dieses Thema im Forum "Grafik / Video" wurde erstellt von g0t0, 22.04.2007.

  1. #1 g0t0, 22.04.2007
    Zuletzt bearbeitet: 22.04.2007
    g0t0

    g0t0

    Dabei seit:
    25.05.2006
    Beiträge:
    313
    Zustimmungen:
    0
    Hi, ich habe mir unter Ubuntu meinen eigenen Kernel compiliert, allerdings funktioniert mit diesem Kernel mein Nvidia Treiber nicht.
    Mit dem normalen Standard Kernel konnte ich vor einigen Wochen ohne Probleme den Treiber compiliren, wenn ich das mit dem neuen Kernel versuche kommt allerdings während des Kernel Modul erstellens ein Fehler.
    Hier die Log Datei:

    Code:
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Sun Apr 22 20:30:00 2007
    
    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)
      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)
      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-
       9755).  As part of installing this driver (version: 1.0-9755), 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)
    ERROR: Unable to connect to download.nvidia.com (unknown host)
    -> 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.20.7-blue/source'
    -> Kernel output path: '/lib/modules/2.6.20.7-blue/build'
    -> Performing rivafb check.
    -> Performing nvidiafb check.
    -> Performing Xen 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 Modules.symvers
       rm -f -rf .tmp_versions
       rm -f Makefile
    -> Building kernel module:
       executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.20.7-blue/s
       ource SYSOUT=/lib/modules/2.6.20.7-blue/build'...
       sh ./conftest.sh "cc" "cc" /lib/modules/2.6.20.7-blue/source /lib/modules/2.
       6.20.7-blue/build cc_sanity_check full_output
       sh ./conftest.sh "cc" "cc" /lib/modules/2.6.20.7-blue/source /lib/modules/2.
       6.20.7-blue/build select_makefile full_output
       make --no-print-directory -f Makefile module
       
       NVIDIA: calling KBUILD...
       make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.20.7-blue/build KBUILD_VERBOSE=1 -
       C /lib/modules/2.6.20.7-blue/source SUBDIRS=/tmp/selfgz5292/NVIDIA-Linux-x86
       -1.0-9755-pkg1/usr/src/nv modules
       make -C /lib/modules/2.6.20.7-blue/build \
       	KBUILD_SRC=/usr/src/linux-2.6.20.7 \
       	KBUILD_EXTMOD="/tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv" -
       f /usr/src/linux-2.6.20.7/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/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_vers
       ions
       rm -f /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_version
       s/*
       make -f /usr/src/linux-2.6.20.7/scripts/Makefile.build obj=/tmp/selfgz5292/N
       VIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv
       echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz5292/NVI
       DIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv_compiler.h
         cc -Wp,-MD,/tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.nv.o
       .d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL_
       _ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.20.7/include -include include/li
       nux/autoconf.h  -I/tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv 
       -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-c
       ommon -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2 -march
       =i686 -mtune=pentium4 -mtune=generic -ffreestanding -maccumulate-outgoing-ar
       gs -I/usr/src/linux-2.6.20.7/include/asm-i386/mach-default -Iinclud
       e/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdecla
       ration-after-statement -Wno-pointer-sign  -I/tmp/selfgz5292/NVIDIA-Linux-x86
       -1.0-9755-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -
       Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fn
       o-common -msoft-float -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_
       KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VE
       RSION=0 -DNV_PATCHLEVEL=9755 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RL
       IM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSC
       TL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRE
       SENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_RE
       MAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMO
       DULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODN
       AME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1
       /usr/src/nv/.tmp_nv.o /tmp/selfgz529
       2/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c
       In file included from include/linux/list.h:8,
                        from include/linux/wait.h:22,
                        from include/asm/semaphore.h:41,
                        from include/linux/sched.h:59,
                        from include/linux/utsname.h:35,
                        from /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
       /nv/nv-linux.h:19,
                        from /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
       /nv/nv.c:14:
       include/linux/prefetch.h: In Funktion »prefetch_range«:
       include/linux/prefetch.h:62: Warnung: Zeiger auf Typen »void *« in Arithme
       tik verwendet
       /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: Auf höchste
       r Ebene:
       /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:110: Warnung:
       »kmem_cache_t« ist veraltet
         cc -Wp,-MD,/tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.nv-v
       m.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERN
       EL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.20.7/include -include include
       /linux/autoconf.h  -I/tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/
       nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fn
       o-common -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2 -ma
       rch=i686 -mtune=pentium4 -mtune=generic -ffreestanding -maccumulate-outgoing
       -args -I/usr/src/linux-2.6.20.7/include/asm-i386/mach-default -Iinclude/asm-
       i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration
       -after-statement -Wno-pointer-sign  -I/tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9
       755-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-
       subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-comm
       on -msoft-float -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL
       _NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=
       0 -DNV_PATCHLEVEL=9755 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DN
       V_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX
       _MAP_COUNT_PRESENT
        -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE
       _PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -D
       NV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s
       " -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia
       )" -c -o /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_nv-v
       m.o /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv-vm.c
       In file included from include/linux/list.h:8,
                        from include/linux/wait.h:22,
                        from include/asm/semaphore.h:41,
                        from include/linux/sched.h:59,
                        from include/linux/utsname.h:35,
                        from /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
       /nv/nv-linux.h:19,
                        from /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
       /nv/nv-vm.c:14:
       include/linux/prefetch.h: In Funktion »prefetch_range«:
       include/linux/prefetch.h:62: Warnung: Zeiger auf Typen »void *« in Arithme
       tik verwendet
         cc -Wp,-MD,/tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.os-a
       gp.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KER
       NEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.20.7/include -include includ
       e/linux/autoconf.h  -I/tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
       /nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -f
       no-common -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2 -m
       arch=i686 -mtune=pentium4 -mtune=generic -ffreestanding -maccumulate-outgoin
       g-args -I/usr/src/linux-2.6.20.7/include/asm-i386/mach-default -Iinclude/asm
       -i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaratio
       n-after-statement -Wno-pointer-sign  -I/tmp/selfgz5292/NVIDIA-Linux-x86-1.0-
       9755-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar
       -subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-com
       mon -msoft-float -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNE
       L_NAMES -D__KERNEL__ -DMODULE -DNV
       RM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=9755 -UDEBUG -U
       _DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT
       -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE
       _T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OL
       D_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_A
       TTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASE
       NAME=KBUILD_STR(os_agp)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/s
       elfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_os-agp.o /tmp/selfg
       z5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/os-agp.c
       In file included from include/linux/list.h:8,
                        from include/linux/wait.h:22,
                        from include/asm/semaphore.h:41,
                        from include/linux/sched.h:59,
                        from include/linux/utsname.h:35,
                        from /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
       /nv/nv-linux.h:19,
                        from /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
       /nv/os-agp.c:24:
       include/linux/prefetch.h: In Funktion »prefetch_range«:
       include/linux/prefetch.h:62: Warnung: Zeiger auf Typen »void *« in Arithme
       tik verwendet
         cc -Wp,-MD,/tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.os-i
       nterface.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -
       D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.20.7/include -include 
       include/linux/autoconf.h  -I/tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/u
       sr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-alias
       ing -fno-common -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundar
       y=2 -march=i686 -mtune=pentium4 -mtune=generic -ffreestanding -maccumulate-o
       utgoing-args -I/usr/src/linux-2.6.20.7/include/asm-i386/mach-default -Iinclu
       de/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdecl
       aration-after-statement -Wno-pointer-sign  -I/tmp/selfgz5292/NVIDIA-Linux-x8
       6-1.0-9755-pkg1/usr/src/nv -Wall -Wimplicit -
       Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ari
       th -Wno-multichar -Werror -O -fno-common -msoft-float -MD -Wsign-compare -Wn
       o-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -D
       NV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=9755 -UDEBUG -U_DEBU
       G -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV
       _PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_P
       RESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM
       _KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_
       PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME
       =KBUILD_STR(os_interface)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp
       /selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_os-interface.o /t
       mp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/os-interface.c
       In file included from include/linux/list.h:8,
                        from include/linux/wait.h:22,
                        from include/asm/semaphore.h:41,
                        from include/linux/sched.h:59,
                        from include/linux/utsname.h:35,
                        from /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
       /nv/nv-linux.h:19,
                        from /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
       /nv/os-interface.c:26:
       include/linux/prefetch.h: In Funktion »prefetch_range«:
       include/linux/prefetch.h:62: Warnung: Zeiger auf Typen »void *« in Arithme
       tik verwendet
         cc -Wp,-MD,/tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.os-r
       egistry.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D
       __KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.20.7/include -include i
       nclude/linux/autoconf.h  -I/tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/us
       r/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasi
       ng -fno-common -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary
       =2 -march=i686 -mtune=pentium4 -mtune=generic -ffreestanding -maccumulate-ou
       tgoing-args -I/usr/src/lin
       ux-2.6.20.7/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -f
       omit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wn
       o-pointer-sign  -I/tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv 
       -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenth
       eses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-float -MD 
       -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ 
       -DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=97
       55 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AG
       PGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -
       DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_P
       RESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV
       _CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" 
       -D"KBUILD_BASENAME=KBUILD_STR(os_registry)"  -D"KBUILD_MODNAME=KBUILD_STR(nv
       idia)" -c -o /tmp/selfgz5292/NVIDIA-
       Linux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_os-registry.o /tmp/selfgz5292/NVIDIA
       -Linux-x86-1.0-9755-pkg1/usr/src/nv/os-registry.c
       In file included from include/linux/list.h:8,
                        from include/linux/wait.h:22,
                        from include/asm/semaphore.h:41,
                        from include/linux/sched.h:59,
                        from include/linux/utsname.h:35,
                        from /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
       /nv/nv-linux.h:19,
                        from /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
       /nv/os-registry.c:14:
       include/linux/prefetch.h: In Funktion »prefetch_range«:
       include/linux/prefetch.h:62: Warnung: Zeiger auf Typen »void *« in Arithme
       tik verwendet
         cc -Wp,-MD,/tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.nv-i
       2c.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KER
       NEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.20.7/include -include includ
       e/linux/autoconf.h  -I/tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
       /nv -Wall -W
       undef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O
       2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2 -march=i686 -m
       tune=pentium4 -mtune=generic -ffreestanding -maccumulate-outgoing-args -I/us
       r/src/linux-2.6.20.7/include/asm-i386/mach-default -Iinclude/asm-i386/mach-d
       efault -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-stat
       ement -Wno-pointer-sign  -I/tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/us
       r/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts 
       -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-f
       loat -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__
       KERNEL__ -DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATC
       HLEVEL=9755 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_
       BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_
       PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSE
       RT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BRE
       AKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -
       DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_S
       TR(nv_i2c)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz5292/NVI
       DIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_nv-i2c.o /tmp/selfgz5292/NVIDIA-
       Linux-x86-1.0-9755-pkg1/usr/src/nv/nv-i2c.c
       In file included from include/linux/list.h:8,
                        from include/linux/wait.h:22,
                        from include/asm/semaphore.h:41,
                        from include/linux/sched.h:59,
                        from include/linux/utsname.h:35,
                        from /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
       /nv/nv-linux.h:19,
                        from /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
       /nv/nv-i2c.c:8:
       include/linux/prefetch.h: In Funktion »prefetch_range«:
       include/linux/prefetch.h:62: Warnung: Zeiger auf Typen »void *« in Arithme
       tik verwendet
         ld -m elf_i386 -m elf_i386  -r -o /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-975
       5-pkg1/usr/src/nv/nvidia.o /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/us
       r/src/nv/nv-kernel.o /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/
       nv/nv.o /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv-vm.o /t
       mp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/os-agp.o /tmp/selfgz
       5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/os-interface.o /tmp/selfgz529
       2/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/os-registry.o /tmp/selfgz5292/NV
       IDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv-i2c.o
         Building modules, stage 2.
       make -f /usr/src/linux-2.6.20.7/scripts/Makefile.modpost
         scripts/mod/modpost -m -a -i /usr/src/linux-2.6.20.7/Module.symvers -I /tm
       p/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/Module.symvers -o /tm
       p/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/Module.symvers -w vml
       inux /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nvidia.o
       WARNING: vmlinux - Section mismatch: reference to .init.data:boot_params fro
       m .text between '_text' (at offset 0xc0100036) and 'checkCPUtype'
       WARNING: vmlinux - Section mismatch: reference to .init.data:boot_params fro
       m .text between '_text' (at offset 0xc0100044) and 'checkCPUtype'
       WARNING: vmlinux - Section mismatch: reference to .init.data:init_pg_tables_
       end from .text between '_text' (at offset 0xc01000a6) and 'checkCPUtype'
       WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
       om .text between 'checkCPUtype' (at offset 0xc01000d5) and 'is486'
       WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
       om .text between 'checkCPUtype' (at offset 0xc01000df) and 'is486'
       WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
       om .text between 'checkCPUtype' (at offset 0xc01000fe) and 'is486'
       WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
       om .text between 'checkCPUtype' (at offset 0xc010010f) and 'is486'
       WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
       om .text between 'checkCPUtype' (at offset 0xc0100115) and 'is486'
       WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
       om .text between 'checkCPUtype' (at offset 0xc010011b) and 'is486'
       WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
       om .text between 'checkCPUtype' (at offset 0xc0100121) and 'is486'
       WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
       om .text between 'checkCPUtype' (at offset 0xc0100137) and 'is486'
       WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
       om .text between 'checkCPUtype' (at offset 0xc0100141) and 'is486'
       WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
       om .text between 'checkCPUtype' (at offset 0xc010014a) and 'is486'
       WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
       om .text between 'checkCPUtype' (at offset 0xc0100150) and 'is486'
       WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
       om .text between 'check_x87' (at offset 0xc01001b4) and 'setup_pda'
       WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data fr
       om .text between 'check_x87' (at offset 0xc01001d2) and 'setup_pda'
       WARNING: vmlinux - Section mismatch: reference to .init.text:start_kernel fr
       om .text between 'is386' (at offset 0xc01001ae) and 'check_x87'
       WARNING: vmlinux - Section mismatch: reference to .init.text:spawn_ksoftirqd
       from .text between 'init' (at offset 0xc01003a2) and 'rest_init'
       WARNING: vmlinux - Section mismatch: reference to .init.text:spawn_softlocku
       p_task from .text between 'init' (at offset 0xc01003a7) and 'rest_init'
       WARNING: vmlinux - Section mismatch: reference to .init.text:APIC_init_unipr
       ocessor from .text between 'init' (at offset 0xc01003ac) and 'rest_init'
       WARNING: vmlinux - Section mismatch: reference to .init.text:sched_init_smp 
       from .text between 'init' (at offset 0xc01003b1) and 'rest_init'
       WARNING: vmlinux - Section mismatch: reference to .init.text:usermodehelper_
       init from .text between 'init' (at offset 0xc01003bb) and 'rest_init'
       WARNING: vmlinux - Section mismatch: reference to .init.text:driver_init fro
       m .text between 'init' (at offset 0xc01003c1) and 'rest_init'
       WARNING: vmlinux - Section mismatch: reference to .init.text:sysctl_init fro
       m .text between 'init' (at offset 0xc01003c6) and 'rest_init'
       WARNING: vmlinux - Section mismatch: reference to .init.data: from .text bet
       ween 'init' (at offset 0xc01003e8) and 'rest_init'
       WARNING: vmlinux - Section mismatch: reference to .init.data: from .text bet
       ween 'init' (at offset 0xc0100404) and 'rest_init'
       WARNING: vmlinux - Section mismatch: reference to .init.text:prepare_namespa
       ce from .text between 'init' (at offset 0xc01005ef) and 'rest_init'
       WARNING: vmlinux - Section mismatch: reference to .init.data:initkmem_list3 
       from .text between 'set_up_list3s' (at offset 0xc016733f) and 's_start'
       WARNING: vmlinux - Section mismatch: reference to .init.text:eisa_root_regis
       ter from .text between 'pci_eisa_init' (at offset 0xc026797b) and 'virtual_e
       isa_release'
       WARNING: vmlinux - Section mismatch: reference to .init.text:eisa_root_regis
       ter from .text between 'virtual_eisa_root_init' (at offset 0xc02679df) and '
       adjust_jiffies'
       WARNING: vmlinux - Section mismatch: reference to .init.text: from .text bet
       ween 'iret_exc' (at offset 0xc02fb000) and '_etext'
       WARNING: vmlinux - Section mismatch: reference to .init.text:start_kernel fr
       om .paravirtprobe between '__start_paravirtprobe' (at offset 0xc03c1fd0) and
       '__stop_paravirtprobe'
       WARNING: could not find /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/s
       rc/nv/.nv-kernel.o.cmd for /tmp/selfgz5292/NVIDIA-Linux-x86-1.0-9755-pkg1/us
       r/src/nv/nv-kernel.o
       FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'para
       virt_ops'
       make[4]: *** [__modpost] Fehler 1
       make[3]: *** [modules] Fehler 2
       make[2]: *** [modules] Fehler 2
       NVIDIA: left KBUILD.
       nvidia.ko failed to build!
       make[1]: *** [module] Fehler 1
       make: *** [module] Fehler 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.
     
  2. Anzeige

    Schau dir mal diese Kategorie an. Dort findest du bestimmt etwas.
    Registrieren bzw. einloggen, um diese und auch andere Anzeigen zu deaktivieren
  3. #2 HanSolo, 22.04.2007
    HanSolo

    HanSolo Grünschnabel

    Dabei seit:
    22.07.2005
    Beiträge:
    9
    Zustimmungen:
    0
  4. g0t0

    g0t0

    Dabei seit:
    25.05.2006
    Beiträge:
    313
    Zustimmungen:
    0
    Funktioniert bei mir nicht, nachdem ich die config usw. gespeichert habe muss ich dann den ganzen kernel neu compiliren oder reicht es wenn ich das nur beim source mache und das Kernel Paket so lasse wie es ist?
     
  5. rdg

    rdg ???

    Dabei seit:
    12.10.2006
    Beiträge:
    357
    Zustimmungen:
    0
    Ort:
    Berlin
    Wie so alle meine Antworten beginnen sag ich erst einmal dass ich auch nicht so die Ahnung habe, sondern nur eine Idee waran es liegen kan und diese natürlich falsch sein.

    nvidia benötigt die Kernel sources, wenn der kernel geändert wurde passen die sourxes nicht mehr dazu, kann es vielleicht daran leigen?

    gruß
    rdg
     
  6. g0t0

    g0t0

    Dabei seit:
    25.05.2006
    Beiträge:
    313
    Zustimmungen:
    0
    Nein eigentlich nicht das Modul müsste ja trotzdem compiliren wenn die sources stimmen, ob es passt ist ja eine andere Sache.

    Ich bin nun soweit gekommen dass ich die entsprechenden Stellen im Quellcode verändert habe und nun läuft alles, das kann ich hier aber schlecht für Leute mit dem gleichen Fehler erklären weil es ein ganz gutes Stück war.

    mfg g0t0
     
Thema:

Fehler beim compiliren vom Nvidia Treiber

Die Seite wird geladen...

Fehler beim compiliren vom Nvidia Treiber - Ähnliche Themen

  1. Ubuntu fehler beim instalieren

    Ubuntu fehler beim instalieren: Hallo Ich wollte auf meinem Pc Ubuntu neben Windows instalieren da ich hörte ist besser geignet für steam games. Ich habe mir deshalb auf einem...
  2. fstab: Netzlaufwerk beim Booten einbinden verursacht Fehler

    fstab: Netzlaufwerk beim Booten einbinden verursacht Fehler: Ich benutze davfs2, um ein WebDAV-Verzeichnis einzubinden. Wenn ich folgenden Eintrag in meine fstab schreibe, kann ich das Verzeichnis wunderbar...
  3. KSH: Problem beim Umleiten des Fehlerkanals

    KSH: Problem beim Umleiten des Fehlerkanals: Hallo, in einen KSH Skript führe ich folgende Befehle aus RESULT=""; ERROR=""; idsldapsearch -h localhost -p $PORT -D $USER -w $PW -s sub -b...
  4. Fehlermeldung beim SSH-Login / Server nicht mehr erreichbar

    Fehlermeldung beim SSH-Login / Server nicht mehr erreichbar: Hallo, nach einem Neustart ist mein Lenny (Root-Server bei Hetzner) leider nicht mehr so richtig aufgewacht. Die Symptome: - Websites sind...
  5. VirtualBox Fehler beim Installieren

    VirtualBox Fehler beim Installieren: Hallo zusammen Ich habe mir das Fedora 15 aufegspielt und wollte mir heute mal die Virtualbox installieren. Lerider bekomme ich immer ein Fehler...