Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvdia Legacy driver compile problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
mdskpr
n00b
n00b


Joined: 22 Jan 2007
Posts: 3

PostPosted: Mon Jan 22, 2007 1:05 pm    Post subject: Nvdia Legacy driver compile problem Reply with quote

I have a Nvidia TNT/Riva 64 and a AMD Athlon 64 with a mach64 motherboard..

When i try to compile the nvidia-legacy drivers i get this emerge error...

Code:
NVIDIA: calling KBUILD...
make CC=x86_64-pc-linux-gnu-gcc KBUILD_OUTPUT=/lib/modules/2.6.19-gentoo-r4/build KBUILD_VERBOSE=1 -C /usr/src/linux M=/var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv modules
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
In file included from /var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv/nv.c:14:
/var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv/nv-linux.h:17:26: error: linux/config.h: No such file or directory
/var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv/nv.c: In function ‘nv_kern_open’:
/var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv/nv.c:1764: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
make[4]: *** [/var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv/nv.o] Error 1
make[3]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv] Error 2
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-legacy-drivers-1.0.7184-r90 failed.
Call stack:
  ebuild.sh, line 1564:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  nvidia-legacy-drivers-1.0.7184-r90.ebuild, line 145:   Called linux-mod_src_compile
  linux-mod.eclass, line 510:   Called die

!!! Unable to make  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.19-gentoo-r4/build clean module.
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/portage/local/layman/sabayon'


thanks for any help :)
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Mon Jan 22, 2007 1:18 pm    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software.

[mod]It seems you're running sabayon, although you've missed to include the output of emerge --info. As such, I've moved this thread to US. Don't forget you need to include the output of emerge --info to any thread about an ebuild issue.[/mod]

From the following, I assume your kernel wasn't compiled with the gcc you're trying to compile the nvidia-drivers package. I would suggest you compile your kernel with the newer gcc.
Code:
!!! Unable to make  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.19-gentoo-r4/build clean module.
!!! If you need support, post the topmost build error, and the call stack if relevant.

_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Mon Jan 22, 2007 2:18 pm    Post subject: Re: Nvdia Legacy driver compile problem Reply with quote

mdskpr wrote:
I have a Nvidia TNT/Riva 64 and a AMD Athlon 64 with a mach64 motherboard..

When i try to compile the nvidia-legacy drivers i get this emerge error...

Code:
NVIDIA: calling KBUILD...
make CC=x86_64-pc-linux-gnu-gcc KBUILD_OUTPUT=/lib/modules/2.6.19-gentoo-r4/build KBUILD_VERBOSE=1 -C /usr/src/linux M=/var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv modules
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
In file included from /var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv/nv.c:14:
/var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv/nv-linux.h:17:26: error: linux/config.h: No such file or directory
/var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv/nv.c: In function ‘nv_kern_open’:
/var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv/nv.c:1764: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
make[4]: *** [/var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv/nv.o] Error 1
make[3]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv] Error 2
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-legacy-drivers-1.0.7184-r90 failed.
Call stack:
  ebuild.sh, line 1564:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  nvidia-legacy-drivers-1.0.7184-r90.ebuild, line 145:   Called linux-mod_src_compile
  linux-mod.eclass, line 510:   Called die

!!! Unable to make  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.19-gentoo-r4/build clean module.
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/portage/local/layman/sabayon'


thanks for any help :)


you need to make a patch for that driver that changes config.h to autoconf.h
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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