View previous topic :: View next topic |
Author |
Message |
guru369 Apprentice

Joined: 02 Jun 2005 Posts: 225
|
Posted: Sun Mar 11, 2007 10:51 am Post subject: nvidia-drivers 1.0.9755 compile failure (Kernel 2.6.20-r2) |
|
|
Hi.
I recently updated my kernel to 2.6.20-gentoo-r2
I ran: make oldconfig
Checked using the menuconfig that everything is set and make && make modules_install.
Before I rebooted to my new compiled kernel I decided to compile all the depended modules.
So I started with nvidia.
This is the error I am getting in the begining:
Code: |
>>> Emerging (1 of 1) x11-drivers/nvidia-drivers-1.0.9755 to /
* NVIDIA-Linux-x86-1.0-9755-pkg0.run RMD160 ;-) ... [ ok ]
* NVIDIA-Linux-x86-1.0-9755-pkg0.run SHA1 ;-) ... [ ok ]
* NVIDIA-Linux-x86-1.0-9755-pkg0.run SHA256 ;-) ... [ ok ]
* NVIDIA-Linux-x86-1.0-9755-pkg0.run size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking NVIDIA-Linux-x86-1.0-9755-pkg0.run ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.20-gentoo-r2
* Checking for MTRR support ... [ ok ]
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86-1.0-9755-pkg0
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 1.0-9755...............................................................................................................................
* Applying NVIDIA_glx-defines.patch ... [ ok ]
* Applying NVIDIA_glx-glheader.patch ... [ ok ]
* Converting Makefile.kbuild to use M= instead of SUBDIRS= ... [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv ...
* Preparing nvidia module
rm -f Makefile
sh ./conftest.sh "i686-pc-linux-gnu-gcc" "i686-pc-linux-gnu-gcc" /usr/src/linux /usr/src/linux cc_sanity_check full_output
sh ./conftest.sh "i686-pc-linux-gnu-gcc" "i686-pc-linux-gnu-gcc" /usr/src/linux /usr/src/linux select_makefile full_output
make --no-print-directory -f Makefile module
NVIDIA: calling KBUILD...
make CC=i686-pc-linux-gnu-gcc KBUILD_VERBOSE=1 -C /usr/src/linux M=/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv modules
make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
|
And this is the error in the end:
Code: | make -f /usr/src/linux-2.6.20-gentoo-r2/scripts/Makefile.modpost
scripts/mod/modpost -i /usr/src/linux-2.6.20-gentoo-r2/Module.symvers -I /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/Module.symvers -o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/Module.symvers -w vmlinux /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/nvidia.o
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'paravirt_ops'
make[3]: *** [__modpost] Error 1
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
!!! ERROR: x11-drivers/nvidia-drivers-1.0.9755 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 4283: Called src_compile
nvidia-drivers-1.0.9755.ebuild, line 181: Called linux-mod_src_compile
linux-mod.eclass, line 511: Called die
!!! Unable to make IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux clean module.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/temp/build.log'.
|
I looked at the nvidia forums and found something that might be related.
http://www.nvnews.net/vbulletin/showthread.php?s=edab523407adffef584b241bfb2dd285&t=77704&page=2
I also searched gentoo bugs but found nothing.
Did anyone had success with this drivers and kernel 2.6.20-r2?
Thanks,
Dekel _________________ Gentoo Rulz!!! |
|
Back to top |
|
 |
Pseudonimo Guru


Joined: 10 Mar 2007 Posts: 393
|
Posted: Sun Mar 11, 2007 11:07 am Post subject: |
|
|
Hi,
I'm sort of a newbie but got those working. Did you unemerged the driver well? Try rebooting in the console on the new kernel and then unemerging it (remove the module). Did you do "make prepare"?. Also it would be helpful if you provided /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/temp/build.log.
Cheers |
|
Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sun Mar 11, 2007 11:50 am Post subject: Re: nvidia-drivers 1.0.9755 compile failure (Kernel 2.6.20-r |
|
|
guru369 wrote: | FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'paravirt_ops' |
Presumably you would need the EXPORT_SYMBOL patch - link.
Also see nvidia thread and Gentoo thread. |
|
Back to top |
|
 |
guru369 Apprentice

Joined: 02 Jun 2005 Posts: 225
|
Posted: Sun Mar 11, 2007 3:55 pm Post subject: |
|
|
Build Log:
Code: |
cat /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/temp/build.log
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.20-gentoo-r2
* Checking for MTRR support ... [ ok ]
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86-1.0-9755-pkg0
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 1.0-9755...............................................................................................................................
* Applying NVIDIA_glx-defines.patch ... [ ok ]
* Applying NVIDIA_glx-glheader.patch ... [ ok ]
* Converting Makefile.kbuild to use M= instead of SUBDIRS= ... [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv ...
* Preparing nvidia module
rm -f Makefile
sh ./conftest.sh "i686-pc-linux-gnu-gcc" "i686-pc-linux-gnu-gcc" /usr/src/linux /usr/src/linux cc_sanity_check full_output
sh ./conftest.sh "i686-pc-linux-gnu-gcc" "i686-pc-linux-gnu-gcc" /usr/src/linux /usr/src/linux select_makefile full_output
make --no-print-directory -f Makefile module
NVIDIA: calling KBUILD...
make CC=i686-pc-linux-gnu-gcc KBUILD_VERBOSE=1 -C /usr/src/linux M=/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv modules
make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/.tmp_versions
rm -f /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/.tmp_versions/*
make -f scripts/Makefile.build obj=/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv
echo \#define NV_COMPILER \"`i686-pc-linux-gnu-gcc -v 2>&1 | tail -n 1`\" > /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/nv_compiler.h
i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/.nv.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2 -march=i686 -mtune=i686 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -O -fno-common -msoft-float -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=9755 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/nv.c
/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/nv.c:110: warning: kmem_cache_t is deprecated
i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/.nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2 -march=i686 -mtune=i686 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -O -fno-common -msoft-float -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=9755 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/nv-vm.o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/nv-vm.c
i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/.os-agp.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2 -march=i686 -mtune=i686 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -O -fno-common -msoft-float -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=9755 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/os-agp.o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/os-agp.c
i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/.os-interface.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2 -march=i686 -mtune=i686 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -O -fno-common -msoft-float -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=9755 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/os-interface.o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/os-interface.c
i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/.os-registry.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2 -march=i686 -mtune=i686 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -O -fno-common -msoft-float -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=9755 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_registry)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/os-registry.o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/os-registry.c
i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2 -march=i686 -mtune=i686 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -O -fno-common -msoft-float -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=9755 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/nv-i2c.o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/nv-i2c.c
ld -m elf_i386 -r -o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/nvidia.o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/nv-kernel.o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/nv-vm.o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/os-agp.o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/os-interface.o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/os-registry.o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/nv-i2c.o
Building modules, stage 2.
make -f /usr/src/linux-2.6.20-gentoo-r2/scripts/Makefile.modpost
scripts/mod/modpost -i /usr/src/linux-2.6.20-gentoo-r2/Module.symvers -I /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/Module.symvers -o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/Module.symvers -w vmlinux /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv/nvidia.o
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'paravirt_ops'
make[3]: *** [__modpost] Error 1
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
!!! ERROR: x11-drivers/nvidia-drivers-1.0.9755 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 4283: Called src_compile
nvidia-drivers-1.0.9755.ebuild, line 181: Called linux-mod_src_compile
linux-mod.eclass, line 511: Called die
!!! Unable to make IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux clean module.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/temp/build.log'.
monster files #
|
emerge --info:
Code: |
monster files # emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r0, 2.6.20-gentoo i686)
=================================================================
System uname: 2.6.20-gentoo i686 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 11 Mar 2007 07:30:09 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r4
dev-lang/python: 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r6
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.15
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.20-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -pipe -O2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=prescott -pipe -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/"
LANG="en_US.utf-8"
LC_ALL="en_US.utf-8"
LINGUAS="en he"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/gfn-overlay /usr/portage/local/layman/gentopia /usr/portage/local/layman/enlightenment /usr/portage/local/layman/toolchain /usr/portage/local/layman/xeffects /usr/portage/local/layman/gnome-experimental /usr/portage/local/layman/pok3d /usr/portage/local/layman/custom-kernels /usr/portage/local/layman/misc_overlays /usr/portage/local/layman/xeffects /usr/portage/local/layman/custom"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac ac3 acpi aiglx alsa artworkextra asf audiofile avahi avi bash-completion berkdb bitmap-fonts cairo cdr cli cpufreq cracklib crypt cups dbus divxaac dri dts dvd dvdr emboss encode esd faad ffmpeg firefox fortran freetype gdbm gif glitz gnome gstreamer gtk gtk2 gtkhtml hal iconv irc isdnlog jpeg kerberos keyring libg++ libnotify lm_sensors logitech-mouse mad matroska midi mikmod mmx mmxext mp3 mpeg mplayer ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl oss pam pcre pdf perl plugins png ppds pppd python quicktime rar readline real reflection samba sdl session spell spl sse sse2 ssl startup-notification svg svga symlink tcpd thunar-vfs tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs wma x86 xanim xcomposite xine xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en he" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
monster files #
|
Pseudonimo:
I did make prepare and it didnt work.
I will try to reboot to console and try again. (Although I think this is not related..)
Thanks,
Dekel _________________ Gentoo Rulz!!! |
|
Back to top |
|
 |
Pseudonimo Guru


Joined: 10 Mar 2007 Posts: 393
|
Posted: Sun Mar 11, 2007 4:09 pm Post subject: |
|
|
You're right it probably isn't, but I think it's important to see if the kernel is ok. BTW my mistake, I have the 1.0.9746 drivers, and the 2.6.20 (no r2) kernel, I'll update and post later (if I forget plz send a bump). |
|
Back to top |
|
 |
Pseudonimo Guru


Joined: 10 Mar 2007 Posts: 393
|
Posted: Sun Mar 11, 2007 4:19 pm Post subject: |
|
|
Just read that second post PaulBredbury mentioned, I'm not using virtualization so that's why I don't get that error. Listen to him, I know very little I would remove virtualization and use kqemu untill it matures on the kernel.
Cheers |
|
Back to top |
|
 |
guru369 Apprentice

Joined: 02 Jun 2005 Posts: 225
|
Posted: Sun Mar 11, 2007 8:14 pm Post subject: |
|
|
Ok, It seems that the Paravirtualizaton support in the kernel was the reason for the compile error.
However, The top most warning still appear:
Code: |
make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-
|
But the module eventually compiled ok.
Dont you think we should have a bug submitted for it?
Dekel _________________ Gentoo Rulz!!! |
|
Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sun Mar 11, 2007 8:29 pm Post subject: |
|
|
guru369 wrote: | /bin/false |
That is not a warning, it is a piece of raw code. /bin/false should make the nvidia installation fail, if it was executed. |
|
Back to top |
|
 |
Pseudonimo Guru


Joined: 10 Mar 2007 Posts: 393
|
Posted: Sun Mar 11, 2007 9:28 pm Post subject: |
|
|
He's good! I think you missed a couple of lines on the output. I get: Code: | make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
make -C /lib/modules/2.6.20-gentoo/build \
KBUILD_SRC=/usr/src/linux-2.6.20-gentoo \
KBUILD_EXTMOD="/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9755/work/NVIDIA-Linux-x86-1.0-9755-pkg0/usr/src/nv" -f /usr/src/linux-2.6.20-gentoo/Makefile modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
|
This is raw code, the warning is in the first line, the rest are a bunch of commands.
Cheers |
|
Back to top |
|
 |
|
|
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
|
|