[asterisk-users] asterisk addons don't compile using non standart prefix
Fred
dangerkoffe at gmail.com
Fri Sep 11 01:58:06 CDT 2009
My system is Debian
I have successfully installed Asterisk 1.6.1.6 to a non standart
folder /opt/asterisk
Then for asterisk-addons-1.6.1.1 I run:
./configure --prefix=/opt/asterisk/
make menuselect
And then command "make" fails with following errors:
Generating embedded module rules ...
make[1]: Entering directory `/usr/src/asterisk-addons-1.6.1.1'
make[1]: Leaving directory `/usr/src/asterisk-addons-1.6.1.1'
make[1]: Entering directory `/usr/src/asterisk-addons-1.6.1.1'
make[1]: Leaving directory `/usr/src/asterisk-addons-1.6.1.1'
make[1]: Entering directory `/usr/src/asterisk-addons-1.6.1.1'
make[1]: Leaving directory `/usr/src/asterisk-addons-1.6.1.1'
make[1]: Entering directory `/usr/src/asterisk-addons-1.6.1.1/channels'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/asterisk-addons-1.6.1.1/channels'
make[1]: Entering directory `/usr/src/asterisk-addons-1.6.1.1/apps'
[CC] app_addon_sql_mysql.c -> app_addon_sql_mysql.o
app_addon_sql_mysql.c:19:22: error: asterisk.h: No such file or directory
app_addon_sql_mysql.c:31:27: error: asterisk/file.h: No such file or directory
app_addon_sql_mysql.c:32:29: error: asterisk/logger.h: No such file or directory
app_addon_sql_mysql.c:33:30: error: asterisk/channel.h: No such file
or directory
app_addon_sql_mysql.c:34:26: error: asterisk/pbx.h: No such file or directory
app_addon_sql_mysql.c:35:29: error: asterisk/module.h: No such file or directory
app_addon_sql_mysql.c:36:34: error: asterisk/linkedlists.h: No such
file or directory
app_addon_sql_mysql.c:37:31: error: asterisk/chanvars.h: No such file
or directory
app_addon_sql_mysql.c:38:27: error: asterisk/lock.h: No such file or directory
app_addon_sql_mysql.c:39:30: error: asterisk/options.h: No such file
or directory
app_addon_sql_mysql.c:40:26: error: asterisk/app.h: No such file or directory
app_addon_sql_mysql.c:86: warning: data definition has no type or storage class
app_addon_sql_mysql.c:86: warning: parameter names (without types) in
function declaration
app_addon_sql_mysql.c:96: warning: ‘struct ast_channel’ declared
inside parameter list
app_addon_sql_mysql.c:96: warning: its scope is only this definition
or declaration, which is probably not what you want
........(stripped of)........
It would be great to recieve any help, if anyone else experienced this
problem or just know the cause and solution of this error.
Thanks in advance
Best regards,
Fedor
More information about the asterisk-users
mailing list