[pkg-nvidia-devel] Bug#581343: nvidia-kernel-source: Fails to compile

Andreas Beckmann debian at abeckmann.de
Wed Aug 25 04:14:25 UTC 2010


Klaus Ethgen wrote:
> Package: nvidia-kernel-source
> Version: 195.36.24-1
> Severity: grave
> Tags: sid
>
> Trying to build the deb for the new nvidia-kernel-source:

*How* did you try to build the module?
Did you try both module-assistant and make-kpkg?

> Linux ikki 2.6.32.9 #1 Tue Feb 23 22:12:35 CET 2010 i686 GNU/Linux

That's a custom kernel, not an official Debian linux-image-*, so the
layout may be different causing some script not to be found in the same
location.

Can you try the official Debian kernel 2.6.32-5?

>    [many compiler _warnings_ not relevant]
>      LD [M]  /usr/src/modules/nvidia-kernel/nvidia.o
>      Building modules, stage 2.
>      MODPOST 1 modules
>    /bin/sh: scripts/mod/modpost: not found

Do you have this script somewhere in your kernel source tree?

>    make[4]: *** [__modpost] Fehler 127

...

> Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored:
> LC_ALL set to de_DE)

Also retry the build with setting LC_ALL=C first, might be a
localisation issue.


Andreas





More information about the Pkg-nvidia-devel mailing list