Difficulties getting * to compile on Debian 2.4 kernel

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

Difficulties getting * to compile on Debian 2.4 kernel

Postby stevegladden » Wed May 18, 2005 10:29 pm

Sorry but I am double posting this question!
I also posted this question in the dev section but see that the forum seems
not to be very active.
Hope this is ok. I'm not sure where it would be best to post my question.
Once I figure that out I will delete the duplicate post.
Thanks!!!

Steve

--
On to the question....

Using Debian Sarge with standard (distributed kernel)
and all up to date.
Kernel version is:

Linux version 2.4.27-2-386 (horms@charles.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-6)) #1 Thu Jan 20 10:55:08 JST 2005

I have been unbable to get asterisk to compile successfully.

Zaptel compiles just fine and drivers load.

This is my first ever asterisk install but am rather comfortable with
it and have read all the documentation many times.

I'm using latest asterisk and zaptel from cvs as instructed on
digium's website.

Am looking to pointers as to what might be wrong here when I attempt
to compile..

Here's is a snippet of what seems to go wrong

Any help or pointers would be greatly appreciated!

Steve

make[1]: Entering directory `/usr/src/asterisk/res'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/asterisk/res'
make[1]: Entering directory `/usr/src/asterisk/channels'
gcc -c -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-v1-0-05/18/05-15:39:24\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -o chan_zap.o chan_zap.c
chan_zap.c: In function `zt_handle_event':
chan_zap.c:3084: error: `ZT_EVENT_DTMFDIGIT' undeclared (first use in this function)
chan_zap.c:3084: error: (Each undeclared identifier is reported only once
chan_zap.c:3084: error: for each function it appears in.)
make[1]: *** [chan_zap.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk/channels'
make: *** [subdirs] Error 1
TEST:/usr/src/asterisk#
_________________
I feel more like I do now!
I feel more like I do now!
stevegladden
Newsterisk
 
Posts: 2
Joined: Thu Dec 21, 2006 10:56 pm

Postby cydonia » Mon Jun 20, 2005 7:18 am

Did you use apt-get?

I know people using debian who said it was a breaze...
cydonia
Oldsterisk
 
Posts: 57
Joined: Thu Dec 21, 2006 10:56 pm

try this

Postby MohdRizal » Tue Jun 21, 2005 4:15 am

i am also trying to install on debian ... but with different error msgs

the asterisk docs said do in this order

1. compile libpri
2. compile zaptel
3. compile asterisk

good luck
MohdRizal
Newsterisk
 
Posts: 9
Joined: Thu Dec 21, 2006 10:56 pm

Postby cydonia » Tue Jun 21, 2005 8:42 am

There is information on installing * on Debian at the voip-info.org site.

Go to asterisk and then look under operating systems.
cydonia
Oldsterisk
 
Posts: 57
Joined: Thu Dec 21, 2006 10:56 pm


Return to Asterisk Support

Who is online

Users browsing this forum: nraypbxguy and 22 guests