tags 433526 + moreinfo thanks #include <hallo.h> * James Westby [Tue, Jul 17 2007, 06:48:55PM]: > Package: module-assistant > Version: 0.10.11 > Severity: wishlist > > Hi, > > module-assistant is a great tool and really simplifies the process of > building modules. > > However if am trying to build a module against an old kernel, built when > a different version of gcc was default, the version magic in the module > is different to that which the kernel requires, and so the module wont > load. > > To fix this I look up the version required using modinfo on another > module in the target /lib directory and then call > > CC=gcc-4.0 m-a > > as required. > > It would be great if module assistant could do this for me. The error
It does in theory. And also in practice, I have not received such bug reports for a while now. Please tell me more details - package source, kernel version and maybe headers, etc. > I don't know how to extract the version of gcc used to compile a kernel > >from a non-running kernel though. I used the headers: CC = gcc-$(shell grep LINUX_COMPILER $(KSRC)/include/linux/compile.h | sed 's/.* \([0-9]\+\.[0-9]\+\).*/\1/') Regards, Eduard. -- Windows 9x Bier: Das neueste Bier am Markt. Viele Probetrinker behaupten, es schmecke vorzüglich. Tatsächlich sieht es aus wie eine Mischung aus MAC Bier und OS/2 Bier, schmeckt aber wie Windows 3.x Bier. Es wird in 32er-Packs verkauft, die allerdings nur 16 Dosen enthalten. Der durchschnittliche Bierfreund wird wohl bei Windows 3.x Bier bleiben, bis er am Stammtisch Freunde trifft, denen das Windows 9x Bier geschmeckt hat. Obwohl die Herstellerfirma MS (Multi-Sauf) behauptet, bei diesem Bier sei eine völlig neue Sorte entstanden, findet man in der kleingedruckten Inhaltsstoffe-Liste MAC-, OS/2 und DOS Bier-Komponenten. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]