Ubuntu 10.04 and CUDA

Is there someone who installed CUDA on Ubuntu 10.04?

yep, used gcc4.3 for compiling the SDK.
examples are running just fine

N.

Do you managed to have gcc 4.3 and 4.4 side by side?

Mike

Yep, just run
sudo apt-get install gcc-4.3 g+±4.3

If you want to configure it easily, you can use update-alternatives:

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.3 40 --slave /usr/bin/g++ g++ /usr/bin/g+±4.3
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.4 60 --slave /usr/bin/g++ g++ /usr/bin/g+±4.4

Now, if you want to change between gcc versions, simply run
sudo update-alternatives --config gcc

N.

Thanks Nico!

Just tried your commands and they worked like a charm!

Did you use the CUDA 2.3 driver? I just tried the 3.0 driver on Ubuntu 10.04 and can’t build the nvidia.ko kernel module. The error message suggests some explanations:

“ERROR: Unable to load the kernel module ‘nvidia.ko’. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as rivafb/nvidiafb is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU installed in this system is not supported by this NVIDIA Linux graphics driver release.”

I’m compiling with the default GCC, 4.4.3, which I assume is the same one used to build the Linux kernel. The GCC 4.3 workaround for the SDK shouldn’t apply to compiling the driver, should it? Some of the other explanations above can be ruled out: the /var/log/nvidia-installer.log shows it checked for rivafb and nvidiafb and didn’t crash at that point, so I don’t think those were present; and the GPU present is a GeForce 8800, which should be supported by the newest driver release.

I’ll try using the 2.3 driver and see if that works.

I’m running the 195.36.24 driver and it’s running smoothly.

Getting it to work was the difficult part 'cause the installation procedure differs from the previous versions.

Here’s what I did to install the binary drivers from nvidia’s site.

  1. Make sure you downloaded the correct driver from nvidia’s site.

  2. remove current nvidia packages:

(if you have enabled nvidia in system->administration->hardware drivers, then disable them first and possibly reboot)

sudo apt-get purge nvidia-*

  1. Create the file “/etc/modprobe.d/nvidia-graphics-drivers.conf” with the following contents
blacklist vga16fb

blacklist nouveau

blacklist lbm-nouveau

blacklist nvidia-173

blacklist nvidia-96

blacklist nvidia-current

blacklist nvidiafb
  1. create or adjust the /etx/X11/xorg.conf file to:
Section "Device"

	Identifier	 "Device0"

	Driver		 "nvidia"

	VendorName	 "NVIDIA Corporation"

EndSection
  1. reboot

  2. it will tell you that it can’t start X ( low graphics mode ) , then choose a text based console login

(if it does start in X, just press ctrl-F1, log yourself in and call “sudo service gdm stop”

  1. run the nvidia installer and when it asks to run nvidia-x-config, answer yes

  2. start X: sudo service gdm start

N.

Nico – Success! I hadn’t heard of creating an “nvidia-graphics-drivers.conf” blacklist file before, but that worked. I used the CUDA 3.0 drivers. Thanks so much!

Hello folks,

I was able to install the 3.0 drivers for CUDA on my Ubuntu 10.04 LTS, but even using the update-alternatives I cannot make the SDK examples. The first example is OK, but then I got this message error:

Any ideas?

Thanks in advance…

sudo apt-get install libglu1

N.

I have tried this, and I have a very similar problem. I get to this point:

[codebox]make[1]: Leaving directory `/home/nere/cuda/current/NVIDIA_GPU_Computing_SDK/shared’

make -C src/smokeParticles/

make[1]: Entering directory `/home/nere/cuda/current/NVIDIA_GPU_Computing_SDK/C/src/smokeParticles’

/usr/bin/ld: cannot find -lGL

collect2: ld returned 1 exit status

make[1]: *** […/…/bin/linux/release/smokeParticles] Error 1

make[1]: Leaving directory `/home/nere/cuda/current/NVIDIA_GPU_Computing_SDK/C/src/smokeParticles’

make: *** [src/smokeParticles/Makefile.ph_build] Error 2

[/codebox]

Any ideas anyone?

Nevermind, just had to run Update Manager, and the problem was fixed. I have Ubuntu 10.04 working with CUDA 3.0 now on a geforce 9800 gx2!

Thanks for all the helpful info above.

Only problem left is that I can run most of the samples, except for any of them that actually display some graphics (oceanFFT, fluidsGL, etc). For instance, with the fluidsGL, I get the following:

[codebox][fluidsGL] - [OpenGL/CUDA simulation]

CUDA device [GeForce 9800 GX2] has 16 Multi-Processors

fluidsGL_kernels.cu(29) : cutilCheckMsg() CUTIL CUDA error : cudaMalloc failed : unknown error.[/codebox]

Any ideas?

Thanks for your help, Nico. But I already have “libglu1-mesa” installed. Is it necessary to install “libblu1-mesa-dev” to compile the CUDA SDK? It seems that a lot of non-authenticated packages comes together.

It looks like the libglu1-mesa package is missing the symbolic link /usr/lib/libGLU.so , this is not the case in the dev-package.
Try this:

sudo ln -s /usr/lib/libGLU.so.1 /usr/lib/libGLU.so

N.

In my case I found that the “proprietary” driver that 10.04 prompts to install doesn’t include the necessary components for CUDA development.

Once I replaced the included driver with the driver of the same version (downloaded from nVidia), everything started working again.

Running 10.04 with CUDA 3.0, gcc-4.3

I’m also trying to install the CUDA devdriver on ubuntu 10.04. The instructions above haven’t worked. The installer hasn’t created an nvidia.ko file for the 2.6.32-22 headers.
Below is the nvidia-installer.log file. Also the output of lsmod and lspci.
Many thanks,
David

nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Fri May 14 11:43:35 2010
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)
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.
→ Installing NVIDIA driver version 195.36.15.
→ There appears to already be a driver installed on your system (version: 195.
36.15). As part of installing this driver (version: 195.36.15), the existin
g driver will be uninstalled. Are you sure you want to continue? (‘no’ will
abort installation) (Answer: Yes)
→ Performing CC sanity check with CC=“cc”.
→ Performing CC version check with CC=“cc”.
→ Kernel source path: ‘/lib/modules/2.6.32-22-generic/build’
→ Kernel output path: ‘/lib/modules/2.6.32-22-generic/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.32-22-gener
ic/build SYSOUT=/lib/modules/2.6.32-22-generic/build’…
NVIDIA: calling KBUILD…
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/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.tmp_
versions ; rm -f /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/
nv/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/selfgz1878/NVIDIA-Linux-x86_64-195.3
6.15-pkg2/usr/src/nv
cc -Wp,-MD,/tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include -Iin
clude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include -include
include/linux/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -Wstri
ct-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implic
it-functio
n-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64
-mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-o
utgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAM
E=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mm
x -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno
-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign
-fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1878/
NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type
-Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multi
char -Werror -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD -Wsign-compare
-Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=
“195.36.15" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s” -D"KBU
ILD_BASENAME=KBUILD_STR(nv)” -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /
tmp/selfgz1878/NVIDIA-Linux-x86_64
-195.36.15-pkg2/usr/src/nv/.tmp_nv.o /tmp/selfgz1878/NVIDIA-Linux-x86_64-195
.36.15-pkg2/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:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv.c:14:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv.c:14:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/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 /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv.c:14:
include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
include/asm-generic/dma-mapping-common.h:77: warning: pointer of type ‘voi
d *’ used in arithmetic
In file included from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv.c:14:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv.c:14:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nv.o”;
cc -Wp,-MD,/tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
nv_gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include
-Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include -incl
ude include/linux/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -W
strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-im
plicit-function-declaration -Wno-format-security -fno-delete-null-pointer-ch
ecks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time
-maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_C
FI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -m
no-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-fram
e-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno
-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/t
mp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv -Wall -Wimplicit

Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ari
th -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD -
Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VE
RSION_STRING="195.36.15" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR
(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)" -D"KBUILD_MODNAME=KBUILD_STR
(nvidia)" -c -o /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/
nv/.tmp_nv_gvi.o /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/
nv/nv_gvi.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv_gvi.c:15:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv_gvi.c:15:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv_gvi.c:15:
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 /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv_gvi.c:15:
include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
include/asm-generic/dma-mapping-common.h:77: warning: pointer of type ‘voi
d *’ used in arithmetic
In file included from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv_gvi.c:15:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv_gvi.c:15:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nv_gvi.o”;
cc -Wp,-MD,/tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include -
Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include -inclu
de include/linux/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -Ws
trict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-imp
licit-function-declaration -Wno-format-security -fno-delete-null-pointer-che
cks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-a
t-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCO
NFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-
tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-
omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-state
ment -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-s
tack -I/tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv -Wall -
Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -W
pointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defe
r-pop -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DN
VRM -DNV_VERSION_STRING="195.36.15" -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/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg
2/usr/src/nv/.tmp_nv-vm.o /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2
/usr/src/nv/nv-vm.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-vm.c:14:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-vm.c:14:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/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 /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-vm.c:14:
include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
include/asm-generic/dma-mapping-common.h:77: warning: pointer of type ‘voi
d *’ used in arithmetic
In file included from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-vm.c:14:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-vm.c:14:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nv-vm.o”;
cc -Wp,-MD,/tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
os-agp.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include
-Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include -incl
ude include/linux/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -W
strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-im
plicit-function-declaration -Wno-format-security -fno-delete-null-pointer-ch
ecks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time
-maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_C
FI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -m
no-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-fram
e-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno
-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/t
mp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv -Wall -Wimplicit
-Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ar
ith -Wno-multichar -Werr
or -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD -Wsign-compare -Wno-cast
-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="195.36.1
5" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASEN
AME=KBUILD_STR(os_agp)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/s
elfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.tmp_os-agp.o /tmp/s
elfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-agp.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-agp.c:24:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-agp.c:24:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-agp.c:24:
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 /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-agp.c:24:
include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
include/asm-generic/dma-mapping-common.h:77: warning: pointer of type ‘voi
d *’ used in arithmetic
In file included from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-agp.c:24:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-agp.c:24:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-agp.o”;
cc -Wp,-MD,/tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
os-interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/inc
lude -Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include
-include include/linux/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wund
ef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werr
or-implicit-function-declaration -Wno-format-security -fno-delete-null-point
er-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-
time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG
AS_CFI_SIGN
AL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse
-mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-point
er -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointe
r-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/self
gz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv -Wall -Wimplicit -Wretu
rn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -W
no-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD -Wsign
-compare -Wno-cast-qual -Wno-error -D__KERNEL
_ -DMODULE -DNVRM -DNV_VERSION
STRING="195.36.15" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#
s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_ST
R(nvidia)" -c -o /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src
/nv/.tmp_os-interface.o /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/u
sr/src/nv/os-interface.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-interface.c:26:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-interface.c:26:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-interface.c:26:
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 /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-interface.c:26:
include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
include/asm-generic/dma-mapping-common.h:77: warning: pointer of type ‘voi
d *’ used in arithmetic
In file included from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-interface.c:26:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-interface.c:26:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-interface.o”;
cc -Wp,-MD,/tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
os-registry.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/incl
ude -Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include
-include include/linux/autoconf.h -Iubuntu/include -D__KERNEL
_ -Wall -Wund
ef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werr
or-implicit-function-declaration -Wno-format-security -fno-delete-null-point
er-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-
time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG
AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tabl
es -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit
-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement
-Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack
-I/tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv -Wall -Wimpl
icit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpoint
er-arith -Wno-multichar -Werror -mcmodel=kerne
l -mno-red-zone -fno-defer-pop -MD -Wsign-compare -Wno-cast-qual -Wno-error
-D__KERNEL
_ -DMODULE -DNVRM -DNV_VERSION_STRING="195.36.15" -UDEBUG -U_DE
BUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os
registry)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1878/NV
IDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.tmp_os-registry.o /tmp/selfgz18
78/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-registry.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-registry.c:15:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-registry.c:15:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-registry.c:15:
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 /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-registry.c:15:
include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
include/asm-generic/dma-mapping-common.h:77: warning: pointer of type ‘voi
d *’ used in arithmetic
In file included from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-registry.c:15:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-registry.c:15:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-registry.o”;
cc -Wp,-MD,/tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include
-Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include -incl
ude include/linux/autoconf.h -Iubuntu/include -D__KERNEL
_ -Wall -Wundef -W
strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-im
plicit-function-declaration -Wno-format-security -fno-delete-null-pointer-ch
ecks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time
-maccumulate-outgoing-args -fstack-protector -DCONFIG_AS
CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchron
ous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than
=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-
after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -
fconserve-stack -I/tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src
/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpar
entheses -Wpointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zon
e -fno-defer-pop -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL
_ -
DMODULE -DNVRM -DNV_VERSION_STRING="195.36.15" -UDEBUG -U_DEBUG -DNDEBUG
-DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBU
ILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1878/NVIDIA-Linux-x86_64-1
95.36.15-pkg2/usr/src/nv/.tmp_nv-i2c.o /tmp/selfgz1878/NVIDIA-Linux-x86_64-1
95.36.15-pkg2/usr/src/nv/nv-i2c.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-i2c.c:8:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-i2c.c:8:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-i2c.c:8:
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 /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-i2c.c:8:
include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
include/asm-generic/dma-mapping-common.h:77: warning: pointer of type ‘voi
d *’ used in arithmetic
In file included from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-i2c.c:8:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-i2c.c:8:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nv-i2c.o”;
cc -Wp,-MD,/tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
nvacpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include
-Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include -incl
ude include/linux/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -W
strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-im
plicit-function-declaration -Wno-format-security -fno-delete-null-pointer-ch
ecks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time
-maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_C
FI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -m
no-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-fram
e-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno
-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/t
mp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv -Wall -Wimplicit
-Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ar
ith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD
-Wsign-co
mpare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_ST
RING="195.36.15" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(nvacpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)
" -c -o /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.tmp_
nvacpi.o /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nvacp
i.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nvacpi.c:15:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nvacpi.c:15:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nvacpi.c:15:
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 /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nvacpi.c:15:
include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
include/asm-generic/dma-mapping-common.h:77: warning: pointer of type ‘voi
d *’ used in arithmetic
In file included from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nvacpi.c:15:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nvacpi.c:15:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nvacpi.o”;
ld -m elf_x86_64 -r -o /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg
2/usr/src/nv/nvidia.o /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-kernel.o /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/s
rc/nv/nv.o /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nv_
gvi.o /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nv-vm.o
/tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-agp.o /tmp/
selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-interface.o /tmp
/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-registry.o /tmp
/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nv-i2c.o /tmp/se
lfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nvacpi.o
(cat /dev/null; echo kernel//tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-
pkg2/usr/src/nv/nvidia.ko;) > /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-
pkg2/usr/src/nv/modules.order
make -f /usr/src/linux-headers-2.6.32-22-generic/scripts/Makefile.modpost
scripts/mod/modpost -m -a -i /usr/src/linux-headers-2.6.32-22-generic/Modu
le.symvers -I /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/
Module.symvers -o /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/sr
c/nv/Module.symvers -S -w -s
WARNING: could not find /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/u
sr/src/nv/.nv-kernel.o.cmd for /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15
-pkg2/usr/src/nv/nv-kernel.o
cc -Wp,-MD,/tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
nvidia.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/inclu
de -Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include -
include include/linux/autoconf.h -Iu
buntu/include -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-
format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno
-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstac
k-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign
-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3d
now -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-c
alls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflo
w -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1878/NVIDIA-Linux-x86_64
-195.36.15-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
-Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -mcmo
del=kernel -mno-red-zone -fno-defer-pop -MD -Wsign-compare -Wno-cast-qual -W
no-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="195.36.15" -UDE
BUG -U_DEBUG -DNDEBUG -D"KBUILD_ST
R(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia.mod)" -D"KBUILD_MODNAME=KBUIL
D_STR(nvidia)" -DMODULE -c -o /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15
-pkg2/usr/src/nv/nvidia.mod.o /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-
pkg2/usr/src/nv/nvidia.mod.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/percpu.h:45,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/current.h:5,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/processor.h:15,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nvidia.mod.c:1:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
ld -r -m elf_x86_64 -T /usr/src/linux-headers-2.6.32-22-generic/scripts/mo
dule-common.lds --build-id -o /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-
pkg2/usr/src/nv/nvidia.ko /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2
/usr/src/nv/nvidia.o /tmp/selfgz1878/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/
src/nv/nvidia.mod.o
NVIDIA: left KBUILD.
→ done.
→ Kernel module compilation complete.
ERROR: Unable to load the kernel module ‘nvidia.ko’. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU
insta

Do not install anything but the current driver
just try:
install corrent version driver “system>administ…>drivers…”

Edit in:
sudo gedit /etc/X11/xorg.conf

Section “Files”
ModulePath “/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules”

^just add ‘/usr/lib/xorg/extra-modules’ is as above ^

ok?!
font

Thanks for the tip. I’ll try.

Now, regarding your username, “pernambucano1969”, where are you from?

Born: Recife - Pernambuco - Brazil 1969
Current resident: João Pessoa - Paraíba - Brazil

-7.1581, -34.7982

Ok. That was just to be sure.

External Media

I’m from Mato Grosso and now I’m in São Paulo.

I asked that because I’m looking for people and places in Brazil that are using CUDA.

For example: I’m a post-graduation student in Applied Computing at INPE in São José dos Campos, and here we don’t have a group with focus in CUDA. I know that LNCC in Petrópolis/RJ have a strong group, leaded by Paulo Bordoni, but I don’t know if other places have groups already working on CUDA.

Are you from UFPB?

Well, since this is not the right place for us to have this kind of conversation, I’ll send you my e-mail in pvt.

Thanks.