Knowledge Base

The Digium Knowledge Base is a searchable library of troubleshooting advice and current information updated by Digium support technicians.


Search:     Advanced search
Browse by category:
Contact Us

Knowledge Base / Installation / What do I do if I can't compile Zaptel package on my system ?

What do I do if I can't compile Zaptel package on my system ?

Views: 10366, Votes: 2

Posted:
12 Mar, 2006 - Account I.

Updated:
14 Mar, 2008 - Support D.

Print Email article
In order to compile zaptel package on your system you need to have the kernel source version matching the kernel version that is already running on your system. That can be acomplished by checking the version with following command:
cat /proc/version

Typically you will have similar output:
Linux version 2.4.28 (root@localhost) (gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Tue Jan 28 11:01:02 CST 2003

So you need to have the kernel source of 2.4.28 version in /usr/src.
ls -ld /usr/src/linux*
should give you:
lrwxrwxrwx 1 root root 12 Feb 10 2003 /usr/src/linux -> linux-2.4.28
drwxr-xr-x 17 root root 4096 Jan 27 2003 /usr/src/linux-2.4.18

Make sure that you have the config file for the kernel you're running. It should be typically in /boot directory and be called with the version number of your kernel:
ls /boot/config*
/boot/config-2.4.28

Now get into the kernel source directory and create the kernel config file. In order to do that type
"cd /usr/src/linux; make menuconfig"
Load your current kernel config file and exit saving a new config. Now you need to execute:
"make dep"

to create the modversion.h kernel header file that is needed by zaptel. Try to compile zaptel now.
Other articles in this category
document How do I install the Zaptel drivers on a system running Fedora Core?
document How do I install Zaptel drivers on a system running Redhat?
document Do I need a sound card for music on hold or voicemail?
document How do I install Digium's T1/E1 cards?
document How do I upgrade the firmware on my S100i / S101i (Iaxy)?
document How do I install the TDM2400P/TDM400P?
document Can I use G.729 on a 64-bit system?
document I get errors mentioning "zone_lock" when I try to compile zaptel. How do I fix it?
document How do I troubleshoot problems over email with Digium's Technical Support staff?
document What is fxotune and how do I use it?
document How do I install and start the OpenSSH daemon?

RSS Powered by KBPublisher (Knowledge base software)