[64studio-devel] Problem compiling kernel module for SMP
Larry Troxler
lt at westnet.com
Sun Apr 15 17:02:15 UTC 2007
Hi,
I'm trying to compile a kernel module for 2.6.17 AMD-64 SMP from source
(an imon_vfd module for a media center display). I have the
linux-headers-2.6.17-1-multimedia-amd62-k8 and
linux-headers-2.6.17-1-multimedia-amd62-k8-smp installed.
When I modprobe the module, it fails because the version magic for the
module I built doesn't have "SMP" in it :
>>
imon_vfd: version magic '2.6.17-1-multimedia-amd64-k8-smp preempt
mod_unload gcc-4.1' should be '2.6.17-1-multimedia-amd64-k8-smp SMP
preempt mod_unload gcc-4.1'
<<
Investigating, I found that the autoconf.h in the smp kernel headers is
a symbolic link to the non-smp headers :
>>
larry at 64studio:/usr/src/linux-headers-2.6.17-1-multimedia-amd64-k8-smp/include/linux$
ls -l autoconf.h
lrwxrwxrwx 1 root root 67 2007-01-28 22:37 autoconf.h ->
../../../linux-headers-2.6.17-1-multimedia/include/linux/autoconf.h
<<
This autoconf.h doesn't have SMP defined (#undef CONFIG_SMP) and I'm
guessing that this is my problem.
Is this a bug in the packages, or am I doing something wrong? Can I
simply change the autoconf.h file and rebuild, or is there more to it
than that?
Thanks
Larry Troxler
More information about the 64studio-devel
mailing list