Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem emerging nvidia-drivers-313.09 layman overlay/init6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Rukiri
n00b
n00b


Joined: 28 Oct 2011
Posts: 56

PostPosted: Sun Dec 30, 2012 2:45 pm    Post subject: Problem emerging nvidia-drivers-313.09 layman overlay/init6 Reply with quote

I'm having an issue building any version of the nvidia-drivers, I'm using kernel 3.8-rc1.

build log.
[code:1:174a6dde52]
>>> Verifying ebuild manifests
>>> Running pre-merge checks for x11-drivers/nvidia-drivers-313.09
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/3.8.0-rc1/build
* Found sources for kernel version:
* 3.8.0-rc1
* Checking for suitable kernel configuration options... [ ok ]

>>> Emerging (1 of 1) x11-drivers/nvidia-drivers-313.09 from init6
* NVIDIA-Linux-x86_64-313.09.run SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/3.8.0-rc1/build
* Found sources for kernel version:
* 3.8.0-rc1
>>> Unpacking source...
>>> Unpacking NVIDIA-Linux-x86_64-313.09.run to /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work
>>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work
>>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work ...
* Converting /kernel/Makefile.kbuild to use M= instead of SUBDIRS= ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work ...
* Preparing nvidia module
make -j9 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' ARCH=x86_64 IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/3.8.0-rc1/build CC=x86_64-pc-linux-gnu-gcc clean module
NVIDIA: calling KBUILD...
make -C /lib/modules/3.8.0-rc1/build \
KBUILD_SRC=/usr/src/linux-3.8-rc1 \
KBUILD_EXTMOD="/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel" -f /usr/src/linux-3.8-rc1/Makefile \
modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
mkdir -p /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_versions ; rm -f /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_versions/*
make -f /usr/src/linux-3.8-rc1/scripts/Makefile.build obj=/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel
(cat /dev/null; echo kernel//var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nvidia.ko;) > /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/modules.order
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include -I/usr/src/linux-3.8-rc1/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.8-rc1/include -Iinclude -I/usr/src/linux-3.8-rc1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.8-rc1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.8-rc1/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -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 -Os -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"313.09\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include -I/usr/src/linux-3.8-rc1/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.8-rc1/include -Iinclude -I/usr/src/linux-3.8-rc1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.8-rc1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.8-rc1/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -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 -Os -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"313.09\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_acpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_nv-acpi.o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include -I/usr/src/linux-3.8-rc1/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.8-rc1/include -Iinclude -I/usr/src/linux-3.8-rc1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.8-rc1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.8-rc1/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -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 -Os -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"313.09\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_chrdev)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_nv-chrdev.o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-chrdev.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include -I/usr/src/linux-3.8-rc1/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.8-rc1/include -Iinclude -I/usr/src/linux-3.8-rc1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.8-rc1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.8-rc1/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -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 -Os -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"313.09\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_cray)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_nv-cray.o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-cray.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.nv-gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include -I/usr/src/linux-3.8-rc1/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.8-rc1/include -Iinclude -I/usr/src/linux-3.8-rc1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.8-rc1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.8-rc1/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -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 -Os -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"313.09\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_nv-gvi.o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-gvi.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include -I/usr/src/linux-3.8-rc1/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.8-rc1/include -Iinclude -I/usr/src/linux-3.8-rc1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.8-rc1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.8-rc1/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -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 -Os -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"313.09\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_nv-i2c.o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-i2c.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.nv-mempool.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include -I/usr/src/linux-3.8-rc1/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.8-rc1/include -Iinclude -I/usr/src/linux-3.8-rc1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.8-rc1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.8-rc1/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -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 -Os -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:15:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:13:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:10:2: error: #error remap_page_range() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:12:2: error: #error vmap() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:28:2: error: #error kmem_cache_create() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:30:2: error: #error on_each_cpu() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:31:2: error: #error smp_call_function() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:39:2: error: #error INIT_WORK() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:40:2: error: #error acpi_walk_namespace() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:41:2: error: #error acpi_os_wait_events_complete() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:44:2: error: #error pci_dma_mapping_error() conftest failed!
-fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"313.09\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mempool)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_nv-mempool.o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mempool.c
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:15:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:10:2: error: #error remap_page_range() conftest failed! x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.nv-mlock.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include -I/usr/src/linux-3.8-rc1/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.8-rc1/include -Iinclude -I/usr/src/linux-3.8-rc1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.8-rc1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.8-rc1/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -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 -Os -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -f
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:12:2: error: #error vmap() conftest failed!no-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"313.09\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mlock)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_nv-mlock.o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mlock.c

/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:28:2: error: #error kmem_cache_create() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:30:2: error: #error on_each_cpu() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:31:2: error: #error smp_call_function() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:39:2: error: #error INIT_WORK() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:40:2: error: #error acpi_walk_namespace() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:41:2: error: #error acpi_os_wait_events_complete() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:44:2: error: #error pci_dma_mapping_error() conftest failed!
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:15:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-chrdev.c:15:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:10:2: error: #error remap_page_range() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:12:2: error: #error vmap() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:28:2: error: #error kmem_cache_create() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:30:2: error: #error on_each_cpu() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:31:2: error: #error smp_call_function() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:39:2: error: #error INIT_WORK() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:40:2: error: #error acpi_walk_namespace() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:41:2: error: #error acpi_os_wait_events_complete() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:44:2: error: #error pci_dma_mapping_error() conftest failed!
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:15:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-cray.c:15:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:10:2: error: #error remap_page_range() conftest failed!In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:15:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-gvi.c:15:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:10:2: error: #error remap_page_range() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:12:2: error: #error vmap() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:28:2: error: #error kmem_cache_create() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:30:2: error: #error on_each_cpu() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:31:2: error: #error smp_call_function() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:39:2: error: #error INIT_WORK() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:40:2: error: #error acpi_walk_namespace() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:41:2: error: #error acpi_os_wait_events_complete() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:44:2: error: #error pci_dma_mapping_error() conftest failed!
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:15:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-i2c.c:15:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:10:2: error: #error remap_page_range() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:12:2: error: #error vmap() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:28:2: error: #error kmem_cache_create() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:30:2: error: #error on_each_cpu() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:31:2: error: #error smp_call_function() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:39:2: error: #error INIT_WORK() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:40:2: error: #error acpi_walk_namespace() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:41:2: error: #error acpi_os_wait_events_complete() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:44:2: error: #error pci_dma_mapping_error() conftest failed!

/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:12:2: error: #error vmap() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:28:2: error: #error kmem_cache_create() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:30:2: error: #error on_each_cpu() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:31:2: error: #error smp_call_function() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:39:2: error: #error INIT_WORK() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:40:2: error: #error acpi_walk_namespace() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:41:2: error: #error acpi_os_wait_events_complete() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:44:2: error: #error pci_dma_mapping_error() conftest failed!
In file included from /usr/src/linux-3.8-rc1/include/linux/kernel.h:10:0,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:15,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:13:
/usr/src/linux-3.8-rc1/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-3.8-rc1/include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-3.8-rc1/include/linux/kernel.h:10:0,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:15,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:
/usr/src/linux-3.8-rc1/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-3.8-rc1/include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-3.8-rc1/include/linux/kernel.h:10:0,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:15,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-chrdev.c:15:
/usr/src/linux-3.8-rc1/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-3.8-rc1/include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:15:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mempool.c:15:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:10:2: error: #error remap_page_range() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:12:2: error: #error vmap() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:28:2: error: #error kmem_cache_create() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:30:2: error: #error on_each_cpu() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:31:2: error: #error smp_call_function() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:39:2: error: #error INIT_WORK() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:40:2: error: #error acpi_walk_namespace() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:41:2: error: #error acpi_os_wait_events_complete() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:44:2: error: #error pci_dma_mapping_error() conftest failed!
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:15:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mlock.c:15:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:10:2: error: #error remap_page_range() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:12:2: error: #error vmap() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:28:2: error: #error kmem_cache_create() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:30:2: error: #error on_each_cpu() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:31:2: error: #error smp_call_function() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:39:2: error: #error INIT_WORK() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:40:2: error: #error acpi_walk_namespace() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:41:2: error: #error acpi_os_wait_events_complete() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:44:2: error: #error pci_dma_mapping_error() conftest failed!
In file included from /usr/src/linux-3.8-rc1/include/linux/kernel.h:10:0,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:15,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-cray.c:15:
/usr/src/linux-3.8-rc1/include/linux/bitops.h: In function ‘hweight_long’:In file included from /usr/src/linux-3.8-rc1/include/linux/kernel.h:10:0,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:15,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-i2c.c:15:
/usr/src/linux-3.8-rc1/include/linux/bitops.h: In function ‘hweight_long’:In file included from /usr/src/linux-3.8-rc1/include/linux/kernel.h:10:0,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:15,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-gvi.c:15:
/usr/src/linux-3.8-rc1/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-3.8-rc1/include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.nv-mmap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include -I/usr/src/linux-3.8-rc1/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.8-rc1/include -Iinclude -I/usr/src/linux-3.8-rc1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.8-rc1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.8-rc1/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -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 -Os -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"313.09\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mmap)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_nv-mmap.o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mmap.c

/usr/src/linux-3.8-rc1/include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]

/usr/src/linux-3.8-rc1/include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-3.8-rc1/include/linux/kernel.h:10:0,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:15,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mlock.c:15:
/usr/src/linux-3.8-rc1/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-3.8-rc1/include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-3.8-rc1/include/linux/kernel.h:10:0,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:15,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mempool.c:15:
/usr/src/linux-3.8-rc1/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-3.8-rc1/include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:15:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mmap.c:15:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:10:2: error: #error remap_page_range() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:12:2: error: #error vmap() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:28:2: error: #error kmem_cache_create() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:30:2: error: #error on_each_cpu() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:31:2: error: #error smp_call_function() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:39:2: error: #error INIT_WORK() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:40:2: error: #error acpi_walk_namespace() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:41:2: error: #error acpi_os_wait_events_complete() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:44:2: error: #error pci_dma_mapping_error() conftest failed!
In file included from /usr/src/linux-3.8-rc1/include/linux/kernel.h:10:0,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:15,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mmap.c:15:
/usr/src/linux-3.8-rc1/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-3.8-rc1/include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess.h:552:0,
from /usr/src/linux-3.8-rc1/include/linux/poll.h:11,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:115,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:13:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from /usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess.h:552:0,
from /usr/src/linux-3.8-rc1/include/linux/poll.h:11,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:115,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from /usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess.h:552:0,
from /usr/src/linux-3.8-rc1/include/linux/poll.h:11,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:115,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-chrdev.c:15:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from /usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess.h:552:0,
from /usr/src/linux-3.8-rc1/include/linux/poll.h:11,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:115,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mlock.c:15:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from /usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess.h:552:0,
from /usr/src/linux-3.8-rc1/include/linux/poll.h:11,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:115,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mempool.c:15:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from /usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess.h:552:0,
from /usr/src/linux-3.8-rc1/include/linux/poll.h:11,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:115,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-gvi.c:15:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:13:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h: At top level:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:151:2: error: #error "struct file_operations compile test likely failed!"
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h: At top level:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:151:2: error: #error "struct file_operations compile test likely failed!"
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-chrdev.c:15:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h: At top level:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:151:2: error: #error "struct file_operations compile test likely failed!"
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mlock.c:15:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h: At top level:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:151:2: error: #error "struct file_operations compile test likely failed!"
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mempool.c:15:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h: At top level:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:151:2: error: #error "struct file_operations compile test likely failed!"
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-gvi.c:15:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h: At top level:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:151:2: error: #error "struct file_operations compile test likely failed!"
In file included from /usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess.h:552:0,
from /usr/src/linux-3.8-rc1/include/linux/poll.h:11,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:115,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-i2c.c:15:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:13:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:306:2: error: #error "NV_PCI_DMA_MAPPING_ERROR() undefined!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:311:4: warning: "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:313:8: warning: "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:319:2: error: #error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:325:4: warning: "NV_ACPI_OS_WAIT_EVENTS_COMPLETE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:328:8: warning: "NV_ACPI_OS_WAIT_EVENTS_COMPLETE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:834:2: error: #error "NV_KMEM_CACHE_CREATE() undefined (kmem_cache_create() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:893:2: error: #error "NV_VMAP() undefined (vmap() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:965:2: error: #error "NV_SMP_CALL_FUNCTION() undefined (smp_call_function() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:985:2: error: #error "NV_ON_EACH_CPU() undefined (on_each_cpu() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h: In function ‘nv_execute_on_all_cpus’:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1003:5: error: implicit declaration of function ‘NV_ON_EACH_CPU’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h: At top level:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1262:13: error: conflicting types for ‘pm_message_t’
In file included from /usr/src/linux-3.8-rc1/arch/x86/include/asm/apic.h:5:0,
from /usr/src/linux-3.8-rc1/arch/x86/include/asm/smp.h:13,
from /usr/src/linux-3.8-rc1/include/linux/smp.h:38,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:30,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:13:
/usr/src/linux-3.8-rc1/include/linux/pm.h:52:3: note: previous declaration of ‘pm_message_t’ was here
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:13:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1554:6: warning: "NV_INIT_WORK_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1564:8: warning: "NV_INIT_WORK_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1574:2: error: #error "NV_INIT_WORK_ARGUMENT_COUNT value unrecognized!"
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1773:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:13:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-proto.h:25:29: warning: "NV_INIT_WORK_ARGUMENT_COUNT" is not defined [-Wundef]
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:306:2: error: #error "NV_PCI_DMA_MAPPING_ERROR() undefined!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:311:4: warning: "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:313:8: warning: "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:319:2: error: #error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:325:4: warning: "NV_ACPI_OS_WAIT_EVENTS_COMPLETE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:328:8: warning: "NV_ACPI_OS_WAIT_EVENTS_COMPLETE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:834:2: error: #error "NV_KMEM_CACHE_CREATE() undefined (kmem_cache_create() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:893:2: error: #error "NV_VMAP() undefined (vmap() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:965:2: error: #error "NV_SMP_CALL_FUNCTION() undefined (smp_call_function() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:985:2: error: #error "NV_ON_EACH_CPU() undefined (on_each_cpu() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h: In function ‘nv_execute_on_all_cpus’:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1003:5: error: implicit declaration of function ‘NV_ON_EACH_CPU’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h: At top level:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1262:13: error: conflicting types for ‘pm_message_t’
In file included from /usr/src/linux-3.8-rc1/arch/x86/include/asm/apic.h:5:0,
from /usr/src/linux-3.8-rc1/arch/x86/include/asm/smp.h:13,
from /usr/src/linux-3.8-rc1/include/linux/smp.h:38,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:30,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:
/usr/src/linux-3.8-rc1/include/linux/pm.h:52:3: note: previous declaration of ‘pm_message_t’ was here
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1554:6: warning: "NV_INIT_WORK_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1564:8: warning: "NV_INIT_WORK_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1574:2: error: #error "NV_INIT_WORK_ARGUMENT_COUNT value unrecognized!"
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1773:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-proto.h:25:29: warning: "NV_INIT_WORK_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:372:5: warning: initialization from incompatible pointer type [enabled by default]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:372:5: warning: (near initialization for ‘nv_pci_driver.suspend’) [enabled by default]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:65:5: warning: initialization from incompatible pointer type [enabled by default]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:65:5: warning: (near initialization for ‘nv_acpi_driver_template.ids’) [enabled by default]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c: In function ‘nv_acpi_add’:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:215:13: warning: passing argument 4 of ‘acpi_evaluate_integer’ from incompatible pointer type [enabled by default]
In file included from /usr/src/linux-3.8-rc1/include/linux/acpi.h:42:0,
from /usr/src/linux-3.8-rc1/include/acpi/acpi_drivers.h:29,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:289,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:
/usr/src/linux-3.8-rc1/include/acpi/acpi_bus.h:45:1: note: expected ‘long long unsigned int *’ but argument is of type ‘nv_acpi_integer_t *’
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c: In function ‘nvidia_init_module’:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:873:5: error: implicit declaration of function ‘NV_KMEM_CACHE_CREATE’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:873:58: error: expected expression before ‘nv_stack_t’
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:883:9: error: implicit declaration of function ‘NV_KMEM_CACHE_DESTROY’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c: In function ‘nv_acpi_event’:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:363:48: warning: passing argument 4 of ‘acpi_evaluate_integer’ from incompatible pointer type [enabled by default]
In file included from /usr/src/linux-3.8-rc1/include/linux/acpi.h:42:0,
from /usr/src/linux-3.8-rc1/include/acpi/acpi_drivers.h:29,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:289,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:
/usr/src/linux-3.8-rc1/include/acpi/acpi_bus.h:45:1: note: expected ‘long long unsigned int *’ but argument is of type ‘nv_acpi_integer_t *’
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:981:54: error: expected expression before ‘nv_pte_t’
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:990:13: error: expected expression before ‘nvidia_p2p_page_t’
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c: In function ‘nv_acpi_methods_init’:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:543:5: error: implicit declaration of function ‘NV_ACPI_WALK_NAMESPACE’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c: In function ‘nv_kern_open’:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:1521:30: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type [enabled by default]
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:128:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:13:
/usr/src/linux-3.8-rc1/include/linux/interrupt.h:130:1: note: expected ‘irq_handler_t’ but argument is of type ‘enum irqreturn_t (*)(int, void *, struct pt_regs *)’
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c: In function ‘nv_acpi_ddc_method’:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:1214:9: warning: passing argument 4 of ‘acpi_evaluate_integer’ from incompatible pointer type [enabled by default]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:1525:17: error: implicit declaration of function ‘NV_TASKQUEUE_INIT’ [-Werror=implicit-function-declaration]In file included from /usr/src/linux-3.8-rc1/include/linux/acpi.h:42:0,
from /usr/src/linux-3.8-rc1/include/acpi/acpi_drivers.h:29,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:289,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:
/usr/src/linux-3.8-rc1/include/acpi/acpi_bus.h:45:1: note: expected ‘long long unsigned int *’ but argument is of type ‘nv_acpi_integer_t *’

/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:1537:25: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type [enabled by default]
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:128:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:13:
/usr/src/linux-3.8-rc1/include/linux/interrupt.h:130:1: note: expected ‘irq_handler_t’ but argument is of type ‘enum irqreturn_t (*)(int, void *, struct pt_regs *)’
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-chrdev.c:15:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:306:2: error: #error "NV_PCI_DMA_MAPPING_ERROR() undefined!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:311:4: warning: "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:313:8: warning: "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:319:2: error: #error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:325:4: warning: "NV_ACPI_OS_WAIT_EVENTS_COMPLETE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:328:8: warning: "NV_ACPI_OS_WAIT_EVENTS_COMPLETE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:834:2: error: #error "NV_KMEM_CACHE_CREATE() undefined (kmem_cache_create() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:893:2: error: #error "NV_VMAP() undefined (vmap() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:965:2: error: #error "NV_SMP_CALL_FUNCTION() undefined (smp_call_function() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:985:2: error: #error "NV_ON_EACH_CPU() undefined (on_each_cpu() unavailable)!"
/var/tmp/portage/x1
Back to top
View user's profile Send private message
Rukiri
n00b
n00b


Joined: 28 Oct 2011
Posts: 56

PostPosted: Sun Dec 30, 2012 2:48 pm    Post subject: Re: Problem emerging nvidia-drivers-313.09 layman overlay/in Reply with quote

[quote="Rukiri"]I'm having an issue building any version of the nvidia-drivers, I'm using kernel 3.8-rc1.

build log.
Quote:

>>> Verifying ebuild manifests
>>> Running pre-merge checks for x11-drivers/nvidia-drivers-313.09
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/3.8.0-rc1/build
* Found sources for kernel version:
* 3.8.0-rc1
* Checking for suitable kernel configuration options... [ ok ]

>>> Emerging (1 of 1) x11-drivers/nvidia-drivers-313.09 from init6
* NVIDIA-Linux-x86_64-313.09.run SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/3.8.0-rc1/build
* Found sources for kernel version:
* 3.8.0-rc1
>>> Unpacking source...
>>> Unpacking NVIDIA-Linux-x86_64-313.09.run to /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work
>>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work
>>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work ...
* Converting /kernel/Makefile.kbuild to use M= instead of SUBDIRS= ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work ...
* Preparing nvidia module
make -j9 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' ARCH=x86_64 IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/3.8.0-rc1/build CC=x86_64-pc-linux-gnu-gcc clean module
NVIDIA: calling KBUILD...
make -C /lib/modules/3.8.0-rc1/build \
KBUILD_SRC=/usr/src/linux-3.8-rc1 \
KBUILD_EXTMOD="/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel" -f /usr/src/linux-3.8-rc1/Makefile \
modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
mkdir -p /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_versions ; rm -f /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_versions/*
make -f /usr/src/linux-3.8-rc1/scripts/Makefile.build obj=/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel
(cat /dev/null; echo kernel//var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nvidia.ko;) > /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/modules.order
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include -I/usr/src/linux-3.8-rc1/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.8-rc1/include -Iinclude -I/usr/src/linux-3.8-rc1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.8-rc1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.8-rc1/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -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 -Os -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"313.09\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include -I/usr/src/linux-3.8-rc1/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.8-rc1/include -Iinclude -I/usr/src/linux-3.8-rc1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.8-rc1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.8-rc1/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -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 -Os -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"313.09\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_acpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_nv-acpi.o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include -I/usr/src/linux-3.8-rc1/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.8-rc1/include -Iinclude -I/usr/src/linux-3.8-rc1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.8-rc1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.8-rc1/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -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 -Os -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"313.09\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_chrdev)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_nv-chrdev.o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-chrdev.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include -I/usr/src/linux-3.8-rc1/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.8-rc1/include -Iinclude -I/usr/src/linux-3.8-rc1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.8-rc1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.8-rc1/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -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 -Os -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"313.09\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_cray)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_nv-cray.o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-cray.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.nv-gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include -I/usr/src/linux-3.8-rc1/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.8-rc1/include -Iinclude -I/usr/src/linux-3.8-rc1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.8-rc1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.8-rc1/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -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 -Os -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"313.09\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_nv-gvi.o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-gvi.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include -I/usr/src/linux-3.8-rc1/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.8-rc1/include -Iinclude -I/usr/src/linux-3.8-rc1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.8-rc1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.8-rc1/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -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 -Os -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"313.09\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_nv-i2c.o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-i2c.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.nv-mempool.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include -I/usr/src/linux-3.8-rc1/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.8-rc1/include -Iinclude -I/usr/src/linux-3.8-rc1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.8-rc1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.8-rc1/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -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 -Os -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:15:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:13:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:10:2: error: #error remap_page_range() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:12:2: error: #error vmap() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:28:2: error: #error kmem_cache_create() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:30:2: error: #error on_each_cpu() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:31:2: error: #error smp_call_function() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:39:2: error: #error INIT_WORK() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:40:2: error: #error acpi_walk_namespace() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:41:2: error: #error acpi_os_wait_events_complete() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:44:2: error: #error pci_dma_mapping_error() conftest failed!
-fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"313.09\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mempool)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_nv-mempool.o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mempool.c
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:15:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:10:2: error: #error remap_page_range() conftest failed! x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.nv-mlock.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include -I/usr/src/linux-3.8-rc1/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.8-rc1/include -Iinclude -I/usr/src/linux-3.8-rc1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.8-rc1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.8-rc1/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -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 -Os -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -f
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:12:2: error: #error vmap() conftest failed!no-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"313.09\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mlock)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_nv-mlock.o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mlock.c

/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:28:2: error: #error kmem_cache_create() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:30:2: error: #error on_each_cpu() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:31:2: error: #error smp_call_function() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:39:2: error: #error INIT_WORK() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:40:2: error: #error acpi_walk_namespace() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:41:2: error: #error acpi_os_wait_events_complete() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:44:2: error: #error pci_dma_mapping_error() conftest failed!
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:15:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-chrdev.c:15:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:10:2: error: #error remap_page_range() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:12:2: error: #error vmap() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:28:2: error: #error kmem_cache_create() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:30:2: error: #error on_each_cpu() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:31:2: error: #error smp_call_function() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:39:2: error: #error INIT_WORK() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:40:2: error: #error acpi_walk_namespace() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:41:2: error: #error acpi_os_wait_events_complete() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:44:2: error: #error pci_dma_mapping_error() conftest failed!
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:15:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-cray.c:15:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:10:2: error: #error remap_page_range() conftest failed!In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:15:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-gvi.c:15:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:10:2: error: #error remap_page_range() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:12:2: error: #error vmap() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:28:2: error: #error kmem_cache_create() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:30:2: error: #error on_each_cpu() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:31:2: error: #error smp_call_function() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:39:2: error: #error INIT_WORK() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:40:2: error: #error acpi_walk_namespace() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:41:2: error: #error acpi_os_wait_events_complete() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:44:2: error: #error pci_dma_mapping_error() conftest failed!
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:15:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-i2c.c:15:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:10:2: error: #error remap_page_range() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:12:2: error: #error vmap() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:28:2: error: #error kmem_cache_create() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:30:2: error: #error on_each_cpu() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:31:2: error: #error smp_call_function() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:39:2: error: #error INIT_WORK() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:40:2: error: #error acpi_walk_namespace() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:41:2: error: #error acpi_os_wait_events_complete() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:44:2: error: #error pci_dma_mapping_error() conftest failed!

/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:12:2: error: #error vmap() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:28:2: error: #error kmem_cache_create() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:30:2: error: #error on_each_cpu() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:31:2: error: #error smp_call_function() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:39:2: error: #error INIT_WORK() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:40:2: error: #error acpi_walk_namespace() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:41:2: error: #error acpi_os_wait_events_complete() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:44:2: error: #error pci_dma_mapping_error() conftest failed!
In file included from /usr/src/linux-3.8-rc1/include/linux/kernel.h:10:0,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:15,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:13:
/usr/src/linux-3.8-rc1/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-3.8-rc1/include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-3.8-rc1/include/linux/kernel.h:10:0,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:15,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:
/usr/src/linux-3.8-rc1/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-3.8-rc1/include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-3.8-rc1/include/linux/kernel.h:10:0,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:15,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-chrdev.c:15:
/usr/src/linux-3.8-rc1/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-3.8-rc1/include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:15:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mempool.c:15:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:10:2: error: #error remap_page_range() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:12:2: error: #error vmap() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:28:2: error: #error kmem_cache_create() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:30:2: error: #error on_each_cpu() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:31:2: error: #error smp_call_function() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:39:2: error: #error INIT_WORK() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:40:2: error: #error acpi_walk_namespace() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:41:2: error: #error acpi_os_wait_events_complete() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:44:2: error: #error pci_dma_mapping_error() conftest failed!
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:15:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mlock.c:15:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:10:2: error: #error remap_page_range() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:12:2: error: #error vmap() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:28:2: error: #error kmem_cache_create() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:30:2: error: #error on_each_cpu() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:31:2: error: #error smp_call_function() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:39:2: error: #error INIT_WORK() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:40:2: error: #error acpi_walk_namespace() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:41:2: error: #error acpi_os_wait_events_complete() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:44:2: error: #error pci_dma_mapping_error() conftest failed!
In file included from /usr/src/linux-3.8-rc1/include/linux/kernel.h:10:0,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:15,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-cray.c:15:
/usr/src/linux-3.8-rc1/include/linux/bitops.h: In function ‘hweight_long’:In file included from /usr/src/linux-3.8-rc1/include/linux/kernel.h:10:0,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:15,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-i2c.c:15:
/usr/src/linux-3.8-rc1/include/linux/bitops.h: In function ‘hweight_long’:In file included from /usr/src/linux-3.8-rc1/include/linux/kernel.h:10:0,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:15,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-gvi.c:15:
/usr/src/linux-3.8-rc1/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-3.8-rc1/include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.nv-mmap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include -I/usr/src/linux-3.8-rc1/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.8-rc1/include -Iinclude -I/usr/src/linux-3.8-rc1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.8-rc1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.8-rc1/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -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 -Os -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"313.09\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mmap)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/.tmp_nv-mmap.o /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mmap.c

/usr/src/linux-3.8-rc1/include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]

/usr/src/linux-3.8-rc1/include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-3.8-rc1/include/linux/kernel.h:10:0,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:15,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mlock.c:15:
/usr/src/linux-3.8-rc1/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-3.8-rc1/include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-3.8-rc1/include/linux/kernel.h:10:0,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:15,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mempool.c:15:
/usr/src/linux-3.8-rc1/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-3.8-rc1/include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:15:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mmap.c:15:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:10:2: error: #error remap_page_range() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:12:2: error: #error vmap() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:28:2: error: #error kmem_cache_create() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:30:2: error: #error on_each_cpu() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:31:2: error: #error smp_call_function() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:39:2: error: #error INIT_WORK() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:40:2: error: #error acpi_walk_namespace() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:41:2: error: #error acpi_os_wait_events_complete() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/conftest.h:44:2: error: #error pci_dma_mapping_error() conftest failed!
In file included from /usr/src/linux-3.8-rc1/include/linux/kernel.h:10:0,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:15,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mmap.c:15:
/usr/src/linux-3.8-rc1/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-3.8-rc1/include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess.h:552:0,
from /usr/src/linux-3.8-rc1/include/linux/poll.h:11,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:115,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:13:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from /usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess.h:552:0,
from /usr/src/linux-3.8-rc1/include/linux/poll.h:11,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:115,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from /usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess.h:552:0,
from /usr/src/linux-3.8-rc1/include/linux/poll.h:11,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:115,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-chrdev.c:15:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from /usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess.h:552:0,
from /usr/src/linux-3.8-rc1/include/linux/poll.h:11,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:115,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mlock.c:15:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from /usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess.h:552:0,
from /usr/src/linux-3.8-rc1/include/linux/poll.h:11,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:115,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mempool.c:15:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from /usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess.h:552:0,
from /usr/src/linux-3.8-rc1/include/linux/poll.h:11,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:115,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-gvi.c:15:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:13:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h: At top level:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:151:2: error: #error "struct file_operations compile test likely failed!"
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h: At top level:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:151:2: error: #error "struct file_operations compile test likely failed!"
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-chrdev.c:15:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h: At top level:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:151:2: error: #error "struct file_operations compile test likely failed!"
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mlock.c:15:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h: At top level:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:151:2: error: #error "struct file_operations compile test likely failed!"
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-mempool.c:15:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h: At top level:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:151:2: error: #error "struct file_operations compile test likely failed!"
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-gvi.c:15:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h: At top level:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:151:2: error: #error "struct file_operations compile test likely failed!"
In file included from /usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess.h:552:0,
from /usr/src/linux-3.8-rc1/include/linux/poll.h:11,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:115,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-i2c.c:15:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.8-rc1/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:13:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:306:2: error: #error "NV_PCI_DMA_MAPPING_ERROR() undefined!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:311:4: warning: "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:313:8: warning: "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:319:2: error: #error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:325:4: warning: "NV_ACPI_OS_WAIT_EVENTS_COMPLETE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:328:8: warning: "NV_ACPI_OS_WAIT_EVENTS_COMPLETE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:834:2: error: #error "NV_KMEM_CACHE_CREATE() undefined (kmem_cache_create() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:893:2: error: #error "NV_VMAP() undefined (vmap() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:965:2: error: #error "NV_SMP_CALL_FUNCTION() undefined (smp_call_function() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:985:2: error: #error "NV_ON_EACH_CPU() undefined (on_each_cpu() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h: In function ‘nv_execute_on_all_cpus’:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1003:5: error: implicit declaration of function ‘NV_ON_EACH_CPU’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h: At top level:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1262:13: error: conflicting types for ‘pm_message_t’
In file included from /usr/src/linux-3.8-rc1/arch/x86/include/asm/apic.h:5:0,
from /usr/src/linux-3.8-rc1/arch/x86/include/asm/smp.h:13,
from /usr/src/linux-3.8-rc1/include/linux/smp.h:38,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:30,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:13:
/usr/src/linux-3.8-rc1/include/linux/pm.h:52:3: note: previous declaration of ‘pm_message_t’ was here
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:13:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1554:6: warning: "NV_INIT_WORK_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1564:8: warning: "NV_INIT_WORK_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1574:2: error: #error "NV_INIT_WORK_ARGUMENT_COUNT value unrecognized!"
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1773:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:13:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-proto.h:25:29: warning: "NV_INIT_WORK_ARGUMENT_COUNT" is not defined [-Wundef]
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:306:2: error: #error "NV_PCI_DMA_MAPPING_ERROR() undefined!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:311:4: warning: "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:313:8: warning: "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:319:2: error: #error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:325:4: warning: "NV_ACPI_OS_WAIT_EVENTS_COMPLETE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:328:8: warning: "NV_ACPI_OS_WAIT_EVENTS_COMPLETE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:834:2: error: #error "NV_KMEM_CACHE_CREATE() undefined (kmem_cache_create() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:893:2: error: #error "NV_VMAP() undefined (vmap() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:965:2: error: #error "NV_SMP_CALL_FUNCTION() undefined (smp_call_function() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:985:2: error: #error "NV_ON_EACH_CPU() undefined (on_each_cpu() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h: In function ‘nv_execute_on_all_cpus’:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1003:5: error: implicit declaration of function ‘NV_ON_EACH_CPU’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h: At top level:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1262:13: error: conflicting types for ‘pm_message_t’
In file included from /usr/src/linux-3.8-rc1/arch/x86/include/asm/apic.h:5:0,
from /usr/src/linux-3.8-rc1/arch/x86/include/asm/smp.h:13,
from /usr/src/linux-3.8-rc1/include/linux/smp.h:38,
from /usr/src/linux-3.8-rc1/include/linux/sched.h:30,
from /usr/src/linux-3.8-rc1/include/linux/utsname.h:5,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:44,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:
/usr/src/linux-3.8-rc1/include/linux/pm.h:52:3: note: previous declaration of ‘pm_message_t’ was here
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1554:6: warning: "NV_INIT_WORK_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1564:8: warning: "NV_INIT_WORK_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1574:2: error: #error "NV_INIT_WORK_ARGUMENT_COUNT value unrecognized!"
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:1773:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-proto.h:25:29: warning: "NV_INIT_WORK_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:372:5: warning: initialization from incompatible pointer type [enabled by default]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:372:5: warning: (near initialization for ‘nv_pci_driver.suspend’) [enabled by default]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:65:5: warning: initialization from incompatible pointer type [enabled by default]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:65:5: warning: (near initialization for ‘nv_acpi_driver_template.ids’) [enabled by default]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c: In function ‘nv_acpi_add’:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:215:13: warning: passing argument 4 of ‘acpi_evaluate_integer’ from incompatible pointer type [enabled by default]
In file included from /usr/src/linux-3.8-rc1/include/linux/acpi.h:42:0,
from /usr/src/linux-3.8-rc1/include/acpi/acpi_drivers.h:29,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:289,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:
/usr/src/linux-3.8-rc1/include/acpi/acpi_bus.h:45:1: note: expected ‘long long unsigned int *’ but argument is of type ‘nv_acpi_integer_t *’
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c: In function ‘nvidia_init_module’:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:873:5: error: implicit declaration of function ‘NV_KMEM_CACHE_CREATE’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:873:58: error: expected expression before ‘nv_stack_t’
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:883:9: error: implicit declaration of function ‘NV_KMEM_CACHE_DESTROY’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c: In function ‘nv_acpi_event’:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:363:48: warning: passing argument 4 of ‘acpi_evaluate_integer’ from incompatible pointer type [enabled by default]
In file included from /usr/src/linux-3.8-rc1/include/linux/acpi.h:42:0,
from /usr/src/linux-3.8-rc1/include/acpi/acpi_drivers.h:29,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:289,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:
/usr/src/linux-3.8-rc1/include/acpi/acpi_bus.h:45:1: note: expected ‘long long unsigned int *’ but argument is of type ‘nv_acpi_integer_t *’
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:981:54: error: expected expression before ‘nv_pte_t’
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:990:13: error: expected expression before ‘nvidia_p2p_page_t’
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c: In function ‘nv_acpi_methods_init’:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:543:5: error: implicit declaration of function ‘NV_ACPI_WALK_NAMESPACE’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c: In function ‘nv_kern_open’:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:1521:30: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type [enabled by default]
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:128:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:13:
/usr/src/linux-3.8-rc1/include/linux/interrupt.h:130:1: note: expected ‘irq_handler_t’ but argument is of type ‘enum irqreturn_t (*)(int, void *, struct pt_regs *)’
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c: In function ‘nv_acpi_ddc_method’:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:1214:9: warning: passing argument 4 of ‘acpi_evaluate_integer’ from incompatible pointer type [enabled by default]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:1525:17: error: implicit declaration of function ‘NV_TASKQUEUE_INIT’ [-Werror=implicit-function-declaration]In file included from /usr/src/linux-3.8-rc1/include/linux/acpi.h:42:0,
from /usr/src/linux-3.8-rc1/include/acpi/acpi_drivers.h:29,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:289,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-acpi.c:15:
/usr/src/linux-3.8-rc1/include/acpi/acpi_bus.h:45:1: note: expected ‘long long unsigned int *’ but argument is of type ‘nv_acpi_integer_t *’

/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:1537:25: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type [enabled by default]
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:128:0,
from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv.c:13:
/usr/src/linux-3.8-rc1/include/linux/interrupt.h:130:1: note: expected ‘irq_handler_t’ but argument is of type ‘enum irqreturn_t (*)(int, void *, struct pt_regs *)’
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-chrdev.c:15:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:306:2: error: #error "NV_PCI_DMA_MAPPING_ERROR() undefined!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:311:4: warning: "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:313:8: warning: "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:319:2: error: #error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:325:4: warning: "NV_ACPI_OS_WAIT_EVENTS_COMPLETE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:328:8: warning: "NV_ACPI_OS_WAIT_EVENTS_COMPLETE_ARGUMENT_COUNT" is not defined [-Wundef]
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:834:2: error: #error "NV_KMEM_CACHE_CREATE() undefined (kmem_cache_create() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:893:2: error: #error "NV_VMAP() undefined (vmap() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:965:2: error: #error "NV_SMP_CALL_FUNCTION() undefined (smp_call_function() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-313.09/work/kernel/nv-linux.h:985:2: error: #error "NV_ON_EACH_CPU() undefined (on_each_cpu() unavailable)!"
/var/tmp/portage/x1
Back to top
View user's profile Send private message
init_6
Apprentice
Apprentice


Joined: 22 Jun 2008
Posts: 166

PostPosted: Sun Dec 30, 2012 3:59 pm    Post subject: Reply with quote

There was only one reason why I did fork x11-drivers/nvidia-drivers Bug 448774 - x11-drivers/nvidia-drivers: nvidia-settings breaks with x11-libs/pango-1.32.5 due to renamed libpangox.so with gnome overlay there need x11-libs/pangox-compat in depends… now fxd in main tree. And now:

Code:
diff -u /var/portage/layman/init6/x11-drivers/nvidia-drivers/nvidia-drivers-313.09.ebuild /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-310.19.ebuild
--- /var/portage/layman/init6/x11-drivers/nvidia-drivers/nvidia-drivers-313.09.ebuild   2012-12-30 09:26:19.000000000 +0200
+++ /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-310.19.ebuild   2012-12-19 19:01:31.000000000 +0200
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-310.19.ebuild,v 1.4 2012/12/19 16:52:01 tetromino Exp $
 
 EAPI=4
 


Did you notice any significant difference? Another questions?
Back to top
View user's profile Send private message
init_6
Apprentice
Apprentice


Joined: 22 Jun 2008
Posts: 166

PostPosted: Sun Dec 30, 2012 4:16 pm    Post subject: Reply with quote

And yes last stayble is 310.19 last beta is 313.09

And sorry but 313.09 works fine with 3.7.1 for my.
Back to top
View user's profile Send private message
Rukiri
n00b
n00b


Joined: 28 Oct 2011
Posts: 56

PostPosted: Mon Dec 31, 2012 1:36 am    Post subject: Reply with quote

It was an issue with the kernel as I configured both 3.7.1 and 3.8.0-r1 the same.
Works fine, will wait probably until r6 to try 3.8 again.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum