* Running some pre-flight checks... >>> Unpacking source... >>> Unpacking asterisk-1.2.27-patches-1.0.tar.bz2 to /var/tmp/portage/net-misc/asterisk-1.2.32/work >>> Unpacking asterisk-1.2.32.tar.gz to /var/tmp/portage/net-misc/asterisk-1.2.32/work * Applying asterisk-1.2.0-gentoo-channels.diff ...  [ ok ] * Applying asterisk-1.2.8-gentoo-astdb.diff ...  [ ok ] * Applying asterisk-1.2.8-gentoo-base.diff ...  [ ok ] * Applying asterisk-1.2.8-gentoo-cdr.diff ...  [ ok ] * Applying asterisk-1.2.11-gentoo-codecs.diff ...  [ ok ] * Applying asterisk-1.2.10-astcfg-0.0.2.diff ...  [ ok ] * Applying asterisk-1.2.0-scripts.diff ...  [ ok ] * Applying asterisk-1.2.21.1-weak-references.diff ...  [ ok ] * Disabling debug support * Applying asterisk-1.2.21.1-h323-dumb-makefile.diff ...  [ ok ] * Applying asterisk-1.2.32-svn89254.diff ...  [ ok ] * Applying asterisk-1.2.32-comma-is-not-pipe.diff ...  [ ok ] >>> Source unpacked in /var/tmp/portage/net-misc/asterisk-1.2.32/work >>> Preparing source in /var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32 ... * Building Asterisk... if cmp -s .cleancount .lastclean ; then echo ; else \ make clean; cp -f .cleancount .lastclean;\ fi build_tools/make_version_h > include/asterisk/version.h.tmp if cmp -s include/asterisk/version.h.tmp include/asterisk/version.h ; then echo; else \ mv include/asterisk/version.h.tmp include/asterisk/version.h ; \ fi rm -f include/asterisk/version.h.tmp build_tools/mkdep -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer acl.c aescrypt.c aeskey.c aestab.c alaw.c app.c ast_expr2.c ast_expr2f.c asterisk.c astmm.c astobj2.c autoservice.c buildinfo.c callerid.c cdr.c channel.c chanvars.c cli.c config.c cryptostub.c db.c devicestate.c dlfcn.c dns.c dnsmgr.c dsp.c enum.c file.c frame.c fskmodem.c image.c indications.c io.c jitterbuf.c loader.c logger.c manager.c md5.c muted.c netsock.c pbx.c plc.c poll.c privacy.c rtp.c say.c sched.c slinfactory.c srv.c strcompat.c tdd.c term.c translate.c ulaw.c utils.c build_tools/make_defaults_h > defaults.h.tmp if cmp -s defaults.h.tmp defaults.h ; then echo ; else \ mv defaults.h.tmp defaults.h ; \ fi rm -f defaults.h.tmp for x in res channels pbx apps codecs formats agi cdr funcs utils stdtime; do make -C $x depend || exit 1 ; done make[1]: Entering directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/res' ../build_tools/mkdep -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC `ls *.c` make[1]: Leaving directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/res' make[1]: Entering directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/channels' ../build_tools/mkdep -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC `ls *.c` make[1]: Leaving directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/channels' make[1]: Entering directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/pbx' ../build_tools/mkdep -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -fPIC `ls *.c` make[1]: Leaving directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/pbx' make[1]: Entering directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/apps' ../build_tools/mkdep -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -fPIC `ls *.c` make[1]: Leaving directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/apps' make[1]: Entering directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/codecs' ../build_tools/mkdep -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -fPIC -I/usr/include/speex `ls *.c` make[1]: Leaving directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/codecs' make[1]: Entering directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/formats' ../build_tools/mkdep -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -fPIC `ls *.c` make[1]: Leaving directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/formats' make[1]: Entering directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/agi' ../build_tools/mkdep -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -DNO_AST_MM `ls *.c` make[1]: Leaving directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/agi' make[1]: Entering directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/cdr' ../build_tools/mkdep -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -fPIC -I/usr/include/postgresql `ls *.c` make[1]: Leaving directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/cdr' make[1]: Entering directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/funcs' ../build_tools/mkdep -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -fPIC `ls *.c` make[1]: Leaving directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/funcs' make[1]: Entering directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/utils' ../build_tools/mkdep -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -DNO_AST_MM `ls *.c` make[1]: Leaving directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/utils' make[1]: Entering directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/stdtime' ../build_tools/mkdep -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer *.c make[1]: Leaving directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/stdtime' cd editline && unset CFLAGS LIBS && test -f config.h || CFLAGS="-O2 -pipe" ./configure creating cache ./config.cache checking for gcc... i686-pc-linux-gnu-gcc checking whether the C compiler (i686-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1) works... yes checking whether the C compiler (i686-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1) is a cross-compiler... no checking whether we are using GNU C... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking host system type... i686-pc-linux-gnu checking for a BSD compatible install... install checking for ranlib... ranlib checking for ar... /usr/bin/ar checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for tgetent in -lcurses... yes checking for termcap.h... yes checking for sys/cdefs.h... yes checking for vis.h... no checking for issetugid... no checking for strlcat... no checking for strlcpy... no checking for fgetln... no checking for strvis... no checking for strunvis... no updating cache ./config.cache creating ./config.status creating Makefile creating config.h make -C editline libedit.a make[1]: Entering directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/editline' /bin/sh makelist -h common.c > common.h /bin/sh makelist -h emacs.c> emacs.h /bin/sh makelist -h vi.c > vi.h /bin/sh makelist -fh common.h emacs.h vi.h > fcns.h /bin/sh makelist -fc common.h emacs.h vi.h > fcns.c if uname -s | grep -qi cygwin; then cat fcns.c | sed -e s/"sys\.h"/"config.h"/g > fcns.c.copy; mv --force fcns.c.copy fcns.c; fi /bin/sh makelist -bh common.c emacs.c vi.c > help.h /bin/sh makelist -bc common.c emacs.c vi.c > help.c if uname -s | grep -qi cygwin; then cat help.c | sed -e s/"sys\.h"/"config.h"/g > help.c.copy; mv --force help.c.copy help.c; fi /bin/sh makelist -e common.c emacs.c vi.c chared.c el.c hist.c key.c map.c parse.c prompt.c read.c refresh.c search.c sig.c term.c tty.c fcns.c help.c > editline.c i686-pc-linux-gnu-gcc -c -O2 -pipe '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. editline.c -o editline.o_a i686-pc-linux-gnu-gcc -c -O2 -pipe '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/strlcat.c -o np/strlcat.o_a i686-pc-linux-gnu-gcc -c -O2 -pipe '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/strlcpy.c -o np/strlcpy.o_a i686-pc-linux-gnu-gcc -c -O2 -pipe '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/fgetln.c -o np/fgetln.o_a i686-pc-linux-gnu-gcc -c -O2 -pipe '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/vis.c -o np/vis.o_a i686-pc-linux-gnu-gcc -c -O2 -pipe '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/unvis.c -o np/unvis.o_a i686-pc-linux-gnu-gcc -c -O2 -pipe '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. history.c -o history.o_a i686-pc-linux-gnu-gcc -c -O2 -pipe '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. tokenizer.c -o tokenizer.o_a i686-pc-linux-gnu-gcc -c -O2 -pipe '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. readline.c -o readline.o_a /usr/bin/ar cru libedit.a editline.o_a np/strlcat.o_a np/strlcpy.o_a np/fgetln.o_a np/vis.o_a np/unvis.o_a history.o_a tokenizer.o_a readline.o_a ranlib libedit.a make[1]: Leaving directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/editline' make[1]: Entering directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/db1-ast' i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o hash.o hash/hash.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o hash_bigkey.o hash/hash_bigkey.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o hash_buf.o hash/hash_buf.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o hash_func.o hash/hash_func.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o hash_log2.o hash/hash_log2.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o hash_page.o hash/hash_page.c hash/hash_page.c: In function 'overflow_page': hash/hash_page.c:715: warning: ignoring return value of 'write', declared with attribute warn_unused_result hash/hash_page.c:728: warning: ignoring return value of 'write', declared with attribute warn_unused_result hash/hash_page.c:752: warning: ignoring return value of 'write', declared with attribute warn_unused_result i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o ndbm.o hash/ndbm.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_close.o btree/bt_close.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_conv.o btree/bt_conv.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_debug.o btree/bt_debug.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_delete.o btree/bt_delete.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_get.o btree/bt_get.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_open.o btree/bt_open.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_overflow.o btree/bt_overflow.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_page.o btree/bt_page.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_put.o btree/bt_put.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_search.o btree/bt_search.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_seq.o btree/bt_seq.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_split.o btree/bt_split.c btree/bt_split.c: In function '__bt_split': btree/bt_split.c:250: warning: dereferencing type-punned pointer will break strict-aliasing rules btree/bt_split.c: In function 'bt_broot': btree/bt_split.c:573: warning: dereferencing type-punned pointer will break strict-aliasing rules i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_utils.o btree/bt_utils.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -o db.o db/db.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -o mpool.o mpool/mpool.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Irecno -o rec_close.o recno/rec_close.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Irecno -o rec_delete.o recno/rec_delete.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Irecno -o rec_get.o recno/rec_get.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Irecno -o rec_open.o recno/rec_open.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Irecno -o rec_put.o recno/rec_put.c recno/rec_put.c: In function '__rec_iput': recno/rec_put.c:216: warning: dereferencing type-punned pointer will break strict-aliasing rules i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Irecno -o rec_search.o recno/rec_search.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Irecno -o rec_seq.o recno/rec_seq.c i686-pc-linux-gnu-gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Irecno -o rec_utils.o recno/rec_utils.c rm -f libdb1.a ar cq libdb1.a hash.o hash_bigkey.o hash_buf.o hash_func.o hash_log2.o hash_page.o ndbm.o bt_close.o bt_conv.o bt_debug.o bt_delete.o bt_get.o bt_open.o bt_overflow.o bt_page.o bt_put.o bt_search.o bt_seq.o bt_split.o bt_utils.o db.o mpool.o rec_close.o rec_delete.o rec_get.o rec_open.o rec_put.o rec_search.o rec_seq.o rec_utils.o ranlib libdb1.a make[1]: Leaving directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/db1-ast' make[1]: Entering directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/stdtime' i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o localtime.o localtime.c localtime.c: In function 'T.118': localtime.c:1313: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false localtime.c:1324: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false localtime.c:1334: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false localtime.c:1338: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false localtime.c:1349: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false ar rv libtime.a localtime.o ar: creating libtime.a a - localtime.o ranlib libtime.a make[1]: Leaving directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/stdtime' i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o io.o io.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o sched.o sched.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o logger.o logger.c logger.c: In function 'ast_log': logger.c:788: warning: format not a string literal and no format arguments i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o frame.o frame.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o loader.o loader.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o config.o config.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o channel.o channel.c channel.c: In function 'ast_waitfordigit_full': channel.c:1836: warning: ignoring return value of 'write', declared with attribute warn_unused_result channel.c: In function 'ast_read': channel.c:1892: warning: ignoring return value of 'read', declared with attribute warn_unused_result channel.c: In function 'ast_do_masquerade': channel.c:3092: warning: ignoring return value of 'write', declared with attribute warn_unused_result i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o translate.o translate.c translate.c: In function 'show_translation': translate.c:378: warning: format not a string literal and no format arguments i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o file.o file.c file.c: In function 'ast_waitstream_full': file.c:1190: warning: ignoring return value of 'write', declared with attribute warn_unused_result i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o say.o say.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o pbx.o pbx.c pbx.c: In function 'pbx_extension_helper': pbx.c:1716: warning: the address of 'passdata' will always evaluate as 'true' i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o cli.o cli.c cli.c: In function 'format_uptimestr': cli.c:346: warning: the address of 'timestr' will always evaluate as 'true' cli.c: In function 'handle_commandcomplete': cli.c:633: warning: format not a string literal and no format arguments i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o md5.o md5.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o term.o term.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o ulaw.o ulaw.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o alaw.o alaw.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o callerid.o callerid.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o fskmodem.o fskmodem.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o image.o image.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o app.o app.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o cdr.o cdr.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o tdd.o tdd.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o acl.o acl.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o rtp.o rtp.c rtp.c: In function 'ast_rtp_bridge': rtp.c:1059: warning: 'ac1' may be used uninitialized in this function rtp.c:1546: note: 'ac1' was declared here rtp.c:1059: warning: 'ac0' may be used uninitialized in this function rtp.c:1546: note: 'ac0' was declared here i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o manager.o manager.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o asterisk.o asterisk.c asterisk.c: In function 'hup_handler': asterisk.c:759: warning: ignoring return value of 'write', declared with attribute warn_unused_result asterisk.c: In function 'quit_handler': asterisk.c:917: warning: format not a string literal and no format arguments asterisk.c: In function '__quit_handler': asterisk.c:953: warning: ignoring return value of 'write', declared with attribute warn_unused_result asterisk.c: In function 'consolehandler': asterisk.c:1006: warning: format not a string literal and no format arguments asterisk.c: In function 'show_warranty': asterisk.c:1191: warning: format not a string literal and no format arguments asterisk.c: In function 'show_license': asterisk.c:1220: warning: format not a string literal and no format arguments asterisk.c: In function 'ast_el_read_char': asterisk.c:1303: warning: format not a string literal and no format arguments asterisk.c:1320: warning: ignoring return value of 'write', declared with attribute warn_unused_result asterisk.c:1321: warning: ignoring return value of 'write', declared with attribute warn_unused_result asterisk.c: In function 'cli_prompt': asterisk.c:1408: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result asterisk.c: In function 'ast_el_read_history': asterisk.c:1747: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result asterisk.c: In function 'ast_remotecontrol': asterisk.c:1775: warning: ignoring return value of 'read', declared with attribute warn_unused_result asterisk.c:1777: warning: ignoring return value of 'write', declared with attribute warn_unused_result asterisk.c: In function 'monitor_sig_flags': asterisk.c:2030: warning: ignoring return value of 'read', declared with attribute warn_unused_result asterisk.c: In function 'main': asterisk.c:2259: warning: format not a string literal and no format arguments asterisk.c:2285: warning: format not a string literal and no format arguments asterisk.c:2293: warning: format not a string literal and no format arguments asterisk.c:2298: warning: format not a string literal and no format arguments asterisk.c:2358: warning: format not a string literal and no format arguments asterisk.c:2362: warning: format not a string literal and no format arguments asterisk.c:2367: warning: format not a string literal and no format arguments asterisk.c:2372: warning: format not a string literal and no format arguments asterisk.c:2376: warning: format not a string literal and no format arguments asterisk.c:2380: warning: format not a string literal and no format arguments asterisk.c:2385: warning: format not a string literal and no format arguments asterisk.c:2389: warning: format not a string literal and no format arguments asterisk.c:2393: warning: format not a string literal and no format arguments asterisk.c:2397: warning: format not a string literal and no format arguments asterisk.c:2401: warning: format not a string literal and no format arguments asterisk.c:2405: warning: format not a string literal and no format arguments asterisk.c:2409: warning: format not a string literal and no format arguments asterisk.c:2431: warning: format not a string literal and no format arguments asterisk.c:2311: warning: ignoring return value of 'daemon', declared with attribute warn_unused_result i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o dsp.o dsp.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o chanvars.o chanvars.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o indications.o indications.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o autoservice.o autoservice.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o db.o db.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o privacy.o privacy.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o astmm.o astmm.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o enum.o enum.c enum.c: In function 'parse_naptr': enum.c:107: warning: pointer targets in initialization differ in signedness enum.c:133: warning: pointer targets in passing argument 1 of 'parse_ie' differ in signedness enum.c:83: note: expected 'unsigned char *' but argument is of type 'char *' enum.c:140: warning: pointer targets in passing argument 1 of 'parse_ie' differ in signedness enum.c:83: note: expected 'unsigned char *' but argument is of type 'char *' enum.c:147: warning: pointer targets in passing argument 1 of 'parse_ie' differ in signedness enum.c:83: note: expected 'unsigned char *' but argument is of type 'char *' enum.c:230: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness /usr/include/regex.h:560: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' enum.c:260: warning: pointer targets in passing argument 1 of 'ast_copy_string' differ in signedness include/asterisk/strings.h:155: note: expected 'char *' but argument is of type 'unsigned char *' enum.c: In function 'enum_callback': enum.c:344: warning: pointer targets in passing argument 1 of 'parse_naptr' differ in signedness enum.c:104: note: expected 'unsigned char *' but argument is of type 'char *' enum.c:344: warning: pointer targets in passing argument 5 of 'parse_naptr' differ in signedness enum.c:104: note: expected 'unsigned char *' but argument is of type 'char *' enum.c:344: warning: pointer targets in passing argument 7 of 'parse_naptr' differ in signedness enum.c:104: note: expected 'unsigned char *' but argument is of type 'char *' i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o srv.o srv.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o dns.o dns.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o aescrypt.o aescrypt.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o aestab.o aestab.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o aeskey.o aeskey.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o utils.o utils.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o plc.o plc.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o jitterbuf.o jitterbuf.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o dnsmgr.o dnsmgr.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o devicestate.o devicestate.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o netsock.o netsock.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o slinfactory.o slinfactory.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o ast_expr2.o ast_expr2.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o ast_expr2f.o ast_expr2f.c ast_expr2f.c: In function 'ast_yylex': ast_expr2.fl:103: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result ast_expr2.fl: At top level: ast_expr2f.c:2128: warning: 'input' defined but not used i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o cryptostub.o cryptostub.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o astobj2.o astobj2.c astobj2.c:715: warning: no previous prototype for 'astobj2_init' build_tools/make_build_h > include/asterisk/build.h.tmp if cmp -s include/asterisk/build.h.tmp include/asterisk/build.h ; then echo ; else \ mv include/asterisk/build.h.tmp include/asterisk/build.h ; \ fi rm -f include/asterisk/build.h.tmp i686-pc-linux-gnu-gcc -c -o buildinfo.o -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer buildinfo.c i686-pc-linux-gnu-gcc -o asterisk -Wl,-E io.o sched.o logger.o frame.o loader.o config.o channel.o translate.o file.o say.o pbx.o cli.o md5.o term.o ulaw.o alaw.o callerid.o fskmodem.o image.o app.o cdr.o tdd.o acl.o rtp.o manager.o asterisk.o dsp.o chanvars.o indications.o autoservice.o db.o privacy.o astmm.o enum.o srv.o dns.o aescrypt.o aestab.o aeskey.o utils.o plc.o jitterbuf.o dnsmgr.o devicestate.o netsock.o slinfactory.o ast_expr2.o ast_expr2f.o cryptostub.o astobj2.o buildinfo.o editline/libedit.a db1-ast/libdb1.a stdtime/libtime.a -ldl -lpthread -lncurses -lm -lresolv -lssl for x in res channels pbx apps codecs formats agi cdr funcs utils stdtime; do make -C $x || exit 1 ; done make[1]: Entering directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/res' i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_indications.o res_indications.c res_indications.c: In function 'handle_show_indications': res_indications.c:191: warning: format not a string literal and no format arguments i686-pc-linux-gnu-gcc -shared -Xlinker -x -o res_indications.so res_indications.o i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_monitor.o res_monitor.c i686-pc-linux-gnu-gcc -shared -Xlinker -x -o res_monitor.so res_monitor.o i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_adsi.o res_adsi.c i686-pc-linux-gnu-gcc -shared -Xlinker -x -o res_adsi.so res_adsi.o i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_agi.o res_agi.c res_agi.c: In function 'run_agi': res_agi.c:1888: warning: ignoring return value of 'write', declared with attribute warn_unused_result res_agi.c: In function 'handle_showagi': res_agi.c:1939: warning: format not a string literal and no format arguments i686-pc-linux-gnu-gcc -shared -Xlinker -x -o res_agi.so res_agi.o i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_features.o res_features.c i686-pc-linux-gnu-gcc -shared -Xlinker -x -o res_features.so res_features.o i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_config_odbc.o res_config_odbc.c i686-pc-linux-gnu-gcc -shared -Xlinker -x -o res_config_odbc.so res_config_odbc.o i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_odbc.o res_odbc.c i686-pc-linux-gnu-gcc -shared -Xlinker -x -o res_odbc.so res_odbc.o -lodbc i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_crypto.o res_crypto.c res_crypto.c: In function 'pw_cb': res_crypto.c:116: warning: ignoring return value of 'write', declared with attribute warn_unused_result res_crypto.c: In function 'try_load_key': res_crypto.c:192: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result i686-pc-linux-gnu-gcc -shared -Xlinker -x -o res_crypto.so res_crypto.o -lssl -lcrypto i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_osp.o res_osp.c res_osp.c: In function 'osp_build': res_osp.c:213: warning: pointer targets in passing argument 1 of 'loadPemPrivateKey' differ in signedness res_osp.c:72: note: expected 'unsigned char *' but argument is of type 'char *' res_osp.c:226: warning: pointer targets in passing argument 1 of 'loadPemCert' differ in signedness res_osp.c:71: note: expected 'unsigned char *' but argument is of type 'char *' res_osp.c:241: warning: pointer targets in passing argument 1 of 'loadPemCert' differ in signedness res_osp.c:71: note: expected 'unsigned char *' but argument is of type 'char *' res_osp.c: In function 'ast_osp_validate': res_osp.c:473: warning: pointer targets in passing argument 1 of 'ast_base64decode' differ in signedness ../include/asterisk/utils.h:148: note: expected 'unsigned char *' but argument is of type 'char *' res_osp.c: In function 'ast_osp_lookup': res_osp.c:590: warning: pointer targets in passing argument 12 of 'OSPPTransactionRequestAuthorisation' differ in signedness /usr/include/osp/osptransapi.h:84: note: expected 'unsigned int *' but argument is of type 'int *' res_osp.c:596: warning: pointer targets in passing argument 16 of 'OSPPTransactionGetFirstDestination' differ in signedness /usr/include/osp/osptransapi.h:59: note: expected 'unsigned int *' but argument is of type 'int *' res_osp.c:608: warning: pointer targets in passing argument 2 of 'ast_base64encode' differ in signedness ../include/asterisk/utils.h:147: note: expected 'const unsigned char *' but argument is of type 'char *' res_osp.c:635: warning: pointer targets in passing argument 17 of 'OSPPTransactionGetNextDestination' differ in signedness /usr/include/osp/osptransapi.h:63: note: expected 'unsigned int *' but argument is of type 'int *' res_osp.c: In function 'ast_osp_next': res_osp.c:691: warning: pointer targets in passing argument 17 of 'OSPPTransactionGetNextDestination' differ in signedness /usr/include/osp/osptransapi.h:63: note: expected 'unsigned int *' but argument is of type 'int *' res_osp.c:696: warning: pointer targets in passing argument 2 of 'ast_base64encode' differ in signedness ../include/asterisk/utils.h:147: note: expected 'const unsigned char *' but argument is of type 'char *' res_osp.c: In function 'ast_osp_terminate': res_osp.c:767: warning: pointer targets in initialization differ in signedness i686-pc-linux-gnu-gcc -shared -Xlinker -x -o res_osp.so res_osp.o /usr/lib/libosptk.a i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_musiconhold.o res_musiconhold.c res_musiconhold.c: In function 'spawn_mp3': res_musiconhold.c:467: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result res_musiconhold.c: In function 'moh_scan_files': res_musiconhold.c:790: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result res_musiconhold.c:791: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result res_musiconhold.c:829: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result i686-pc-linux-gnu-gcc -shared -Xlinker -x -o res_musiconhold.so res_musiconhold.o make[1]: Leaving directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/res' make[1]: Entering directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/channels' i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_sip.o chan_sip.c i686-pc-linux-gnu-gcc -shared -Xlinker -x -o chan_sip.so chan_sip.o i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_agent.o chan_agent.c chan_agent.c: In function '__agent_start_monitoring': chan_agent.c:442: warning: the address of 'savecallsin' will always evaluate as 'true' chan_agent.c:445: warning: the address of 'urlprefix' will always evaluate as 'true' i686-pc-linux-gnu-gcc -shared -Xlinker -x -o chan_agent.so chan_agent.o i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_mgcp.o chan_mgcp.c i686-pc-linux-gnu-gcc -shared -Xlinker -x -o chan_mgcp.so chan_mgcp.o -ldl -lpthread -lncurses -lm -lresolv -lssl i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_iax2.o chan_iax2.c chan_iax2.c: In function 'jb_error_output': chan_iax2.c:708: warning: format not a string literal and no format arguments chan_iax2.c: In function 'jb_warning_output': chan_iax2.c:720: warning: format not a string literal and no format arguments chan_iax2.c: In function 'jb_debug_output': chan_iax2.c:732: warning: format not a string literal and no format arguments chan_iax2.c: In function 'iax2_bridge': chan_iax2.c:3428: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' chan_iax2.c: In function 'complete_dpreply': chan_iax2.c:5702: warning: ignoring return value of 'write', declared with attribute warn_unused_result chan_iax2.c: In function 'find_cache': chan_iax2.c:9616: warning: ignoring return value of 'write', declared with attribute warn_unused_result i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o iax2-parser.o iax2-parser.c i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o iax2-provision.o iax2-provision.c i686-pc-linux-gnu-gcc -shared -Xlinker -x -o chan_iax2.so chan_iax2.o iax2-parser.o iax2-provision.o i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_local.o chan_local.c i686-pc-linux-gnu-gcc -shared -Xlinker -x -o chan_local.so chan_local.o -ldl -lpthread -lncurses -lm -lresolv -lssl i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_skinny.o chan_skinny.c chan_skinny.c: In function 'handle_message': chan_skinny.c:2486: warning: format not a string literal and no format arguments chan_skinny.c:2486: warning: format not a string literal and no format arguments chan_skinny.c: In function 'get_input': chan_skinny.c:2864: warning: dereferencing type-punned pointer will break strict-aliasing rules chan_skinny.c:2872: warning: dereferencing type-punned pointer will break strict-aliasing rules chan_skinny.c: In function 'skinny_req_parse': chan_skinny.c:2893: warning: dereferencing type-punned pointer will break strict-aliasing rules i686-pc-linux-gnu-gcc -shared -Xlinker -x -o chan_skinny.so chan_skinny.o -ldl -lpthread -lncurses -lm -lresolv -lssl i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_features.o chan_features.c i686-pc-linux-gnu-gcc -shared -Xlinker -x -o chan_features.so chan_features.o -ldl -lpthread -lncurses -lm -lresolv -lssl gcc -o gentone gentone.c -lm ./gentone busy 480 620 Wavelength 1 (in samples): 16.66667 Minimum samples (1): 50 (3.000000.3 wavelengths) Wavelength 1 (in samples): 12.90323 Minimum samples (1): 400 (31.000000.3 wavelengths) Need 400 samples Wrote busy.h ./gentone ringtone 440 480 Wavelength 1 (in samples): 18.18182 Minimum samples (1): 200 (11.000000.3 wavelengths) Wavelength 1 (in samples): 16.66667 Minimum samples (1): 50 (3.000000.3 wavelengths) Need 200 samples Wrote ringtone.h i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_oss.o chan_oss.c chan_oss.c: In function 'sound_thread': chan_oss.c:507: warning: ignoring return value of 'read', declared with attribute warn_unused_result chan_oss.c:541: warning: ignoring return value of 'read', declared with attribute warn_unused_result chan_oss.c:555: warning: ignoring return value of 'read', declared with attribute warn_unused_result chan_oss.c: In function 'ring': chan_oss.c:684: warning: ignoring return value of 'write', declared with attribute warn_unused_result chan_oss.c: In function 'store_config': chan_oss.c:1325: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result chan_oss.c:1327: warning: ignoring return value of 'system', declared with attribute warn_unused_result i686-pc-linux-gnu-gcc -shared -Xlinker -x -o chan_oss.so chan_oss.o -ldl -lpthread -lncurses -lm -lresolv -lssl i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_phone.o chan_phone.c In file included from /usr/include/string.h:641, from chan_phone.c:28: /usr/include/bits/string3.h: In function 'phone_write': /usr/include/bits/string3.h:82: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters i686-pc-linux-gnu-gcc -shared -Xlinker -x -o chan_phone.so chan_phone.o -ldl -lpthread -lncurses -lm -lresolv -lssl i686-pc-linux-gnu-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_alsa.o chan_alsa.c chan_alsa.c: In function 'sound_thread': chan_alsa.c:320: warning: ignoring return value of 'read', declared with attribute warn_unused_result chan_alsa.c: In function 'alsa_call': chan_alsa.c:543: warning: ignoring return value of 'write', declared with attribute warn_unused_result chan_alsa.c: In function 'answer_sound': chan_alsa.c:556: warning: ignoring return value of 'write', declared with attribute warn_unused_result chan_alsa.c: In function 'alsa_hangup': chan_alsa.c:590: warning: ignoring return value of 'write', declared with attribute warn_unused_result chan_alsa.c: In function 'alsa_indicate': chan_alsa.c:773: warning: ignoring return value of 'write', declared with attribute warn_unused_result i686-pc-linux-gnu-gcc -shared -Xlinker -x -o chan_alsa.so chan_alsa.o -lasound -lm -ldl i686-pc-linux-gnu-gcc -c -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -DOSP_SUPPORT -I/usr/include/osp -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -o chan_zap.o chan_zap.c chan_zap.c: In function 'zt_pri_message': chan_zap.c:8059: warning: ignoring return value of 'write', declared with attribute warn_unused_result chan_zap.c: In function 'zt_pri_error': chan_zap.c:8098: warning: ignoring return value of 'write', declared with attribute warn_unused_result In file included from /usr/include/fcntl.h:218, from ../include/asterisk/file.h:33, from chan_zap.c:81: /usr/include/bits/fcntl2.h: In function 'handle_pri_set_debug_file': /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments make[1]: *** [chan_zap.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-misc/asterisk-1.2.32/work/asterisk-1.2.32/channels' make: *** [subdirs] Error 1 * * ERROR: net-misc/asterisk-1.2.32 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2505: Called die * The specific snippet of code: * make CC=$(tc-getCC) NOTRACE=1 OPTIMIZE="${CFLAGS}" PWLIBDIR=/usr/share/pwlib OPENH323DIR=/usr/share/openh323 OPTIONS="${myopts}" || die "Make failed"; * The die message: * Make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/net-misc/asterisk-1.2.32:20090608-085906.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/asterisk-1.2.32/temp/environment'. *