I am now getting this make error:
cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o
cdr_addon_mysql.o cdr_addon_mysql.c
cdr_addon_mysql.c:24:22: asterisk.h: No such file or directory
make: *** [cdr_addon_mysql.o] Error 1
linux:/usr/src/asterisk-addons #
But I have the asterisk sources in /usr/include/asterisk but I am installing
asterisk-addons from /usr/src/asterisk-addons/ Is that a problem?
I think the problem is in line 29 - #include "asterisk.h" of
cdr_addon_mysql.c . I assume that I should not really have to edit any of
the source or make files. I bet something fairly basic is wrong. any
ideas?
Angus
----- Original Message -----
From: "Tzafrir Cohen" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, July 21, 2005 2:55 PM
Subject: Re: [Asterisk-Users] Problems installing asterisk-addons
On Thu, Jul 21, 2005 at 03:44:03PM +0200, Christoph Eicke wrote:
On Thursday 21 July 2005 15:28, Angus Comber wrote:
> My asterisk version is Asterisk 1.0.9-BRIstuffed-0.2.0-RC8j
>
> It is a version put together by Junghanns.net - for working with their
> ISDN
> cards. Mmm I wonder if that is the problem? If so then what version
> of
> asterisk-addons do I install. I didn't see anything about
> asterisk-addons
> on the junghanns.net site.
You are right, that is the problem. I wasn't able to compile the addons
with
the version from junghanns.net. I suspect that it's because those addons
compile the MySQL realtime extension and the Asterisk version coming with
the
bristuff package has no support for the realtime extension yet.
1.0.9 has no support for realtime yet, both in addon in in the main
distribution. You seem to be mixing 1.0 and HEAD.
--
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il | | a Mutt's
[EMAIL PROTECTED] | | best
ICQ# 16849755 | | friend
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users