-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Am Mi den 25. Aug 2010 um 5:14 schrieb Andreas Beckmann: > > Trying to build the deb for the new nvidia-kernel-source: > > *How* did you try to build the module?
make-kpkg. > Did you try both module-assistant and make-kpkg? No. Only make-kpkg. But module-assistant would do no other than using make-kpkg I suppose. > > 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. True, it is not an official Debian kernel. False, it has exactly the same layout. > Can you try the official Debian kernel 2.6.32-5? No, at it is broken by security and functionality. > > [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? Well, That is no script, that is a binary build on demand. And the scripts/mod/modpost.c is available and compiles without problems. > > 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. That could be. But I was thinking that make-kpkg clean the environment automatically. However, it seems that with the combination of kernel 2.6.34 and version 195.36.24-4 of nvidia-kernel-source, the problem seems to be solved. I was able to build the kernel module for that kernel and it is working. Though there is a confusing bug in make-kpkg for long years now how to use the --rootcmd option. But I think I handle that correctly. (Using "fakeroot make-kpkg" without that option to build the kernel image and "make-kpkg --rootcmd fakeroot" to build the modules. All other combinations do not work at all. Of course, you can do all as root. But that is no option for me. I do not build any package as root at all! Regards Klaus - -- Klaus Ethgen http://www.ethgen.de/ pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <kl...@ethgen.de> Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEVAwUBTHTfP5+OKpjRpO3lAQqE8gf8CONMOW4oVLATTFLi2lHGSF3rsFYUSLyC Wqb+JHozZezRY9H0vKR4N1sCgtvA9KHsch0lfkD/oXHkGNDGKKpqM0EkGibc83XQ q9yBlb105eWd/mztp32qUUU7AJgIcgdlOX1dQZIdqm+5uf9RAwz/GpVVToDW803N Izubu7W6eHKGmtFZcKBokRTDP0bWJPm6QfQ/btSfHsKuc0GzvU8cxIR5/YKr6FBK P1pRKfiAxfwDrV3z1QDgbz/NWr8UZx4d+kcujQiDZsxXZga+a3rmHV0+WNaWV/Sk vhbP8adleMTmwU44HSf6VZePHk74640p+JX9kJ9Mop4ish4V1p+Mkw== =Vvd1 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org