On Fri, Oct 14, 2005 at 05:29:20PM +0100, James Hansen wrote: > I'm having problems building and installing a kernel module for the > amd64 port of debian. > > It seems that debian is shipped with gcc-3.3 as it's compiler, but it > looks like the amd64 kernel is built with gcc-3.4 > > (from a syslog message I'm getting when I modprobe a driver) > > Oct 14 16:54:39 localhost kernel: mydriver: version magic > '2.6.8-11-amd64-generic gcc-3.3' should be '2.6.8-11-amd64-generic gcc-3.4' > > Is this actually the case, and if so is this going to continue when this > becomes an official debian distribution? > > Oh, and also what can I do about this? Do I have to fetch gcc-3.4 to > build kernel modules? (Or rebuild my kernel with gcc-3.3)
apt-get install gcc-3.4 module-assistant Then use module-assistant to build your modules. It knows what to do about the compiler. For example: m-a -t prepare m-a -t a-i nvidia Len Sorensen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

