Re: [Asterisk-Users] Problems installing asterisk-addons

2005-07-22 Thread Tzafrir Cohen
On Thu, Jul 21, 2005 at 09:45:02PM +0100, Angus Comber wrote:
 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

Remove the line that includes asterisk.h . Doesn't help anybody. This is
basically the patch I needed to apply to asterisk-addons to make it
build with the debian package asterisk-devel .

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |   | a Mutt's  
[EMAIL PROTECTED] |   |  best
ICQ# 16849755 |   | friend
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Problems installing asterisk-addons

2005-07-22 Thread Angus Comber

How strange - that worked!  I wonder why that was put there?

Angus

- Original Message - 
From: Tzafrir Cohen [EMAIL PROTECTED]

To: asterisk-users@lists.digium.com
Sent: Friday, July 22, 2005 8:29 AM
Subject: Re: [Asterisk-Users] Problems installing asterisk-addons



On Thu, Jul 21, 2005 at 09:45:02PM +0100, Angus Comber wrote:

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


Remove the line that includes asterisk.h . Doesn't help anybody. This is
basically the patch I needed to apply to asterisk-addons to make it
build with the debian package asterisk-devel .

--
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |   | a Mutt's  
[EMAIL PROTECTED] |   |  best

ICQ# 16849755 |   | friend
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Problems installing asterisk-addons

2005-07-21 Thread Angus Comber



Hello

I have downloaded asterisk-addons but when I make 
install get:

cc -fPIC -I../asterisk -D_GNU_SOURCE 
-DMYSQL_LOGUNIQUEID -I/usr/include/mysql -c -o 
app_addon_sql_mysql.o app_addon_sql_mysql.capp_addon_sql_mysql.c:164:64: 
macro "AST_LIST_REMOVE" requires 4 arguments, but only 3 
givenapp_addon_sql_mysql.c: In function 
`del_identifier':app_addon_sql_mysql.c:164: error: `AST_LIST_REMOVE' 
undeclared (first use in this function)app_addon_sql_mysql.c:164: error: 
(Each undeclared identifier is reported only onceapp_addon_sql_mysql.c:164: 
error: for each function it appears in.)make: *** [app_addon_sql_mysql.o] 
Error 1

I have set a password for root on mysql - could 
that be the problem? Should I remove the password? What is easiest 
way to do that?

Angus

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] Problems installing asterisk-addons

2005-07-21 Thread Mohamed A. Gombolaty



Hi Angus,
I don't believe it can be the root password of mysql, I used to install
the addons without even haved installed mysql server yet, I guess we need
to know which platform are you working on and which version you are trying
to install.
Thx
MAG

Angus Comber wrote:

Hello
I have downloaded asterisk-addons but
when I make install get: cc
-fPIC -I../asterisk -D_GNU_SOURCE -DMYSQL_LOGUNIQUEID -I/usr/include/mysql
-c -o app_addon_sql_mysql.o app_addon_sql_mysql.c
app_addon_sql_mysql.c:164:64: macro
"AST_LIST_REMOVE" requires 4 arguments, but only 3 given
app_addon_sql_mysql.c: In function
`del_identifier':
app_addon_sql_mysql.c:164: error:
`AST_LIST_REMOVE' undeclared (first use in this function)
app_addon_sql_mysql.c:164: error:
(Each undeclared identifier is reported only once
app_addon_sql_mysql.c:164: error:
for each function it appears in.)
make: *** [app_addon_sql_mysql.o]
Error 1 I have set a password
for root on mysql - could that be the problem? Should I remove the
password? What is easiest way to do that? Angus

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users


--
Thx
MAG



___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] Problems installing asterisk-addons

2005-07-21 Thread Dave Cotton
On Thu, 2005-07-21 at 12:19 +0100, Angus Comber wrote:
 Hello
  
 I have downloaded asterisk-addons but when I make install get:
  
 cc -fPIC -I../asterisk -D_GNU_SOURCE -DMYSQL_LOGUNIQUEID
 -I/usr/include/mysql -c -o app_addon_sql_mysql.o
 app_addon_sql_mysql.c
 app_addon_sql_mysql.c:164:64: macro AST_LIST_REMOVE requires 4
 arguments, but only 3 given
 app_addon_sql_mysql.c: In function `del_identifier':
 app_addon_sql_mysql.c:164: error: `AST_LIST_REMOVE' undeclared (first
 use in this function)
 app_addon_sql_mysql.c:164: error: (Each undeclared identifier is
 reported only once
 app_addon_sql_mysql.c:164: error: for each function it appears in.)
 make: *** [app_addon_sql_mysql.o] Error 1
  
 I have set a password for root on mysql - could that be the problem?
 Should I remove the password?  What is easiest way to do that?

You haven't got far enough for that to be a problem, that would be at
runtime.

Are your asterisk and asterisk-addons in sync?

i.e. the same release, you're not trying to mix HEAD and stable are you?


-- 
Dave Cotton [EMAIL PROTECTED]

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Problems installing asterisk-addons

2005-07-21 Thread Angus Comber

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.


Angus


- Original Message - 
From: Dave Cotton [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com

Sent: Thursday, July 21, 2005 12:56 PM
Subject: Re: [Asterisk-Users] Problems installing asterisk-addons



On Thu, 2005-07-21 at 12:19 +0100, Angus Comber wrote:

Hello

I have downloaded asterisk-addons but when I make install get:

cc -fPIC -I../asterisk -D_GNU_SOURCE -DMYSQL_LOGUNIQUEID
-I/usr/include/mysql -c -o app_addon_sql_mysql.o
app_addon_sql_mysql.c
app_addon_sql_mysql.c:164:64: macro AST_LIST_REMOVE requires 4
arguments, but only 3 given
app_addon_sql_mysql.c: In function `del_identifier':
app_addon_sql_mysql.c:164: error: `AST_LIST_REMOVE' undeclared (first
use in this function)
app_addon_sql_mysql.c:164: error: (Each undeclared identifier is
reported only once
app_addon_sql_mysql.c:164: error: for each function it appears in.)
make: *** [app_addon_sql_mysql.o] Error 1

I have set a password for root on mysql - could that be the problem?
Should I remove the password?  What is easiest way to do that?


You haven't got far enough for that to be a problem, that would be at
runtime.

Are your asterisk and asterisk-addons in sync?

i.e. the same release, you're not trying to mix HEAD and stable are you?


--
Dave Cotton [EMAIL PROTECTED]

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Problems installing asterisk-addons

2005-07-21 Thread Christoph Eicke
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.

Christoph
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Problems installing asterisk-addons

2005-07-21 Thread Tzafrir Cohen
On Thu, Jul 21, 2005 at 02:28:50PM +0100, 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.

Here asterisk-addons 1.0.9 (actually: exactly the same as 1.0.8) builds 
just fine with asterisk-1.0.9-bristuff-0.2.0-rc8[hj]

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |   | a Mutt's  
[EMAIL PROTECTED] |   |  best
ICQ# 16849755 |   | friend
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Problems installing asterisk-addons

2005-07-21 Thread Dave Cotton
On Thu, 2005-07-21 at 14:28 +0100, 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.

I use HEAD but a good starting point in your case may be
asterisk-addons-1.0.9
-- 
Dave Cotton [EMAIL PROTECTED]

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Problems installing asterisk-addons

2005-07-21 Thread Tzafrir Cohen
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
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Problems installing asterisk-addons

2005-07-21 Thread Angus Comber



I was installing 1.0.9 asterisk-addons on a Suse 
Professional 9.3 installation.

Angus


  - Original Message - 
  From: 
  Mohamed A. Gombolaty 
  To: Asterisk Users Mailing List - 
  Non-Commercial Discussion 
  Sent: Thursday, July 21, 2005 12:39 
  PM
  Subject: Re: [Asterisk-Users] Problems 
  installing asterisk-addons
  Hi Angus, 
  I don't believe it can be the root password of mysql, I used to install the 
  addons without even haved installed mysql server yet, I guess we need to know 
  which platform are you working on and which version you are trying to install. 

  Thx MAG  
  Angus Comber wrote: 
  

Hello I have downloaded asterisk-addons but when I make install 
get: cc -fPIC -I../asterisk 
-D_GNU_SOURCE -DMYSQL_LOGUNIQUEID 
-I/usr/include/mysql -c -o app_addon_sql_mysql.o 
app_addon_sql_mysql.c app_addon_sql_mysql.c:164:64: macro "AST_LIST_REMOVE" requires 4 
arguments, but only 3 given app_addon_sql_mysql.c: In function `del_identifier': 
app_addon_sql_mysql.c:164: error: 
`AST_LIST_REMOVE' undeclared (first use in this function) 
app_addon_sql_mysql.c:164: error: (Each 
undeclared identifier is reported only once app_addon_sql_mysql.c:164: error: for each function 
it appears in.) make: *** 
[app_addon_sql_mysql.o] Error 1 I have set a password for root on mysql - could that be the 
problem? Should I remove the password? What is easiest way to do 
that? Angus ___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users--
Thx
MAG 
  
  

  ___Asterisk-Users 
  mailing 
  listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo 
  UNSUBSCRIBE or update options visit: 
  http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] Problems installing asterisk-addons

2005-07-21 Thread Angus Comber

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: asterisk-users@lists.digium.com
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
Asterisk-Users@lists.digium.com
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
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Problems installing asterisk-addons

2005-07-21 Thread Muhammad Nuzaihan Kamalluddin
try #include asterisk.h in the source. asterisk.h is means that  
it will look up for the file in the same directory.


On 22 Jul 2005, at 4:45 AM, Angus Comber wrote:


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: asterisk-users@lists.digium.com
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
Asterisk-Users@lists.digium.com
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
Asterisk-Users@lists.digium.com
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
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users