Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(résolu)[NVIDIA] Build failed :(
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
BoOmSlAnGz
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2005
Posts: 123
Location: /usr/src/linux

PostPosted: Tue Nov 27, 2007 8:59 pm    Post subject: (résolu)[NVIDIA] Build failed :( Reply with quote

Salut à tous !

J'ai un problème de compilation de driver NVIDIA. J'ai testé plusieurs trucs mais rien ne fonctionne...
J'ai un noyau 2.6.23-gentoo-r2

Voici le build log (en partie) :
Code:
make -f /usr/src/linux-2.6.23-gentoo-r2/scripts/Makefile.build obj=/var/tmp/portage/x11-drivers/nvidia-drivers-100.14.19/work/NVIDIA-Linux-x86-100.14.19-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-100.14.19/work/NVIDIA-Linux-x86-100.14.19-pkg0/usr/src/nv/nv_compiler.h
  i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-100.14.19/work/NVIDIA-Linux-x86-100.14.19-pkg0/usr/src/nv/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.23-gentoo-r2/include -include include/linux/autoconf.h  -I/var/tmp/portage/x11-drivers/nvidia-drivers-100.14.19/work/NVIDIA-Linux-x86-100.14.19-pkg0/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/usr/src/linux-2.6.23-gentoo-r2/include/asm-i386/mach-default -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-100.14.19/work/NVIDIA-Linux-x86-100.14.19-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"100.14.19\" -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_ACQUIRE_CONSOLE_SEM_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_KMEM_CACHE_CREATE_5_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-100.14.19/work/NVIDIA-Linux-x86-100.14.19-pkg0/usr/src/nv/.tmp_nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-100.14.19/work/NVIDIA-Linux-x86-100.14.19-pkg0/usr/src/nv/nv.c
/bin/sh: scripts/genksyms/genksyms: Aucun fichier ou répertoire de ce type
make[4]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-100.14.19/work/NVIDIA-Linux-x86-100.14.19-pkg0/usr/src/nv/nv.o] Erreur 1
make[3]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-100.14.19/work/NVIDIA-Linux-x86-100.14.19-pkg0/usr/src/nv] Erreur 2
make[2]: *** [modules] Erreur 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Erreur 1
make: *** [module] Erreur 2
 *
 * ERROR: x11-drivers/nvidia-drivers-100.14.19 failed.
 * Call stack:
 *                         ebuild.sh, line 1701:  Called dyn_compile
 *                         ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                         ebuild.sh, line   44:  Called src_compile
 *   nvidia-drivers-100.14.19.ebuild, line  212:  Called linux-mod_src_compile
 *                  linux-mod.eclass, line  518:  Called die
 * The specific snippet of code:
 *                      emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" \
 *                                ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} \
 *                              || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}."
 *  The die message:
 *   Unable to make  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.23-gentoo-r2/build 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-100.14.19/temp/build.log'.
 *

 * Messages for package x11-drivers/nvidia-drivers-100.14.19:

 *
 * ERROR: x11-drivers/nvidia-drivers-100.14.19 failed.
 * Call stack:
 *                         ebuild.sh, line 1701:  Called dyn_compile
 *                         ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                         ebuild.sh, line   44:  Called src_compile
 *   nvidia-drivers-100.14.19.ebuild, line  212:  Called linux-mod_src_compile
 *                  linux-mod.eclass, line  518:  Called die
 * The specific snippet of code:
 *                      emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" \
 *                                ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} \
 *                              || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}."
 *  The die message:
 *   Unable to make  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.23-gentoo-r2/build 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-100.14.19/temp/build.log'.
 *


Mon make.conf :
Code:
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example


#CFLAGS="-O2 -march=pentium4"
#CFLAGS="-march=pentium2 -mtune=pentium2 -O2 -pipe"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer "

CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
LINGUAS="fr"
USE="-gnome corba objc++ asf real xvmc xvid nvidia java x86 tcpd ssl opengloss apm arts avi berkdb bitmap-fonts crypt cups encode fortran f77 foomaticdb gdbm gif gpm wxgtk gtk gtk2 imlib jpeg libg++ libwww mad  mikmod motif mpeg ncurses nls oggvorbis opengl pam pdflib png python qt quicktime readline sdl spell ssl svga tcpd truetype X xml2 xmms xv zlib mp3 -kde xine alsa nsplugin mozilla firefox mjpegtools exif jpeg2k mjpeg yv12 hal dbus X a52 alsa dts dvd dvdr dvdread css dvdnav ffmpeg vlm stream vlc xine-lib xine mpeg win32codecs ncurses opengl sdl shout skins truetype wxwindows"
#USE="dlloader"
VIDEO_CARDS="nvidia vesa fbdev"
#GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo"
GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo http://pandemonium.tiscali.de/pub/gentoo/ http://mirror.ovh.net/gentoo-distfiles/distfiles/"
ALSA_CARDS="emu10k1"
#PORTDIR_OVERLAY="/usr/local/portage"
#PORTDIR_OVERLAY="/usr/portage"
FEATURES="-sandbox -usersandbox"

C'est grave docteur ? :(

Merci d'avance.
_________________
[img:2e23a27e21]http://img100.exs.cx/img100/6808/logo59ea.jpg[/img:2e23a27e21]


Last edited by BoOmSlAnGz on Sat Dec 01, 2007 11:44 am; edited 2 times in total
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Wed Nov 28, 2007 3:40 am    Post subject: Reply with quote

As-tu essayé la version testing ?
Back to top
View user's profile Send private message
BoOmSlAnGz
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2005
Posts: 123
Location: /usr/src/linux

PostPosted: Wed Nov 28, 2007 7:13 am    Post subject: Reply with quote

d2_racing wrote:
As-tu essayé la version testing ?

la 100.14.23 ? Ah, bah, étrangement, celle à fonctionne ...

Une explication ? Merci.
_________________
[img:2e23a27e21]http://img100.exs.cx/img100/6808/logo59ea.jpg[/img:2e23a27e21]
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Wed Nov 28, 2007 11:55 am    Post subject: Reply with quote

oui, aucune :) En effet, j'ai déjà eu un problème similaire avec le driver propriétaire ATI et le monde ici m'avait conseillé d'utiliser la version testing pour avoir plus de chances que ça fonctionne.

C'est vraiment assez bizarre tous les problèmes qu'on peut avoir avec des drivers proprio.
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 8414
Location: ~Brussels - Belgique

PostPosted: Wed Nov 28, 2007 12:00 pm    Post subject: Reply with quote

proprios ou libres, ça peut arriver à tout le monde ;)
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Wed Nov 28, 2007 12:02 pm    Post subject: Reply with quote

En effet :)
Back to top
View user's profile Send private message
BoOmSlAnGz
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2005
Posts: 123
Location: /usr/src/linux

PostPosted: Wed Nov 28, 2007 7:10 pm    Post subject: Reply with quote

Non en fait bizarrement, toutes les version compilent maintenant ... tout ce que j'ai fait c'est compiler un 2.6.23-gentoo-r3 ...

Etrange !

En tout as merci ;)
_________________
[img:2e23a27e21]http://img100.exs.cx/img100/6808/logo59ea.jpg[/img:2e23a27e21]
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Thu Nov 29, 2007 2:02 am    Post subject: Reply with quote

Peut-être que ta version du package de nvidia était incompatible avec le 2.6.22 ou carrément tu as activé de quoi de nouveau dans le 2.6.23 sans t'en rendre compte et ça fonctionne :)

Je suis content pour toi.
Back to top
View user's profile Send private message
BoOmSlAnGz
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2005
Posts: 123
Location: /usr/src/linux

PostPosted: Thu Nov 29, 2007 7:13 am    Post subject: Reply with quote

d2_racing wrote:
Peut-être que ta version du package de nvidia était incompatible avec le 2.6.22 ou carrément tu as activé de quoi de nouveau dans le 2.6.23 sans t'en rendre compte et ça fonctionne :)

Je suis content pour toi.

Non non, je suis seulement passé à la release 3 et lieu de la 2 (avec le même fichier de config)
_________________
[img:2e23a27e21]http://img100.exs.cx/img100/6808/logo59ea.jpg[/img:2e23a27e21]
Back to top
View user's profile Send private message
El_Goretto
Moderator
Moderator


Joined: 29 May 2004
Posts: 3109
Location: Paris

PostPosted: Thu Nov 29, 2007 8:09 am    Post subject: Reply with quote

Pourrais-tu STP mettre (résolu) dans ton titre, et non pas (solved)?
Merci pour ceux qui ferons une recherche sur le même problème que toi :)
_________________
-Gentoo hardened [EoL]: µ-serv Gen8 G1610T, 8Go ECC ; NF9D-2700, 4Go
-FreeBSD 11/Vimage/Jails: DS61, i3 2100T, 16Go ; FreeNAS: µ-serv N40L, 8Go ECC
-Réseau: ERL-3 + ESL-24 + GS108Tv2
-NAS: RN312
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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