Bug#340486: linux-headers-2.6.14-2-k7: Unable to compile modules, fixdep.c required
On Wed, Nov 23, 2005 at 01:05:47PM -0600, Moshe Yudkowsky wrote: Package: linux-headers-2.6.14-2-k7 Version: 2.6.14-3 Severity: serious Justification: no longer builds from source linux-headers-2.6.14-2-k7 is no source package, so it can't fail to build. I am attempting to build my modules for 2.6.14-2-k7, and this fails. The failure is because the Makefile in headers/scripts/basic attempts, incorrectly (AFAICT) to build fixdep instead of using the fixdep that is already in the directory: linux# make-kpkg modules /usr/bin/make\ ARCH=i386 oldconfig make[1]: Entering directory `/usr/src/linux-headers-2.6.14-2-k7' HOSTCC scripts/basic/fixdep gcc: scripts/basic/fixdep.c: No such file or directory gcc: no input files make[2]: *** [scripts/basic/fixdep] Error 1 make[1]: *** [scripts_basic] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.14-2-k7' make: *** [stamp-kernel-configure] Error 2 oldconfig is not called by kbuild to build modules, what do you do? It is not even appropriate to call it as the config is always uptodate in the headers package and this will probably invalidate the symbol version files. Please note that I'm simply following the same procedure I've always followed to build modules. Previous versions of linux-headers did NOT have a Makefile in the scripts/basic directory. I realize that there's probably a simple fix for this, but unravelling the *intent* of a Makefile is a little tricky at times... What happens if you compile it with make -C /usr/src/$bla M=$(pwd)? Bastian -- Punishment becomes ineffective after a certain point. Men become insensitive. -- Eneg, Patterns of Force, stardate 2534.7
Bug#340486: linux-headers-2.6.14-2-k7: Unable to compile modules, fixdep.c required
On Sun, 4 Dec 2005, Bastian Blank wrote: oldconfig is not called by kbuild to build modules, what do you do? It is not even appropriate to call it as the config is always uptodate in the headers package and this will probably invalidate the symbol version files. Please read my post to this bug. It appears to be the kernel-package problem, fixed kernel-package is now in sid, I'm just waiting for a confirmation from submitter that it works for him before closing the bug. Best regards, Jurij Smakov[EMAIL PROTECTED] Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#340486: linux-headers-2.6.14-2-k7: Unable to compile modules, fixdep.c required
Jurij, I am re-sending this email because I just checked the bug report and I do not see it listed -- so I assume it went astray. That's probably my fault, even though I would think that if Makefile would be written correctly, and fixdep binary already present (and it is present), then it would not try to rebuild it. Can you please confirm that it builds fine if you remove scripts/basic/Makefile? I should have included this in the original report -- that's the first thing I tested. When I remove Makefile from the script/basic directory, the make-kpgk fails with a complaint that there's no fule to make target scripts/basic/Makefile. I just tried this again with the latest linux-headers release, 2.6.14-4, and I have the same problem: complilation fails with or without the script/basic/Makefile. Please let me know if you need any further information. -- Moshe Yudkowsky Disaggregate 2952 W Fargo Chicago, IL 60645 USA www.Disaggregate.com www.PebbleAndAvalanche.com [EMAIL PROTECTED] +1 773 764 8727 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#340486: linux-headers-2.6.14-2-k7: Unable to compile modules, fixdep.c required
Package: linux-headers-2.6.14-2-k7 Version: 2.6.14-3 Severity: serious Justification: no longer builds from source I am attempting to build my modules for 2.6.14-2-k7, and this fails. The failure is because the Makefile in headers/scripts/basic attempts, incorrectly (AFAICT) to build fixdep instead of using the fixdep that is already in the directory: linux# make-kpkg modules /usr/bin/make\ ARCH=i386 oldconfig make[1]: Entering directory `/usr/src/linux-headers-2.6.14-2-k7' HOSTCC scripts/basic/fixdep gcc: scripts/basic/fixdep.c: No such file or directory gcc: no input files make[2]: *** [scripts/basic/fixdep] Error 1 make[1]: *** [scripts_basic] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.14-2-k7' make: *** [stamp-kernel-configure] Error 2 I am attempt this build with /usr/src/linux as an alias for linux-headers-26.14-2-k7, but the build itself is being carried out under 2.6.12. Please note that I'm simply following the same procedure I've always followed to build modules. Previous versions of linux-headers did NOT have a Makefile in the scripts/basic directory. I realize that there's probably a simple fix for this, but unravelling the *intent* of a Makefile is a little tricky at times... -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-1-k7 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages linux-headers-2.6.14-2-k7 depends on: ii linux-headers-2.6.14-22.6.14-3 Common header files for Linux kern linux-headers-2.6.14-2-k7 recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#340486: linux-headers-2.6.14-2-k7: Unable to compile modules, fixdep.c required
On Wed, 23 Nov 2005, Moshe Yudkowsky wrote: Package: linux-headers-2.6.14-2-k7 Version: 2.6.14-3 Severity: serious Justification: no longer builds from source I am attempting to build my modules for 2.6.14-2-k7, and this fails. The failure is because the Makefile in headers/scripts/basic attempts, incorrectly (AFAICT) to build fixdep instead of using the fixdep that is already in the directory: linux# make-kpkg modules /usr/bin/make\ ARCH=i386 oldconfig make[1]: Entering directory `/usr/src/linux-headers-2.6.14-2-k7' HOSTCC scripts/basic/fixdep gcc: scripts/basic/fixdep.c: No such file or directory gcc: no input files make[2]: *** [scripts/basic/fixdep] Error 1 make[1]: *** [scripts_basic] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.14-2-k7' make: *** [stamp-kernel-configure] Error 2 That's probably my fault, even though I would think that if Makefile would be written correctly, and fixdep binary already present (and it is present), then it would not try to rebuild it. Can you please confirm that it builds fine if you remove scripts/basic/Makefile? Best regards, Jurij Smakov[EMAIL PROTECTED] Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]