% makepkg -s ==> Making package: nvidia-304xx 304.64-3 (Mon Feb 4 13:38:34 EST 2013) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving Sources... -> Downloading NVIDIA-Linux-x86-304.64.run... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 37.5M 100 37.5M 0 0 717k 0 0:00:53 0:00:53 --:--:-- 729k -> Found uapi-3.7.patch ==> Validating source files with md5sums... NVIDIA-Linux-x86-304.64.run ... Passed uapi-3.7.patch ... Passed ==> Extracting Sources... ==> Starting build()... Creating directory NVIDIA-Linux-x86-304.64 Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 304.64................................................................................................................................................ patching file conftest.sh patching file nv-mmap.c Hunk #1 succeeded at 463 with fuzz 1 (offset 13 lines). If you are using a Linux 2.4 kernel, please make sure you either have configured kernel sources matching your kernel or the correct set of kernel headers installed on your system. If you are using a Linux 2.6 kernel, please make sure you have configured kernel sources matching your kernel installed on your system. If you specified a separate output directory using either the "KBUILD_OUTPUT" or the "O" KBUILD parameter, make sure to specify this directory with the SYSOUT environment variable or with the equivalent nvidia-installer command line option. Depending on where and how the kernel sources (or the kernel headers) were installed, you may need to specify their location with the SYSSRC environment variable or the equivalent nvidia-installer command line option. *** Unable to determine the target kernel version. *** make: *** [select_makefile] Error 1 ==> ERROR: A failure occurred in build(). Aborting...