[Asterisk-Users] Asterisk 1.0.7 -addons doesn't compile

2005-03-19 Thread Scott Gruby
On Mar 18, 2005, at 10:47 PM, Russell Bryant wrote:
Hello everyone,
Version 1.0.7 of Asterisk, Zaptel, libpri, and Asterisk-addons has now 
been released.  Libpri and -addons have not changed, but have been 
updated anyway to keep the version numbers consistent.  All of the 
tarballs are available on the ftp site.


Asterisk-addons doesn't compile.
app_addon_sql_mysql.c:164:36: 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

Replacing app_addon_sql_mysql.c from asterisk-addons 1.0.1 gets me 
further (AST_LIST_REMOVE is the only change between the two), but then 
it gets stuck at:

res_config_mysql.c:418: error: variable `mysql_engine' has initializer 
but incomplete type
res_config_mysql.c:419: error: unknown field `name' specified in 
initializer
res_config_mysql.c:419: warning: excess elements in struct initializer
res_config_mysql.c:419: warning: (near initialization for 
`mysql_engine')
res_config_mysql.c:420: error: unknown field `load_func' specified in 
initializer
res_config_mysql.c:420: warning: excess elements in struct initializer
res_config_mysql.c:420: warning: (near initialization for 
`mysql_engine')
res_config_mysql.c:421: error: unknown field `realtime_func' specified 
in initializer
res_config_mysql.c:421: warning: excess elements in struct initializer
res_config_mysql.c:421: warning: (near initialization for 
`mysql_engine')
res_config_mysql.c:422: error: unknown field `realtime_multi_func' 
specified in initializer
res_config_mysql.c:422: warning: excess elements in struct initializer
res_config_mysql.c:422: warning: (near initialization for 
`mysql_engine')
res_config_mysql.c:423: error: unknown field `update_func' specified in 
initializer
res_config_mysql.c:424: warning: excess elements in struct initializer
res_config_mysql.c:424: warning: (near initialization for 
`mysql_engine')
res_config_mysql.c: In function `parse_config':
res_config_mysql.c:491: warning: assignment makes pointer from integer 
without a cast
res_config_mysql.c: At top level:
res_config_mysql.c:418: error: storage size of `mysql_engine' isn't 
known

BTW, the CVS directories are still left in the tarballs.
Anyone know how to fix these issues (besides just installing addons 
1.0.1?

Thanks.
___
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] Asterisk 1.0.7 -addons doesn't compile

2005-03-19 Thread Greg Boehnlein
On Sat, 19 Mar 2005, Scott Gruby wrote:

 On Mar 18, 2005, at 10:47 PM, Russell Bryant wrote:
 
  Hello everyone,
 
  Version 1.0.7 of Asterisk, Zaptel, libpri, and Asterisk-addons has now 
  been released.  Libpri and -addons have not changed, but have been 
  updated anyway to keep the version numbers consistent.  All of the 
  tarballs are available on the ftp site.
 
 
 
 Asterisk-addons doesn't compile.

Did you make clean first? I compiled fine.. granted, I'm not using the 
tarball, and instead using the 1.0 CVS, but it should still work..

-- 
Vice President of N2Net, a New Age Consulting Service, Inc. Company
 http://www.n2net.net Where everything clicks into place!
 KP-216-121-ST



___
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] Asterisk 1.0.7 -addons doesn't compile

2005-03-19 Thread Scott Gruby
On Mar 19, 2005, at 1:01 PM, Greg Boehnlein wrote:
On Sat, 19 Mar 2005, Scott Gruby wrote:
On Mar 18, 2005, at 10:47 PM, Russell Bryant wrote:
Hello everyone,
Version 1.0.7 of Asterisk, Zaptel, libpri, and Asterisk-addons has 
now
been released.  Libpri and -addons have not changed, but have been
updated anyway to keep the version numbers consistent.  All of the
tarballs are available on the ftp site.


Asterisk-addons doesn't compile.
Did you make clean first? I compiled fine.. granted, I'm not using 
the
tarball, and instead using the 1.0 CVS, but it should still work..

Yes. I moved asterisk.h from asterisk-1.0.7 to the add-ons and got the 
issues. There's a huge difference in using CVS vs the released as 
everyone knows. My suspicion is that the addons have changes in them 
that compile fine with the latest CVS for asterisk and asterisk-addons, 
but not with 1.0.7 release.

There are a number of changes between 1.0.6 addons and 1.0.7 add ons; I 
think that tarball got messed up and changes put into 1.0.7 that are 
incompatible with the asterisk-1.0.7 release.

___
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