You are not logged in.
Pages: 1
Hi,
SliTaz Rolling on an old computer with NVIDIA graphic card, works fine with [c]nouveau[/c]. I wondered if the proprietary driver could improve performance but the installer returns
ERROR: The kernel header file
'/lib/modules/3.16.55-slitaz/build/include/linux/version.h' does not
exist. The most likely reason for this is that the kernel source files
in '/lib/modules/3.16.55-slitaz/build' have not been configured.
The file is neither in [c]linux-api-headers[/c] nor in [c]linux-module-headers[/c], and the linux sources are installed of course.
Any idea to satisfy the NVidia installer?
Offline
Hi Ceel,
It's strange, if i check on tank or pkgs.slitaz.org, normally linux-api-headers include it.
shann@tank:/home/slitaz/cooking/chroot/home/slitaz/wok/linux-api-headers$ ls taz
/linux-api-headers-3.16.55/fs/usr/include/linux/version.h -l
-rw-r--r-- 1 root root 97 Jan 21 2024 taz/linux-api-headers-3.16.55/fs/usr/include/linux/version.h
shann@tank:~$ tazpkg extract /home/slitaz/cooking/packages/linux-api-headers-3.1
6.55.tazpkg
Extraction de: linux-api-headers-3.16.55
================================================================================
Copie du paquet original... [ OK ]
Extraction de linux-api-headers-3.16.55... [ OK ]
Extraction du pseudo fs...(lzma) [ OK ]
================================================================================
linux-api-headers-3.16.55 est extrait vers: linux-api-headers-3.16.55
shann@tank:~$ ls linux-api-headers-3.16.55/fs/usr/include/linux/version.h -l
-rw-r--r-- 1 shann users 97 Jan 21 2024 linux-api-headers-3.16.55/fs/usr/include/linux/version.h
https://pkgs.slitaz.org/?filelist=linux-api-headers
Think maybe linux-source broken, and /lib/modules/3.16.55-slitaz/build symlink miss 
Offline
Hi shann,
Thank you for your answer.
Yes, [c]version.h[/c] exists in [c]/usr/include/linux/[/c] ([c]linux-api-headers[/c]) and in [c]/usr/src/linux-3.16.55-slitaz/include/linux[/c] ([c]linux-module-headers[/c]). I copied the file in [c]/lib/modules/3.16.55-slitaz/build[/c] and got another error:
ERROR: If you are using a Linux kernel 2.4, 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 kernel 2.6, please make sure you have configuredkernel 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.
Reading the message I realized that the computer is 23 years old. Kernel 3.16 was released on august 2014. I think the NVidia installer cannot build the module for this kernel. I gave a try with SliTaz 4.0 and the module compiled fine.
So, I mark the topic as resolved and this old computer will be very happy with [c]nouveau[/c].
Offline
Hi shann,
Not exactly. I did a test with SliTaz 4.0 to know if the NVidia installer would create the module; this seems to confirm it's not possible to compile this NVidia driver for kernels newer than 2.6. But the computer runs Rolling.
[c]nouveau[/c] does not exist in SliTaz 4.0; I recompiled [c]linux[/c], [c]linux-drm[/c] and create [c]libdrm-nouveau[/c] a few years ago to have it. But SliTaz 4.0 has nowaday really limited possibilities 
Offline
Pages: 1
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]