Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge nvidia-drivers fail
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Mon Dec 09, 2013 8:47 pm    Post subject: emerge nvidia-drivers fail Reply with quote

I try to do:

Code:

emerge nvidia-drivers


I get the following error:

Code:

 * Preparing nvidia module
make -j2 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.10.17-gentoo/build CC=x86_64-pc-linux-gnu-gcc clean module
NVIDIA: calling KBUILD...
make[1]: Entering directory `/usr/src/linux-3.10.17-gentoo'
make -C /lib/modules/3.10.17-gentoo/build \
KBUILD_SRC=/usr/src/linux-3.10.17-gentoo \
KBUILD_EXTMOD="/var/tmp/portage/x11-drivers/nvidia-drivers-331.20/work/kernel" -f /usr/src/linux-3.10.17-gentoo/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)


What is the problem here? I have tried doing "make oldconfig && make prepare" in /usr/src/linux. /usr/src/linux is a symlink pointing to the kernel I am running.
Back to top
View user's profile Send private message
pertplus
n00b
n00b


Joined: 20 Jun 2011
Posts: 40

PostPosted: Mon Dec 09, 2013 9:32 pm    Post subject: Reply with quote

Did you enable nouveau in kernel? Nvidia propriatary is incompatible with nouveau I believe. I use nvidia drivers and dont have nouveau/nvidia enabled in kernel.
Back to top
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Mon Dec 09, 2013 9:41 pm    Post subject: Re: emerge nvidia-drivers fail Reply with quote

deltamalloc wrote:
Code:
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 ;                                                      \

What is the problem here?

There ? Exactly there ? I mean reading the information you gave ?

None ! :P

It's a trace. No more than a trace. echo is an instruction, the rest is an operand.
If you do not read exactly : " ERROR:....." I mean without the "echo >.." before, then...
What's the problem ? : None !
_________________
Back to top
View user's profile Send private message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Wed Dec 11, 2013 12:34 am    Post subject: Reply with quote

pertplus wrote:
Did you enable nouveau in kernel? Nvidia propriatary is incompatible with nouveau I believe. I use nvidia drivers and dont have nouveau/nvidia enabled in kernel.


No, I have followed https://wiki.gentoo.org/wiki/NVidia/nvidia-drivers for how to configure the kernel, regarding this part of the kernel configuration.
Back to top
View user's profile Send private message
mvaterlaus
Apprentice
Apprentice


Joined: 01 Oct 2010
Posts: 209
Location: Switzerland

PostPosted: Wed Dec 11, 2013 11:09 am    Post subject: Reply with quote

deltamalloc,

I always see this message, when I compile nvidia-drivers. Does your merge continues? Or does it abort? If it aborts, there must be some other errors.
_________________
For calming down your eyes or clearing your mind: www.patrickwehli.ch
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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