Skip to content

Instantly share code, notes, and snippets.

@asergi
Created May 20, 2014 15:40
Show Gist options
  • Save asergi/dc00491e84f8d7ea9111 to your computer and use it in GitHub Desktop.
Save asergi/dc00491e84f8d7ea9111 to your computer and use it in GitHub Desktop.
alessio@braniac ~
$ sudo xbps-install -Syu
Password:
[*] Updating `http://repo.voidlinux.eu/current/x86_64-repodata' ...
[*] Updating `http://repo.voidlinux.eu/current/nonfree/x86_64-repodata' ...
1 package will be installed:
nvidia-dkms-337.19_1
1 package will be updated:
nvidia-337.19_1
Size to download: 19MB
Size required on disk: 33MB
[*] Downloading binary packages
nvidia-dkms-337.19_1.x86_64.xbps: 3538KB [avg rate: 756KB/s]
nvidia-dkms-337.19_1.x86_64.xbps.sig: 512B [avg rate: 22MB/s]
nvidia-337.19_1.x86_64.xbps: 15MB [avg rate: 663KB/s]
nvidia-337.19_1.x86_64.xbps.sig: 512B [avg rate: 20MB/s]
[*] Verifying package integrity
nvidia-dkms-337.19_1: verifying RSA signature...
nvidia-337.19_1: verifying RSA signature...
[*] Running transaction tasks
nvidia-dkms-337.19_1: unpacking ...
nvidia-337.12_1: updating to 337.19_1 ...
nvidia-337.19_1: unpacking ...
[*] Configuring unpacked packages
nvidia-dkms-337.19_1: configuring ...
DKMS module 'nvidia-337.19' already added, skipping.
Building DKMS module 'nvidia-337.19' for kernel-3.14.4_2... FAILED!
DKMS module 'nvidia-337.19' failed to build, please check /var/lib/dkms
for errors in the log file.
Regenerating initramfs, please wait...
nvidia-dkms-337.19_1: installed successfully.
nvidia-337.19_1: configuring ...
Updating MIME database...
nvidia-337.19_1: updated successfully.
1 installed, 1 updated, 1 configured, 0 removed.
alessio@braniac ~
$ sudo xbps-reconfigure -f nvidia-dkms
nvidia-dkms: configuring ...
DKMS module 'nvidia-337.19' already added, skipping.
Building DKMS module 'nvidia-337.19' for kernel-3.14.4_2... FAILED!
DKMS module 'nvidia-337.19' failed to build, please check /var/lib/dkms
for errors in the log file.
Regenerating initramfs, please wait...
alessio@braniac ~
$ cat /var/lib/dkms/nvidia/337.19/build/make.log
DKMS make.log for nvidia-337.19 for kernel 3.14.4_2 (x86_64)
Tue May 20 17:20:05 CEST 2014
gcc-version-check failed:
Could not compile 'gcc-version-check.c'. Please be
sure you have your Linux distribution's gcc and
libc development packages installed.
If you know what you are doing and want to override
the gcc version check, you can do so by setting the
IGNORE_CC_MISMATCH environment variable to "1".
In any other case, set the CC environment variable
to the name of the compiler that was used to compile
the kernel.
*** Failed CC version check. Bailing out! ***
nvidia-modules-common.mk:197: recipe for target 'build-sanity-checks' failed
make: *** [build-sanity-checks] Error 1
alessio@braniac ~
$ su -
Password:
[root@braniac ~]# xbps-reconfigure -f nvidia-dkms
nvidia-dkms: configuring ...
DKMS module 'nvidia-337.19' already added, skipping.
Building DKMS module 'nvidia-337.19' for kernel-3.14.4_2... FAILED!
DKMS module 'nvidia-337.19' failed to build, please check /var/lib/dkms
for errors in the log file.
Regenerating initramfs, please wait...
[root@braniac ~]# export IGNORE_CC_MISMATCH=1; xbps-reconfigure -f nvidia-dkms
nvidia-dkms: configuring ...
DKMS module 'nvidia-337.19' already added, skipping.
Building DKMS module 'nvidia-337.19' for kernel-3.14.4_2... done.
Installing DKMS module 'nvidia-337.19' for kernel-3.14.4_2... done.
Regenerating initramfs, please wait...
[root@braniac ~]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment