Asterisk 1.2.16 Zaptel 1.2.15 Problems

Hello,
I couldn’t install and load zaptel !!

I’ve installed Fedora Core 6, i’ve updated the kernel, kernel-headers, kernel-devel to 2.6.19-1.2911.6.5.fc6.
#uname -a
Linux name 2.6.19-1.2911.6.5.fc6 #1 SMP Sun Mar 4 15:47:41 EST 2007 i686 i686 i386 GNU/Linux

I made the symlinks en /usr/src:
linux -> kernels/2.6.19-1.2911.6.5.fc6-i686
linux-2.6 -> /usr/src/kernels/2.6.19-1.2911.6.5.fc6-i686
and in /lib/modules/2.6.19-1.2911.6.5.fc6:
build -> …/…/…/usr/src/kernels/2.6.19-1.2911.6.5.fc6-i686

In /usr/src/zaptel-1.2.15:
#make linux26
make: *** No rule to make target `linux26’. Stop

Please, could you help me ? it took to me several days and i couldn’t install!!
thanks in advance!!

Just do “make install”. “make linux26” is no longer needed and it looks like it has been removed.

Hello, thanks for your answer,

I’ve installed zaptel with only ‘make’,
but when I write 'modprobe zaptel’
the screen show the following message:

FATAL: Error inserting zaptel (/lib/modules/2.6.19-1.2911.6.5.fc6/misc/zaptel.ko): Invalid module format

However, I recompiled my kernel with CONFIG_CR_CCITT as a module !!

I don’t know what to make !!
Thanks

Hi there,

You cant just use “make” you have to do it as “make install”

This would be the procedure you would need to follow:

Untar the files in the director, if your installing libpri as well then you will need to follow it in this steps:

  1. Install Zaptel first

May Not be required>>> ./configure
then

make clean
then

make
then

make install

  1. Install Libpri

May Not be required>>> ./configure
then

make clean
then

make
then

make install

  1. Install Asterisk

May Not be required>>> ./configure
then

make clean
then

make
then

make install

If you follow this procedure it should be ok.

I use Fedora Core 6 as well, i never had to do what you have done, i just did a yum -y update and once that was done rebooted the system and then proceeded with doing the installs.

I have also installed on Fedora Core 4 with no issues either, and also Fedora Core 5, i have yet to try Debian based system, but i am sure they will not pose any problems either.

Als make sure you have the latest GCC compile, however this should be installed when you do the YUM update anyway.

Give that method a try and then let us know.

Cheers,

David.

I get that same module format error even after following those steps.

This looks like a problem between your kernel source and running kernel. Make sure the Makefile in the kernel source as the same extra version as your running kernel.

I checked that but I don’t think that’s the case:

cat /proc/version

Linux version 2.6.17.13 (root@tree) (gcc version 3.4.6) #1 Sat Sep 9 01:11:49 CDT 2006

ls -la /usr/src/

-rw-r–r-- 1 root root 35771 2006-10-16 20:37 .config
lrwxrwxrwx 1 root root 15 2006-12-22 13:40 linux -> linux-2.6.17.13/
lrwxrwxrwx 1 root root 15 2007-03-05 14:13 linux-2.6 -> linux-2.6.17.13/
drwxr-xr-x 20 root root 4096 2007-02-20 09:31 linux-2.6.17.13/

Whats the top 10 lines of your Makefile say in your kernel source?

head -10 Makefile

VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 17
EXTRAVERSION = .13
NAME=Crazed Snow-Weasel

DOCUMENTATION

To see a list of typical targets execute “make help”

More info can be located in ./README

Comments in this file are targeted only to the developer, do not

Hello,
I wrote make and make install (i forgot to write ‘make install’)
I have the same version in kernel-header and kernel.
Please, if you have any idea…
Thanks in advance

[quote=“batrams”]# head -10 Makefile
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 17
EXTRAVERSION = .13
NAME=Crazed Snow-Weasel
[/quote]

That’s completely wrong as you said you have this Kernel running:
2.6.19-1.2911.6.5.fc6

Hi - no, you’re mixing up your posters. There are 2 people here with the same problem.

Oh, woops. Didn’t realize that. Hrmm So yours is correct. I can’t think of anything right now except for trying a vanilla kernel.

Hello,
In my Makefile I have:
VERSION = 2
#PATCHLEVEL = 6
SUBLEVEL = 19
EXTRAVERSION = -1.2911.6.5.fc6
NAME=Avast! A bilge rat!

DOCUMENTATION

To see a list of typical targets execute “make help”

More info can be located in ./README

Comments in this file are targeted only to the developer, do not

expect to learn how to build the kernel reading this file.

cat /proc/version
Linux version 2.6.19-1.2911.6.5.fc6 (brewbuilder@ls20-bc1-13.build.redhat.com) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)) #1 SMP Sun Mar 4 15:47:41 EST 2007

ll /usr/src
total 3032

drwxr-xr-x 3 root root 4096 mar 12 19:59 kernels
lrwxrwxrwx 1 root root 34 mar 12 22:52 linux -> kernels/2.6.19-1.2911.6.5.fc6-i686
lrwxrwxrwx 1 root root 34 mar 12 22:52 linux-26 -> kernels/2.6.19-1.2911.6.5.fc6-i686
lrwxrwxrwx 1 root root 43 mar 14 22:55 linux-2.6 -> /usr/src/kernels/2.6.19-1.2911.6.5.fc6-i686
drwxr-xr-x 7 root root 4096 feb 18 20:21 redhat
drwxr-xr-x 9 root root 12288 mar 15 17:15 zaptel-1.2.15

Please, any idea ?
Thanks a lot