Can't build nvidia-drivers ( gcc sanity check )

Anything that pertains to Portage

Moderator: Moderators

Can't build nvidia-drivers ( gcc sanity check )

Postby dkasak » Fri Oct 10, 2008 5:36

I can't build the old nvidia drivers:

Code: Select all
 * Preparing nvidia module

The C compiler 'i586-pc-linux-gnu-gcc' does not appear to be able to
create executables.  Please make sure you have
your Linux distribution's libc development package
installed and that 'i586-pc-linux-gnu-gcc' is a valid C compiler

*** Failed CC sanity check. Bailing out! ***

make: *** [select_makefile] Error 1
 * ERROR: x11-drivers/nvidia-drivers-96.43.07 failed.
 * Call stack:
 *     , line   49:  Called src_compile
 *             environment, line 3629:  Called linux-mod_src_compile
 *             environment, line 2688:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                   CC=\"$(get-KERNEL_CC)\"             LDFLAGS=\"$(get_abi_LDFLAGS)\"                   ${BUILD_FIXES}                   ${BUILD_PARAMS}       ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=i586-pc-linux-gnu-gcc CC=i586-pc-linux-gnu-gcc LDFLAGS=  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/lib/entropy/logs/x11-drivers:nvidia-drivers-96.43.07:20081010-034121.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-96.43.07/temp/environment'.

It's a fresh install ( today ). Any ideas?
Baby Hen
Posts: 15
Joined: Mon Feb 13, 2006 23:51

Re: Can't build nvidia-drivers ( gcc sanity check )

Postby wolfden » Fri Oct 10, 2008 6:19

moved to correct forum

It helps to list what sabayon linux your are running but I will assume POD since it is a very very very well known thing
viewtopic.php?f=60&t=14081 ... ng_portage
Posts: 9050
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest