[asterisk-users] Bristuffed asterisk 1.2.10 on Suse 10 - problem with module versionmagic

Paul Hewlett paul at cottonpickinminds.co.za
Sun Sep 17 06:34:05 MST 2006


On Saturday 16 September 2006 20:35, Tzafrir Cohen wrote:
> On Fri, Sep 15, 2006 at 02:58:02PM +0200, Robert Rozman wrote:
> > I'm banging my head on compiling bristuff modules for Suse 10.0 with
> > kernel
> >
> >
> > Linux laps1 2.6.13-15.11-smp #1 SMP Mon Jul 17 09:43:01 UTC 2006 x86_64
> > x86_64 x86_64 GNU/Linux
> >
> >
> > and Asterisk 1.2.10-BRIstuffed-0.3.0-PRE-1s.
> >
> > I get this :
> >
> > laps1:~/Voipy/Bristuff/bristuff-0.3.0-PRE-1s/zaptel # modprobe zaphfc
> > FATAL: Error inserting zaphfc
> > (/lib/modules/2.6.13-15.11-smp/misc/zaphfc.ko): Invalid module format
> >
> > and this in dmesg :
> >
> > zaphfc: version magic '2.6.13-15.11-smp gcc-4.0' should be
> > '2.6.13-15.11-smp SMP gcc-4.0'
>
> This means you built zaptel with the wrong kernel headers. Is there a
> SUSE power user in the crowd?

  From memory as I do not use SUSE anymore..

  Suse already has the zaptel modules in its kernel under the (IIRC) the extra 
directory (instead of misc) . you end up with 2 sets of zaptel modules in the 
linux module tree and modprobe then gets confused as to which to load.

Look for a directory /lib/modules/2.6.13-15.11-smp/extra

You must (again from memory) delete the old modules abd rerun depmod or 
rebuild your asterisk


Paul


More information about the asterisk-users mailing list