Bug#890775: nvidia-legacy-340xx-kernel-source: v.340.106-2 doesn't compile with linux-image-4.15.0-1-686-pae (v. 4.15.4-1)

Luca Boccassi bluca at debian.org
Sun Feb 18 19:29:18 UTC 2018


Control: tags -1 moreinfo

On Sun, 2018-02-18 at 19:32 +0100, Serge Le Tyrant wrote:
> Package: nvidia-legacy-340xx-kernel-source
> Version: 340.106-2
> Severity: normal
> Tags: upstream
> 
> linux-image-4.15.0-1-686-pae seems to work correctly.
> But when i compile a newer nvidia driver with : # m-a a-i nvidia-
> legacy-340xx-
> kernel-source
> some errors appearded.
> 
> In /var/lib/dkms/nvidia/195.36.24/build/make.log :
> 
> DKMS make.log for nvidia-195.36.24 for kernel 4.15.0-1-686-pae (i686)
> dimanche 18 février 2018, 17:58:56 (UTC+0100)
> make : on entre dans le répertoire
> « /var/lib/dkms/nvidia/195.36.24/build »
> make -C /lib/modules/4.15.0-1-686-pae/build  M=`/bin/pwd` modules
> make[1] : on entre dans le répertoire « /usr/src/linux-
> headers-4.15.0-1-686-pae »
>   CC [M]  /var/lib/dkms/nvidia/195.36.24/build/nv_gvi.o
>   CC [M]  /var/lib/dkms/nvidia/195.36.24/build/nv-vm.o
>   CC [M]  /var/lib/dkms/nvidia/195.36.24/build/os-agp.o
>   CC [M]  /var/lib/dkms/nvidia/195.36.24/build/os-interface.o
>   CC [M]  /var/lib/dkms/nvidia/195.36.24/build/os-registry.o
>   CC [M]  /var/lib/dkms/nvidia/195.36.24/build/nv-i2c.o
>   CC [M]  /var/lib/dkms/nvidia/195.36.24/build/nvacpi.o
> In file included from
> /var/lib/dkms/nvidia/195.36.24/build/nv_gvi.c:15:0:
> /var/lib/dkms/nvidia/195.36.24/build/nv-linux.h:22:10: fatal error:
> linux/autoconf.h: Aucun fichier ou dossier de ce type
>  #include <linux/autoconf.h>
>           ^~~~~~~~~~~~~~~~~~
> compilation terminated.
> /usr/src/linux-headers-4.15.0-1-common/scripts/Makefile.build:321 :
> la recette
> pour la cible « /var/lib/dkms/nvidia/195.36.24/build/nv_gvi.o » a
> échouée
> make[4]: *** [/var/lib/dkms/nvidia/195.36.24/build/nv_gvi.o] Erreur 1
> make[4]: *** Attente des tâches non terminées....
> In file included from /var/lib/dkms/nvidia/195.36.24/build/nv-
> vm.c:14:0:
> /var/lib/dkms/nvidia/195.36.24/build/nv-linux.h:22:10: fatal error:
> linux/autoconf.h: Aucun fichier ou dossier de ce type
>  #include <linux/autoconf.h>
>           ^~~~~~~~~~~~~~~~~~
> In file included from /var/lib/dkms/nvidia/195.36.24/build/os-
> agp.c:24:0:
> /var/lib/dkms/nvidia/195.36.24/build/nv-linux.h:22:10: fatal error:
> linux/autoconf.h: Aucun fichier ou dossier de ce type
>  #include <linux/autoconf.h>
>           ^~~~~~~~~~~~~~~~~~
> compilation terminated.
> compilation terminated.
> /usr/src/linux-headers-4.15.0-1-common/scripts/Makefile.build:321 :
> la recette
> pour la cible « /var/lib/dkms/nvidia/195.36.24/build/nv-vm.o » a
> échouée
> make[4]: *** [/var/lib/dkms/nvidia/195.36.24/build/nv-vm.o] Erreur 1
> /usr/src/linux-headers-4.15.0-1-common/scripts/Makefile.build:321 :
> la recette
> pour la cible « /var/lib/dkms/nvidia/195.36.24/build/os-agp.o » a
> échouée
> make[4]: *** [/var/lib/dkms/nvidia/195.36.24/build/os-agp.o] Erreur 1
> In file included from /var/lib/dkms/nvidia/195.36.24/build/os-
> interface.c:26:0:
> /var/lib/dkms/nvidia/195.36.24/build/nv-linux.h:22:10: fatal error:
> linux/autoconf.h: Aucun fichier ou dossier de ce type
>  #include <linux/autoconf.h>
>           ^~~~~~~~~~~~~~~~~~
> compilation terminated.
> /usr/src/linux-headers-4.15.0-1-common/scripts/Makefile.build:321 :
> la recette
> pour la cible « /var/lib/dkms/nvidia/195.36.24/build/os-interface.o » 
> a échouée
> make[4]: *** [/var/lib/dkms/nvidia/195.36.24/build/os-interface.o]
> Erreur 1
> In file included from /var/lib/dkms/nvidia/195.36.24/build/nv-
> i2c.c:8:0:
> /var/lib/dkms/nvidia/195.36.24/build/nv-linux.h:22:10: fatal error:
> linux/autoconf.h: Aucun fichier ou dossier de ce type
>  #include <linux/autoconf.h>
> (...)

Hi,

Are you sure you are using the right command/package? The log shows
that it's trying to build the 195.xx series, which is deprecated.
340.xx works fine, just tested on Sid, both with module-assisant and
with dkms.

-- 
Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20180218/bd4e6573/attachment.sig>


More information about the pkg-nvidia-devel mailing list