Zaptel modules build OK but end up in the wrong place


#1

I’ve successfully got an Asterisk system up and running using Asterisk@Home but now I’m trying to build Asterisk (and friends) from scratch because my target system is a Debian Sarge box.

I’m following the instructions in the Asterisk book and have successfully compiled and loaded the Zaptel modules (Zaptel 1.2.3) but I have one oddity. “uname -r” on my system yields “2.6.8-athlonv2” and the make scripts seem to have managed to use this to find my kernel source and compile successfully. However, “make install” then puts the modules in /lib/modules/2.6.8/extra and not in /lib/modules/2.6.8-athlonv2/extra, with the result that modprobe then can’t find them. I have to manually copy the “extra” directory and all its contents into the right place before the modules will load.

Can anyone suggest what I’m doing wrong?

TIA,
John