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

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-05-09, 02:30 PM   #1
moebald
Registered User
 
Join Date: Jan 2009
Posts: 1
Default Cannot compile nvidia kernel module on Slackware 12.2

Headers, Source, and Modules are installed. this is the log

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Jan 5 16:22:32 2009
installer version: 1.0.7

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
no cc version 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.
-> Installing NVIDIA driver version 96.43.07.
-> 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: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.27.7-smp/source'
-> Kernel output path: '/lib/modules/2.6.27.7-smp/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.27.7-smp/so
urce SYSOUT=/lib/modules/2.6.27.7-smp/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.27.7-smp/build KBUILD_VERBOSE=1 -C
/lib/modules/2.6.27.7-smp/source SUBDIRS=/tmp/selfgz6912/NVIDIA-Linux-x86-96
.43.07-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.27.7-smp/build \
KBUILD_SRC=/usr/src/linux-2.6.27.7 \
KBUILD_EXTMOD="/tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv" -
f /usr/src/linux-2.6.27.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/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/.tmp_vers
ions ; rm -f /tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/.tmp_
versions/*
make -f /usr/src/linux-2.6.27.7/scripts/Makefile.build obj=/tmp/selfgz6912/N
VIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv
cc -Wp,-MD,/tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.2.4/include -D__K
ERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.27.7/include -I/usr/src/li
nux-2.6.27.7/arch/x86/include -include include/linux/autoconf.h -I/tmp/self
gz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prot
otypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-func
tion-declaration -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpre
ferred-stack-boundary=2 -march=i686 -mtune=generic -ffreestanding -DCONFIG_A
S_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchro
nous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -I/usr/src/linux-2
.6.27.7/include/asm-x86/mach-default -Iinclude/asm-x86/mach-default -fno-sta
ck-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdecla
ration-after-statement -Wno-pointer-sign -I/tmp/selfgz6912/NVIDIA-Linux-x86
-96.43.07-pkg1/usr/src/nv -W
all -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenthes
es -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual
-Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_S
TRING=\"96.43.07\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -
D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c
-o /tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.o /tmp/selfg
z6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from include/linux/utsname.h:35,
from /tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
/nv/nv.c:14:
include/asm/bitops.h: En la funci√≥n ‚€˜set_bit‚€™:
include/asm/bitops.h:60: aviso: se us√≥ un puntero de tipo ‚€˜void *‚€™ en l
a aritmética
include/asm/bitops.h: En la funci√≥n ‚€˜clear_bit‚€™:
include/asm/bitops.h:97: aviso: se us√≥ un puntero de tipo ‚€˜void *‚€™ en l
a aritmética
In file included from include/linux/list.h:6,
from include/linux/preempt.h:11,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:57,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
/nv/nv.c:14:
include/linux/prefetch.h: En la funci√≥n ‚€˜prefetch_range‚€™:
include/linux/prefetch.h:57: aviso: se us√≥ un puntero de tipo ‚€˜void *‚€™
en la aritmética
In file included from include/linux/utsname.h:35,
from /tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
/nv/nv.c:14:
include/linux/sched.h: En la funci√≥n ‚€˜object_is_on_stack‚€™:
include/linux/sched.h:1971: aviso: se us√≥ un puntero de tipo ‚€˜void *‚€™ e
n la aritmética
In file included from include/asm/dma-mapping.h:9,
from include/linux/dma-mapping.h:52,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm/pci.h:94,
from include/linux/pci.h:983,
from /tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
/nv/nv-linux.h:85,
from /tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
/nv/nv.c:14:
include/linux/scatterlist.h: En la funci√≥n ‚€˜sg_virt‚€™:
include/linux/scatterlist.h:199: aviso: se us√≥ un puntero de tipo ‚€˜void *
‚€™ en la aritm√©tica
En el fichero inclu√*do de /tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/us
r/src/nv/nv.c:14:
/tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv-linux.h:106:27:
error: asm/semaphore.h: No existe el fichero o el directorio
In file included from /tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
/nv/nv-linux.h:108,
from /tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
/nv/nv.c:14:
include/linux/highmem.h: En la funci√≥n ‚€˜zero_user_segments‚€™:
include/linux/highmem.h:134: aviso: se us√≥ un puntero de tipo ‚€˜void *‚€™
en la aritmética
include/linux/highmem.h:134: aviso: se us√≥ un puntero de tipo ‚€˜void *‚€™
en la aritmética
include/linux/highmem.h:134: aviso: se us√≥ un puntero de tipo ‚€˜void *‚€™
en la aritmética
include/linux/highmem.h:134: aviso: se us√≥ un puntero de tipo ‚€˜void *‚€™
en la aritmética
include/linux/highmem.h:137: aviso: se us√≥ un puntero de tipo ‚€˜void *‚€™
en la aritmética
include/linux/highmem.h:137: aviso: se us√≥ un puntero de tipo ‚€˜void *‚€™
en la aritmética
include/linux/highmem.h:137: aviso: se us√≥ un puntero de tipo ‚€˜void *‚€™
en la aritmética
include/linux/highmem.h:137: aviso: se us√≥ un puntero de tipo ‚€˜void *‚€™
en la aritmética
In file included from /tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
/nv/nv.c:14:
/tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv-linux.h: En la
funci√≥n ‚€˜nv_execute_on_all_cpus‚€™:
/tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv-linux.h:627: er
ror: demasiados argumentos para la funci√≥n ‚€˜on_each_cpu‚€™
/tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c: En la funci√
≥n ‚€˜__nv_setup_pat_entries‚€™:
/tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c:836: aviso: c
omparación entre signed y unsigned
/tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c: En la funci√
≥n ‚€˜__nv_restore_pat_entries‚€™:
/tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c:862: aviso: c
omparación entre signed y unsigned
/tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c: En la funci√
≥n ‚€˜nv_kern_cpu_callback‚€™:
/tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c:1188: aviso:
comparación entre signed y unsigned
/tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c:1191: error:
demasiados argumentos para la funci√≥n ‚€˜smp_call_function‚€™
/tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c:1195: aviso:
comparación entre signed y unsigned
/tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c:1198: error:
demasiados argumentos para la funci√≥n ‚€˜smp_call_function‚€™
make[4]: *** [/tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.o
] Error 1
make[3]: *** [_module_/tmp/selfgz6912/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
/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.
moebald is offline   Reply With Quote
Old 01-05-09, 03:39 PM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Cannot compile nvidia kernel module on Slackware 12.2

Please see http://www.nvnews.net/vbulletin/showthread.php?t=122139.
zander 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
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 05:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 12:04 PM
Lucid rt kernel can't load latest nvidia driver module, but generic does. marcod NVIDIA Linux 0 05-02-12 07:23 AM
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-02-02 12:58 AM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 02:44 PM

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


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