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

Robert Rozman robert.rozman at comutel.si
Mon Sep 18 12:08:15 MST 2006


----- Original Message ----- 
From: "Paul Hewlett" <paul at cottonpickinminds.co.za>
To: <asterisk-users at lists.digium.com>
Sent: Sunday, September 17, 2006 3:34 PM
Subject: Re: [asterisk-users] Bristuffed asterisk 1.2.10 on Suse 10 - 
problemwith module versionmagic


> 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
>
Thanks for the hint. I already did that. To me it seems that something is 
messed up with settings, so zaphfc compiles with slightly different version 
magic - note that the problem lies only in 'SMP'   : '2.6.13-15.11-smp 
gcc-4.0'  vs '2.6.13-15.11-smp SMP gcc-4.0'

That's weird for me....

Any further help ?

Thanks in advance,

regards,

Rob. 



More information about the asterisk-users mailing list