[Asterisk-Users] Make error trying to add app_dicate to Asterisk stable 1.0.7

Malcolm Taylor mtaylor at pcnet.com
Sat May 14 09:41:21 MST 2005


I'm trying to add app_dictate to Asterisk stable 1.0.7 and get a make error
255.  Can anyone suggest what might be wrong?


Here's the output:

[root at asterisk app_dictate]# make autoload
CC=gcc /usr/src/asterisk/contrib/scripts/astxs app_dictate.c
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE
-O6 -march=i686   -DZAPTEL_OPTIMIZATIONS  -DASTERISK_VERSION=\"1.0.7\"
-DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\"
-DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\"
-DASTVARRUNDIR=\"/var/run/asterisk\" -DASTSPOOLDIR=\"/var/spool/asterisk\"
-DASTLOGDIR=\"/var/log/asterisk\"
-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\"
-DASTMODDIR=\"/usr/lib/asterisk/modules\"
-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN      -fPIC
-c app_dictate.c -o app_dictate.o
app_dictate.c: In function `dictate_exec':
app_dictate.c:66: variable `flags' has initializer but incomplete type
app_dictate.c:66: warning: excess elements in struct initializer
app_dictate.c:66: warning: (near initialization for `flags')
app_dictate.c:66: storage size of `flags' isn't known
app_dictate.c:84: warning: implicit declaration of function
`ast_strlen_zero'
app_dictate.c:85: warning: implicit declaration of function
`ast_separate_app_args'
app_dictate.c:132: warning: implicit declaration of function
`ast_queue_frame'
app_dictate.c:66: warning: unused variable `flags'
make: *** [app_dictate.so] Error 255
[root at asterisk app_dictate]#

Thanks,

	Malcolm





More information about the asterisk-users mailing list