[Asterisk-bsd] Error compiling Addons-1.6.0

Rich E. Neese r.neese at gmail.com
Mon Nov 17 11:34:59 CST 2008


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

1.6.0 will have issues on bsd as there is no dahdi yet ported.

there is aport in the works for 1.6.0 but with out dahdi for timing and card 
drivers you will not be able to use tdmcard of conferencing....




More information about the Asterisk-BSD mailing list