<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Anyone knows how fix this error? still getting same error. <BR>
Here is a bit more information about my enviroment plus the error. <BR>
-------------------------------------------------------------<BR>
Mysql Packages installed, on BSD7.0<BR>
mysql++-mysql50-2.1.1 Complex C++ API for MySQL50<BR>mysql-client-5.0.45_1 Multithreaded SQL database (client)<BR>mysql-connector-odbc-unixodbc-mysql50-3.51.12_1 ODBC driver for MySQL50 / unixod<BR>mysql-server-5.0.45_1 Multithreaded SQL database (server)<BR>mysqlcc-0.9.4_1 A platform-independent GUI administration client for the My<BR><BR>
-------------------------------------------------------------<BR>
siprx# gmake<BR>CC="gcc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" gmake -C menuselect CONFIGURE<BR>_SILENT="--silent" makeopts<BR>gmake[1]: Entering directory `/usr/src/asterisk-addons-1.6.0/menuselect'<BR>gmake[1]: `makeopts' is up to date.<BR>gmake[1]: Leaving directory `/usr/src/asterisk-addons-1.6.0/menuselect'<BR>gmake[1]: Entering directory `/usr/src/asterisk-addons-1.6.0/channels'<BR>gmake[1]: Nothing to be done for `all'.<BR>gmake[1]: Leaving directory `/usr/src/asterisk-addons-1.6.0/channels'<BR>gmake[1]: Entering directory `/usr/src/asterisk-addons-1.6.0/apps'<BR> [CC] app_addon_sql_mysql.c -> app_addon_sql_mysql.o<BR>app_addon_sql_mysql.c:19:22: error: asterisk.h: No such file or directory<BR>app_addon_sql_mysql.c:29:25: error: mysql/mysql.h: No such file or directory<BR>app_addon_sql_mysql.c:31:27: error: asterisk/file.h: No such file or directory<BR>app_addon_sql_mysql.c:32:29: error: asterisk/logger.h: No such file or directory<BR>app_addon_sql_mysql.c:33:30: error: asterisk/channel.h: No such file or director<BR>y<BR>app_addon_sql_mysql.c:34:26: error: asterisk/pbx.h: No such file or directory<BR>app_addon_sql_mysql.c:35:29: error: asterisk/module.h: No such file or directory<BR>app_addon_sql_mysql.c:36:34: error: asterisk/linkedlists.h: No such file or dire<BR>ctory<BR>app_addon_sql_mysql.c:37:31: error: asterisk/chanvars.h: No such file or directo<BR>ry<BR>app_addon_sql_mysql.c:38:27: error: asterisk/lock.h: No such file or directory<BR>app_addon_sql_mysql.c:39:30: error: asterisk/options.h: No such file or director<BR>y<BR>app_addon_sql_mysql.c:40:26: error: asterisk/app.h: No such file or directory<BR>app_addon_sql_mysql.c:86: warning: data definition has no type or storage class<BR>app_addon_sql_mysql.c:86: warning: parameter names (without types) in function d<BR>eclaration<BR>app_addon_sql_mysql.c:97: error: expected specifier-qualifier-list before 'AST_L<BR>IST_ENTRY'<BR>app_addon_sql_mysql.c: In function 'AST_LIST_HEAD':<BR>app_addon_sql_mysql.c:100: error: expected declaration specifiers before '_mysql<BR>_ids_head'<BR>app_addon_sql_mysql.c:104: error: expected '=', ',', ';', 'asm' or '__attribute_<BR>_' before '{' token<BR>app_addon_sql_mysql.c:130: error: expected '=', ',', ';', 'asm' or '__attribute_<BR>_' before '{' token<BR>app_addon_sql_mysql.c:154: error: expected '=', ',', ';', 'asm' or '__attribute_<BR>_' before '{' token<BR>app_addon_sql_mysql.c:182: warning: 'struct ast_channel' declared inside paramet<BR>er list<BR>app_addon_sql_mysql.c:182: warning: its scope is only this definition or declara<BR>tion, which is probably not what you want<BR>app_addon_sql_mysql.c:183: error: expected '=', ',', ';', 'asm' or '__attribute_<BR>_' before '{' token<BR>app_addon_sql_mysql.c:193: warning: 'struct ast_channel' declared inside paramet<BR>er list<BR>app_addon_sql_mysql.c:194: error: expected '=', ',', ';', 'asm' or '__attribute_<BR>_' before '{' token<BR>app_addon_sql_mysql.c:199: error: expected '=', ',', ';', 'asm' or '__attribute_<BR>_' before '{' token<BR>app_addon_sql_mysql.c:211: warning: 'struct ast_channel' declared inside paramet<BR>er list<BR>app_addon_sql_mysql.c:212: error: expected '=', ',', ';', 'asm' or '__attribute_<BR>_' before '{' token<BR>app_addon_sql_mysql.c:236: warning: 'struct ast_channel' declared inside paramet<BR>er list<BR>app_addon_sql_mysql.c:237: error: expected '=', ',', ';', 'asm' or '__attribute_<BR>_' before '{' token<BR>app_addon_sql_mysql.c:285: warning: 'struct ast_channel' declared inside paramet<BR>er list<BR>app_addon_sql_mysql.c:286: error: expected '=', ',', ';', 'asm' or '__attribute_<BR>_' before '{' token<BR>app_addon_sql_mysql.c:326: warning: 'struct ast_channel' declared inside paramet<BR>er list<BR>app_addon_sql_mysql.c:326: error: expected '=', ',', ';', 'asm' or '__attribute_<BR>_' before '{' token<BR>app_addon_sql_mysql.c:366: warning: 'struct ast_channel' declared inside paramet<BR>er list<BR>app_addon_sql_mysql.c:366: error: expected '=', ',', ';', 'asm' or '__attribute_<BR>_' before '{' token<BR>app_addon_sql_mysql.c:415: warning: 'struct ast_channel' declared inside paramet<BR>er list<BR>app_addon_sql_mysql.c:416: error: expected '=', ',', ';', 'asm' or '__attribute_<BR>_' before '{' token<BR>app_addon_sql_mysql.c:432: warning: 'struct ast_channel' declared inside paramet<BR>er list<BR>app_addon_sql_mysql.c:433: error: expected '=', ',', ';', 'asm' or '__attribute_<BR>_' before '{' token<BR>app_addon_sql_mysql.c:449: warning: 'struct ast_channel' declared inside paramet<BR>er list<BR>app_addon_sql_mysql.c:450: error: expected '=', ',', ';', 'asm' or '__attribute_<BR>_' before '{' token<BR>app_addon_sql_mysql.c:492: error: expected '=', ',', ';', 'asm' or '__attribute_<BR>_' before '{' token<BR>app_addon_sql_mysql.c:497: error: expected '=', ',', ';', 'asm' or '__attribute_<BR>_' before '{' token<BR>app_addon_sql_mysql.c:503: error: expected declaration specifiers before 'AST_MO<BR>DULE_INFO_STANDARD'<BR>app_addon_sql_mysql.c:503: error: expected '{' at end of input<BR>gmake[1]: *** [app_addon_sql_mysql.o] Error 1<BR>gmake[1]: Leaving directory `/usr/src/asterisk-addons-1.6.0/apps'<BR>gmake: *** [apps] Error 2<BR>
<BR>Thanks, any help will be much appriciate.<BR>
<BR>
Jose T <BR><BR>
<HR id=stopSpelling>
<BR>
From: jose_tomas_perez@hotmail.com<BR>To: asterisk-bsd@lists.digium.com<BR>Date: Fri, 31 Oct 2008 15:16:45 +0000<BR>Subject: Re: [Asterisk-bsd] Error compiling Addons-1.6.0<BR><BR>
<STYLE>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Tahoma;}
</STYLE>
hey no problem and thanks. <BR>JT<BR><BR>> From: r.neese@gmail.com<BR>> To: asterisk-bsd@lists.digium.com<BR>> Date: Fri, 31 Oct 2008 10:33:26 -0400<BR>> Subject: Re: [Asterisk-bsd] Error compiling Addons-1.6.0<BR>> <BR>> On Friday 31 October 2008 10:26:47 am Jose Tomas Perez wrote:<BR>> > Richard, thanks for the info.<BR>> ><BR>> > I got it from source/tar, Asteisk web site and I am trying to compile<BR>> > asterisk-addons-1.6.0. Asterisk 1.6.1 compiled prefectly on BSD7.0.<BR>> ><BR>> > Please let me know as soon as ports are ready or a work around for this or<BR>> > if you want me to send you all my error logs for you to have.<BR>> ><BR>> > Thanks in advance<BR>> ><BR>> > JT<BR>> ><BR>> > > From: r.neese@gmail.com> To: asterisk-bsd@lists.digium.com> Date: Fri, 31<BR>> > > Oct 2008 09:34:57 -0400> Subject: Re: [Asterisk-bsd] Error compiling<BR>> > > Addons-1.6.0> > On Thursday 30 October 2008 11:25:50 am Jose Tomas Perez<BR>> > > wrote:> > Hello> >> > I would like to know if anyone has a solution for<BR>> > > this error when compiling> > (gmake) asterisk-addons-1.6.0 on FreeBSD7.0-<BR>> > > Mysql50-server, client. Lots> > of blogs talks about adding<BR>> > > build-essential to the system but I can find it> > on FreeBSD ports.<BR>> > > Build-essential is for LINUX; Does anyone know the list> > of pkgs<BR>> > > equivalent for BSD?> >> > Any help will be much appriciated.> >> > Thanks<BR>> > > in Advance,> > JT> >> > asterisk# gmake> > CC="gcc" CXX="g++" LD="" AR=""<BR>> > > RANLIB="" CFLAGS="" gmake -C menuselect> > CONFIGURE_SILENT="--silent"<BR>> > > makeoptsgmake[1]: Entering directory> ><BR>> > > `/usr/src/asterisk-addons-1.6.0/menuselect'gmake[1]: `makeopts' is up to><BR>> > > > date.gmake[1]: Leaving directory> ><BR>> > > `/usr/src/asterisk-addons-1.6.0/menuselect'gmake[1]: Entering directory><BR>> > > > `/usr/src/asterisk-addons-1.6.0/channels'gmake[1]: Nothing to be done<BR>> > > for> > `all'.gmake[1]: Leaving directory> ><BR>> > > `/usr/src/asterisk-addons-1.6.0/channels'gmake[1]: Entering directory> ><BR>> > > `/usr/src/asterisk-addons-1.6.0/apps' [CC] app_addon_sql_mysql.c ->> ><BR>> > > app_addon_sql_mysql.oapp_addon_sql_mysql.c:19:22: error: asterisk.h: No><BR>> > > > such file or directoryapp_addon_sql_mysql.c:29:25: error:<BR>> > > mysql/mysql.h: No> > such file or directoryapp_addon_sql_mysql.c:31:27:<BR>> > > error: asterisk/file.h:> > No such file or<BR>> > > directoryapp_addon_sql_mysql.c:32:29: error:> > asterisk/logger.h: No<BR>> > > such file or directoryapp_addon_sql_mysql.c:33:30:> > error:<BR>> > > asterisk/channel.h: No such file or director> >> > I checked the files<BR>> > > and they are in there> > /usr/src/asterisk-addons-1.6.0/apps.> >> >> >><BR>> > > >> >> >> ><BR>> > > _________________________________________________________________> > Stay<BR>> > > organized with simple drag and drop from Windows Live Hotmail.> ><BR>> > > http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_102008><BR>> > > > > where did you get the 1.6 ports as 1.6 is not yet ported. I have been<BR>> > > working > on ports . it con=mpiles on 6.4 no issue I have not tested 1.6<BR>> > > on 7.0 yet and > we dont have dahdi on bsd yet...> ><BR>> > > _______________________________________________> --Bandwidth and<BR>> > > Colocation Provided by http://www.api-digital.com--> > Asterisk-BSD<BR>> > > mailing list> To UNSUBSCRIBE or update options visit:><BR>> > > http://lists.digium.com/mailman/listinfo/asterisk-bsd<BR>> ><BR>> > _________________________________________________________________<BR>> > Want to read Hotmail messages in Outlook? The Wordsmiths show you how.<BR>> > http://windowslive.com/connect/post/wedowindowslive.spaces.live.com-Blog-cn<BR>> >s!20EE04FBC541789!167.entry?ocid=TXT_TAGLM_WL_hotmail_0<BR>> <BR>> <BR>> <BR>> give us time to port and patch .. there are some thigs that still need <BR>> fixiing,... I am wotking on it today<BR>> <BR>> _______________________________________________<BR>> --Bandwidth and Colocation Provided by http://www.api-digital.com--<BR>> <BR>> Asterisk-BSD mailing list<BR>> To UNSUBSCRIBE or update options visit:<BR>> http://lists.digium.com/mailman/listinfo/asterisk-bsd<BR><BR><BR><BR>
<HR>
<BR>
When your life is on the go—take your life with you. <A href="http://clk.atdmt.com/MRT/go/115298558/direct/01/">Try Windows Mobile® today</A><BR><br /><hr />Get 5 GB of storage with Windows Live Hotmail. <a href='http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_5gb_112008' target='_new'>Sign up today.</a></body>
</html>