Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
now Nvidia-kernel won't build... sigh
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Zarathustra[H]
Guru
Guru


Joined: 30 Dec 2002
Posts: 389
Location: Cambridge, MA, USA

PostPosted: Mon Jan 10, 2005 11:05 pm    Post subject: now Nvidia-kernel won't build... sigh Reply with quote

Can anyone help?
Code:
 emerge nvidia-kernel
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/nvidia-kernel-1.0.6629-r1 to /
>>> md5 src_uri ;-) NVIDIA-Linux-x86_64-1.0-6629-pkg2.run
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.10-mm2
 * Using KV_OBJ=ko
 * Checking for MTRR support ...                                          [ ok ]
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86_64-1.0-6629-pkg2
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 1.0-6629.........................................................................
 * Applying nv-amd64-shutup-warnings.patch ...                            [ ok ]
 * Applying NVIDIA_kernel-1.0-6629-1155389.patch ...                      [ ok ]
 * Applying NVIDIA_kernel-1.0-6629-1162524.patch ...                      [ ok ]
 * Applying NVIDIA_kernel-1.0-6629-1165235.patch ...                      [ ok ]
 * Applying NVIDIA_kernel-1.0-6629-1171869.patch ...                      [ ok ]
 * Applying NVIDIA_kernel-1.0-6629-1175225.patch ...                      [ ok ]
 * Applying NVIDIA_kernel-1.0-6629-1182399.patch ...                      [ ok ]
 * Applying 2.6 kernel patches
 * Applying conftest_koutput_includes.patch ...                           [ ok ]
 * Applying nv-disable-preempt-on-smp_processor_id.patch ...              [ ok ]
 * Applying NVIDIA_kernel-1.0-6629-1161283.patch ...                      [ ok ]
 * Converting NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/Makefile.kbuild to use M= instead of SUBDIRS= ...                                              [ ok ]
>>> Source unpacked.
 * Preparing nvidia module

NVIDIA: calling KBUILD...
make CC=cc  KBUILD_VERBOSE=1 -C /usr/src/linux M=/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv modules
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
mkdir -p /var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/.tmp_versions
make -f scripts/Makefile.build obj=/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv_compiler.h
  cc -Wp,-MD,/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2     -fomit-frame-pointer -march=k8 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks      -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -Wdeclaration-after-statement -I/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar  -Werror -O -fno-common -mno-red-zone -MD   -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -mcmodel=kernel -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629  -DNV_UNIX  -DNV_LINUX  -DNV_INT64_OK  -DNVCPU_X86_64  -DNV_64_BITS    -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DNV_PCI_GET_CLASS_PRESENT  -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.o /var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c: In function `_get_phys_address':
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:2529: error: structure has no member named `pud'
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c: In function `nv_agp_init':
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:3010: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:577)
make[3]: *** [/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.o] Error 1
make[2]: *** [_module_/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2

!!! ERROR: media-video/nvidia-kernel-1.0.6629-r1 failed.
!!! Function linux-mod_src_compile, Line 284, Exitcode 2
!!! 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, NOT this status message.


This is with mm-sources-2.6.10-r2

Appreciated,
Matt
_________________
----
Athlon 64 3000+ / 1Gb Kingston Hyperx PC3500 / MSI K8N Neo / Geforce 6800GT
----
Back to top
View user's profile Send private message
bet1m
l33t
l33t


Joined: 04 Dec 2004
Posts: 631
Location: Kosova/Prishtine

PostPosted: Mon Jan 10, 2005 11:44 pm    Post subject: Reply with quote

I haved same problem, this looks like a -mm not compitable with nvidia.
try -nitro, or any thing else ;)
_________________
#370559
Back to top
View user's profile Send private message
Zentoo
Apprentice
Apprentice


Joined: 18 Nov 2002
Posts: 206
Location: /dev/console

PostPosted: Tue Jan 11, 2005 1:00 pm    Post subject: 2.6.10-mm2 & nvidia-kernel-1.0.66.29-r1 Reply with quote

I have the same problem on my box. I'm currently using 2.6.10-mm1 with nvidia-kernel-1.0.66.29-r1 but cannot compile it with a valid and working 2.6.10-mm2. i have even try to re-emerge it after have reboot on the new kernel. that's not work even :evil:

I'm going to give a try on nitro-sources. But i hope this issue could have a solution since mm-sources is in portage and follow the source evolution is more easy.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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