[Asterisk-Users] Error compiling, is it only mee?
Christopher Arnold
chris at terrabee.net
Fri Jun 20 08:08:42 MST 2003
Hi all,
since a couple of days i have been wanting to upgrade Asterisk, but my
system complains. (Se errors below) Since im ripping the cvs version i
guessed that it was something temporary. But it seems persistant.
Is this only me or is it happening to other people?
Anyone who has a workaround?
Or naturally even better, a solution...
Oh, i almost forgot im running:
# uname -a
Linux sip.rabbta.com 2.4.20-18.8 #1 Thu May 29 07:20:39 EDT 2003 i686
athlon i386 GNU/Linux
# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --host=i386-redhat-linux --with-system-zlib
--enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
/Chris
make[1]: Entering directory `/usr/local/src/asterisk/res'
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=\"CVS-06/18/03-11:58:58\" -DINSTALL_PREFIX=\"\"
-DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\"
-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
-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
-DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_indications.o
res_indications.c
res_indications.c: In function `handle_playtones':
res_indications.c:195: too few arguments to function `ast_playtones_start'
res_indications.c:197: too few arguments to function `ast_playtones_start'
res_indications.c: At top level:
res_indications.c:216: warning: function declaration isn't a prototype
make[1]: [res_indications.o] Error 1 (ignored)
<CUT>
make[1]: Entering directory `/usr/local/src/asterisk/apps'
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=\"CVS-06/18/03-11:58:58\" -DINSTALL_PREFIX=\"\"
-DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\"
-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
-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 -fPIC -c
-o app_db.o app_db.c
In file included from app_db.c:16:
../include/asterisk/options.h:30: parse error before "ast_startuptime"
../include/asterisk/options.h:30: warning: type defaults to `int' in
declaration of `ast_startuptime'
../include/asterisk/options.h:30: warning: data definition has no type or
storage class
../include/asterisk/options.h:31: parse error before "ast_lastreloadtime"
../include/asterisk/options.h:31: warning: type defaults to `int' in
declaration of `ast_lastreloadtime'
../include/asterisk/options.h:31: warning: data definition has no type or
storage class
app_db.c: In function `deltree_exec':
app_db.c:98: warning: suggest explicit braces to avoid ambiguous `else'
make[1]: [app_db.o] Error 1 (ignored)
More information about the asterisk-users
mailing list