[asterisk-users] Zaptel modules are being installed in different directory

Eric "ManxPower" Wieling eric at fnords.org
Sun Sep 2 04:31:22 CDT 2007


Tzafrir Cohen wrote:
> On Sat, Sep 01, 2007 at 01:23:47PM -0500, Eric ManxPower Wieling wrote:
>> Tzafrir Cohen wrote:
>>> On Sat, Sep 01, 2007 at 07:30:37AM +0000, wassim darwish wrote:
>>>> Hi:
>>>> Iam running kernel is 2.6.8.1-12mdk but the modules of zaptel are 
>>>> being installed to /lib/modules/2.6.8.1-12mdkcustom 
>>>> how can i fix this up, any one have an idea?
>>> What is the output of:
>>>
>>> rpm -qa | grep kernel
>>> ls -l /lib/modules/`uname -r`/build/.config
>>>
>>
>> The easiest thing to do is remove the 2.6.8.1-12mdkcustom directory, 
>> create a symlink from
>> 2.6.8.1-12mdkcustom to 2.6.8.1-12mdk, and reinstall zaptel.
> 
> Are you sure?
> 
> I suspect a:
> 
>   modinfo ./zaptel.ko
> 
> would show that the "kernel version" string there is 2.6.8.1-12mdkcustom
> and hence it won't load.
> 
> I suspect that Steve's advice is generally correct. I just wonder if
> there's a more "striahgt-forward" way on Mandrake, or if they give a
> different kernel version on purpuse in case you decide to rebuild the
> kernel.
> 
> You have not replied to my other questions (what kernel source / headers
> rpm packages are installed). Anybody here more familiar with Mandriva's
> current magics on this subject?
> 


You edit /usr/src/linux/Makefile and modify the EXTRAVERISON setting. 
Then you spend a while trying to get the zaptel build process to not 
keep installing the modules in the wrong directory, get frustrated, give 
up, rm -f the zaptel source, untar zaptel, build install.  Then wish you 
had just done the symlink in the first place.





More information about the asterisk-users mailing list