[CentOS] Building external modules on 4.3

Thu Apr 13 12:06:22 UTC 2006
James Fidell <james at cloud9.co.uk>

I'm trying to build the zaptel (v1.2.5) modules on a 4.2 machine
upgraded to 4.3, but running into a kernel version problem.

The kernel I'm running is 2.6.9-34.ELsmp and I have the
kernel-devel-2.6.9-34 RPM installed.  I believe the problem
is that the modules are being built as if for the uniprocessor kernel
(the default for kernel-devel?) leading to the error:

  zaptel: disagrees about version of symbol struct_module

when I try to load the module.

I *think* I probably need to grab the kernel sources, take the
config file for the SMP kernel from that and drop it into kernel-devel,
edit the kernel-devel top-level makefile to get the version name correct
and then rebuild the kernel config to get the right kernel version
set in the zaptel modules.

Is that correct, or have I missed something obvious?

James