Re: [asterisk-users] compilation problem with asterisk-addons

2006-11-03 Thread Erick Perez

Thanks, I learned the hard (but fun) way!!!

Cheers,

On 11/1/06, Russell Bryant <[EMAIL PROTECTED]> wrote:

Erick Perez wrote:
> Trying to compile asterisk-addons 1.2.5 on Centos 4.4 produces this:
>
> Note: MySQL libraries are installed and the structure is as follows:
> /usr/src/astsources/asterisk-1.2.13
> /usr/src/astsources/asterisk-addons-1.2.5
>
> in /usr/src/astsources/asterisk-addons-1.2.5 I do:
> make clean
> make
>
> and the output is:
>
> ./mkdep -fPIC -I../asterisk -D_GNU_SOURCE  -I/usr/include/mysql   `ls *.c`
> app_addon_sql_mysql.c:25:27: asterisk/file.h: No such file or directory
> app_addon_sql_mysql.c:26:29: asterisk/logger.h: No such file or directory
> app_addon_sql_mysql.c:27:30: asterisk/channel.h: No such file or directory
> app_addon_sql_mysql.c:28:26: asterisk/pbx.h: No such file or directory
> app_addon_sql_mysql.c:29:29: asterisk/module.h: No such file or directory

You need to install Asterisk before trying to compile and install 
Asterisk-addons.

--
Russell Bryant
Software Engineer
Digium, Inc.


___
--Bandwidth and Colocation provided by Easynews.com --

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







--

Erick Perez
Panama Sistemas
Integradores de Telefonia IP y Soluciones Para Centros de Datos
Panama, Republica de Panama
Cel Panama. +(507) 6694-4780

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] compilation problem with asterisk-addons

2006-11-01 Thread Russell Bryant

Erick Perez wrote:

Trying to compile asterisk-addons 1.2.5 on Centos 4.4 produces this:

Note: MySQL libraries are installed and the structure is as follows:
/usr/src/astsources/asterisk-1.2.13
/usr/src/astsources/asterisk-addons-1.2.5

in /usr/src/astsources/asterisk-addons-1.2.5 I do:
make clean
make

and the output is:

./mkdep -fPIC -I../asterisk -D_GNU_SOURCE  -I/usr/include/mysql   `ls *.c`
app_addon_sql_mysql.c:25:27: asterisk/file.h: No such file or directory
app_addon_sql_mysql.c:26:29: asterisk/logger.h: No such file or directory
app_addon_sql_mysql.c:27:30: asterisk/channel.h: No such file or directory
app_addon_sql_mysql.c:28:26: asterisk/pbx.h: No such file or directory
app_addon_sql_mysql.c:29:29: asterisk/module.h: No such file or directory


You need to install Asterisk before trying to compile and install 
Asterisk-addons.

--
Russell Bryant
Software Engineer
Digium, Inc.
begin:vcard
fn:Russell Bryant
n:Bryant;Russell
org:Digium, Inc.
adr:;;150 West Park Loop;Huntsville;AL;35806;USA
email;internet:[EMAIL PROTECTED]
title:Software Engineer
tel;work:+1-256-428-6000
x-mozilla-html:FALSE
url:http://www.digium.com
version:2.1
end:vcard

___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] compilation problem with asterisk-addons

2006-10-31 Thread Erick Perez

Hi,

Trying to compile asterisk-addons 1.2.5 on Centos 4.4 produces this:

Note: MySQL libraries are installed and the structure is as follows:
/usr/src/astsources/asterisk-1.2.13
/usr/src/astsources/asterisk-addons-1.2.5

in /usr/src/astsources/asterisk-addons-1.2.5 I do:
make clean
make

and the output is:

./mkdep -fPIC -I../asterisk -D_GNU_SOURCE  -I/usr/include/mysql   `ls *.c`
app_addon_sql_mysql.c:25:27: asterisk/file.h: No such file or directory
app_addon_sql_mysql.c:26:29: asterisk/logger.h: No such file or directory
app_addon_sql_mysql.c:27:30: asterisk/channel.h: No such file or directory
app_addon_sql_mysql.c:28:26: asterisk/pbx.h: No such file or directory
app_addon_sql_mysql.c:29:29: asterisk/module.h: No such file or directory
app_addon_sql_mysql.c:30:34: asterisk/linkedlists.h: No such file or directory
app_addon_sql_mysql.c:31:31: asterisk/chanvars.h: No such file or directory
app_addon_sql_mysql.c:32:27: asterisk/lock.h: No such file or directory
app_saycountpl.c:11:27: asterisk/file.h: No such file or directory
app_saycountpl.c:12:29: asterisk/logger.h: No such file or directory
app_saycountpl.c:13:30: asterisk/channel.h: No such file or directory
app_saycountpl.c:14:26: asterisk/pbx.h: No such file or directory
app_saycountpl.c:15:29: asterisk/module.h: No such file or directory
app_saycountpl.c:16:27: asterisk/lock.h: No such file or directory
cdr_addon_mysql.c:23:29: asterisk/config.h: No such file or directory
cdr_addon_mysql.c:24:30: asterisk/options.h: No such file or directory
cdr_addon_mysql.c:25:30: asterisk/channel.h: No such file or directory
cdr_addon_mysql.c:26:26: asterisk/cdr.h: No such file or directory
cdr_addon_mysql.c:27:29: asterisk/module.h: No such file or directory
cdr_addon_mysql.c:28:29: asterisk/logger.h: No such file or directory
cdr_addon_mysql.c:29:26: asterisk/cli.h: No such file or directory
res_config_mysql.c:41:30: asterisk/channel.h: No such file or directory
res_config_mysql.c:42:29: asterisk/logger.h: No such file or directory
res_config_mysql.c:43:29: asterisk/config.h: No such file or directory
res_config_mysql.c:44:29: asterisk/module.h: No such file or directory
res_config_mysql.c:45:27: asterisk/lock.h: No such file or directory
res_config_mysql.c:46:30: asterisk/options.h: No such file or directory
res_config_mysql.c:47:26: asterisk/cli.h: No such file or directory
res_config_mysql.c:48:28: asterisk/utils.h: No such file or directory
make -C format_mp3 all
make[1]: Entering directory
`/usr/src/astsources/asterisk-addons-1.2.5/format_mp3'
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6-c -o
common.o common.c
common.c:1:29: asterisk/logger.h: No such file or directory
common.c: In function `decode_header':
common.c:93: warning: implicit declaration of function `ast_log'
common.c:93: error: `LOG_WARNING' undeclared (first use in this function)
common.c:93: error: (Each undeclared identifier is reported only once
common.c:93: error: for each function it appears in.)
make[1]: *** [common.o] Error 1
make[1]: Leaving directory
`/usr/src/astsources/asterisk-addons-1.2.5/format_mp3'
make: *** [format_mp3/format_mp3.so] Error 2


Thanks for your help.


--

Erick Perez
Panama Sistemas
Integradores de Telefonia IP y Soluciones Para Centros de Datos
Panama, Republica de Panama
Cel Panama. +(507) 6694-4780

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Compilation Problem with asterisk-addons

2005-06-21 Thread Nico Giefing

- Original Message - 
From: "Juan Luis Moyano" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"

Sent: Tuesday, June 21, 2005 6:09 AM
Subject: Re: [Asterisk-Users] Compilation Problem with asterisk-addons


> On Lun, 20 de Junio de 2005, 6:49 pm, Nico Giefing dijo:
> > Hello, i have a little Problem with compiling asterisk-addons
> >
> >
> > the failure is:
> >
> > 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: ÀSR_LIST_REMOVE' undecalred (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.)
> >
> >
> > Does anybody know anything about this problem?
> >
> >
> > Thank you for your help.
> >
> >
> > Nico
> > ___
> > 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
>
> Nico, I'm having the same issue while compiling asterisk-addons. Here I
> post the error I get:
>
> 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
>
> Also it's important to mention that I'm running asterisk-1.0.7 compiled
> from the ebuild on a Gentoo (kernel 2.6), also I've merged latest mysql,
> perl and DBD-mysql. I don't know what is the best way to compile
> asterisk-addons on a gentoo system so if someone had accomplished this,
> please let me know. Thanks in advance.
>
> -- 
> Juan Luis Moyano
> [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
>


Hi, my configuration is debian stable (3.1) with 2.6 kernel and the cvs
version of asterisk and asterisk-addons.

does anybody know a solution for this problem?

Nico


___
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] Compilation Problem with asterisk-addons

2005-06-20 Thread Juan Luis Moyano
On Lun, 20 de Junio de 2005, 6:49 pm, Nico Giefing dijo:
> Hello, i have a little Problem with compiling asterisk-addons
>
>
> the failure is:
>
> 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: ÀSR_LIST_REMOVE' undecalred (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.)
>
>
> Does anybody know anything about this problem?
>
>
> Thank you for your help.
>
>
> Nico
> ___
> 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

Nico, I'm having the same issue while compiling asterisk-addons. Here I
post the error I get:

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

Also it's important to mention that I'm running asterisk-1.0.7 compiled
from the ebuild on a Gentoo (kernel 2.6), also I've merged latest mysql,
perl and DBD-mysql. I don't know what is the best way to compile
asterisk-addons on a gentoo system so if someone had accomplished this,
please let me know. Thanks in advance.

-- 
Juan Luis Moyano
[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] Compilation Problem with asterisk-addons

2005-06-20 Thread Nico Giefing



Hello, i have a little Problem with compiling 
asterisk-addons
 
 
the failure is:
 
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: ÀSR_LIST_REMOVE' 
undecalred (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.)
 
 
Does anybody know anything about this 
problem?
 
 
Thank you for your help.
 
 
Nico
 
___
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