Anyone have any luck compiling current on freebsd? I did a cvs checkout and a gmake and its choaking on sched.c
I already have the asterisk port (latest version) installed so all the depends should be fine. gateway2# uname -a FreeBSD gateway2.voip.aebc.com 5.3-RELEASE-p10 FreeBSD 5.3-RELEASE-p10 #0: Thu Apr 28 12:18:56 PDT 2005 root@:/usr/obj/usr/src/sys/GATEWAY i386 gateway2# pkg_version -v asterisk-1.0.9_2 = up-to-date with port autoconf-2.53_3 = up-to-date with port autoconf-2.59_2 = up-to-date with port bison-1.75_2 < needs updating (port has 1.75_2,1) cvsup-without-gui-16.1h < needs updating (port has 16.1h_2) gettext-0.14.5 = up-to-date with port gmake-3.80_2 = up-to-date with port help2man-1.35.1 = up-to-date with port ispell-3.2.06_12 < needs updating (port has 3.2.06_13) libiconv-1.9.2_1 = up-to-date with port libogg-1.1.2_1,3 = up-to-date with port libpri-1.0.9 = up-to-date with port libslang-1.4.9 = up-to-date with port libtool-1.3.5_2 = up-to-date with port libtool-1.5.18 < needs updating (port has 1.5.20) mpg123-0.59r_17 = up-to-date with port newt-0.51.0_2 = up-to-date with port ngrep-1.43 < needs updating (port has 1.44) p5-gettext-1.03 = up-to-date with port perl-5.8.6_2 < needs updating (port has 5.8.7) pico-4.62 < needs updating (port has 4.63) popt-1.7 = up-to-date with port portaudit-0.5.10 = up-to-date with port speex-1.0.4_1,1 < needs updating (port has 1.0.5,1) zaptel-0.10 = up-to-date with port gateway2# pwd /usr/home/cstdenis/test/asterisk gateway2# gmake if cmp -s .cleancount .lastclean ; then echo ; else \ gmake clean; cp -f .cleancount .lastclean;\ fi gmake[1]: Entering directory `/usr/home/cstdenis/test/asterisk' for x in res channels pbx apps codecs formats agi cdr funcs utils stdtime; do gmake -C $x clean || exit 1 ; done gmake[2]: Entering directory `/usr/home/cstdenis/test/asterisk/res' rm -f *.so *.o .depend gmake[2]: Leaving directory `/usr/home/cstdenis/test/asterisk/res' gmake[2]: Entering directory `/usr/home/cstdenis/test/asterisk/channels' rm -f *.so *.o .depend rm -f busy.h ringtone.h gentone gentone-ulaw gmake[2]: Leaving directory `/usr/home/cstdenis/test/asterisk/channels' gmake[2]: Entering directory `/usr/home/cstdenis/test/asterisk/pbx' rm -f *.so *.o .depend gmake[2]: Leaving directory `/usr/home/cstdenis/test/asterisk/pbx' curl-config: not found [[: not found gmake[2]: Entering directory `/usr/home/cstdenis/test/asterisk/apps' rm -f *.so *.o look .depend gmake[2]: Leaving directory `/usr/home/cstdenis/test/asterisk/apps' gmake[2]: Entering directory `/usr/home/cstdenis/test/asterisk/codecs' rm -f *.so *.o .depend [ ! -d g723.1 ] || gmake -C g723.1 clean [ ! -d g723.1b ] || gmake -C g723.1b clean gmake -C gsm clean gmake[3]: Entering directory `/usr/home/cstdenis/test/asterisk/codecs/gsm' rm -f */*.o \ ./tst/lin2cod ./tst/lin2txt \ ./tst/cod2lin ./tst/cod2txt \ ./tst/gsm2cod \ ./tst/*.*.* find . \( -name core -o -name foo \) \ -print | xargs rm -f rm -f ./lib/libgsm.a ./add-test/add \ ./bin/toast ./bin/tcat ./bin/untoast \ ./gsm-1.0.tar.Z rm -rf lib gmake[3]: Leaving directory `/usr/home/cstdenis/test/asterisk/codecs/gsm' gmake -C lpc10 clean gmake[3]: Entering directory `/usr/home/cstdenis/test/asterisk/codecs/lpc10' rm -f *.o ./liblpc10.a gmake[3]: Leaving directory `/usr/home/cstdenis/test/asterisk/codecs/lpc10' gmake -C ilbc clean gmake[3]: Entering directory `/usr/home/cstdenis/test/asterisk/codecs/ilbc' rm -f libilbc.a *.o gmake[3]: Leaving directory `/usr/home/cstdenis/test/asterisk/codecs/ilbc' gmake[2]: Leaving directory `/usr/home/cstdenis/test/asterisk/codecs' gmake[2]: Entering directory `/usr/home/cstdenis/test/asterisk/formats' rm -f *.so *.o .depend gmake[2]: Leaving directory `/usr/home/cstdenis/test/asterisk/formats' gmake[2]: Entering directory `/usr/home/cstdenis/test/asterisk/agi' rm -f *.so *.o look .depend eagi-test eagi-sphinx-test gmake[2]: Leaving directory `/usr/home/cstdenis/test/asterisk/agi' gmake[2]: Entering directory `/usr/home/cstdenis/test/asterisk/cdr' rm -f *.so *.o .depend gmake[2]: Leaving directory `/usr/home/cstdenis/test/asterisk/cdr' gmake[2]: Entering directory `/usr/home/cstdenis/test/asterisk/funcs' rm -f *.so *.o .depend pbx_functions.h gmake[2]: Leaving directory `/usr/home/cstdenis/test/asterisk/funcs' gmake[2]: Entering directory `/usr/home/cstdenis/test/asterisk/utils' rm -f *.o astman smsq stereorize check_expr .depend rm -f ast_expr2.o ast_expr2f.o gmake[2]: Leaving directory `/usr/home/cstdenis/test/asterisk/utils' gmake[2]: Entering directory `/usr/home/cstdenis/test/asterisk/stdtime' rm -f libtime.a *.o test .depend gmake[2]: Leaving directory `/usr/home/cstdenis/test/asterisk/stdtime' rm -f *.o *.so asterisk .depend rm -f defaults.h rm -f include/asterisk/build.h rm -f include/asterisk/version.h rm -f .tags-depend .tags-sources tags TAGS gmake -C db1-ast clean gmake[2]: Entering directory `/usr/home/cstdenis/test/asterisk/db1-ast' rm -f libdb1.a libdb.so.2 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 hash.os hash_bigkey.os hash_buf.os hash_func.os hash_log2.os hash_page.os ndbm.os bt_close.os bt_conv.os bt_debug.os bt_delete.os bt_get.os bt_open.os bt_overflow.os bt_page.os bt_put.os bt_search.os bt_seq.os bt_split.os bt_utils.os db.os mpool.os rec_close.os rec_delete.os rec_get.os rec_open.os rec_put.os rec_search.os rec_seq.os rec_utils.os gmake[2]: Leaving directory `/usr/home/cstdenis/test/asterisk/db1-ast' gmake -C stdtime clean gmake[2]: Entering directory `/usr/home/cstdenis/test/asterisk/stdtime' rm -f libtime.a *.o test .depend gmake[2]: Leaving directory `/usr/home/cstdenis/test/asterisk/stdtime' gmake[1]: Leaving directory `/usr/home/cstdenis/test/asterisk' 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 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 -I/usr/local/include -L/usr/local/lib -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i386 -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 autoservice.c callerid.c cdr.c channel.c chanvars.c cli.c config.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 gmake -C $x depend || exit 1 ; done gmake[1]: Entering directory `/usr/home/cstdenis/test/asterisk/res' ../build_tools/mkdep -I/usr/local/include -L/usr/local/lib -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i386 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -I/usr/local/include -L/usr/local/lib -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC `ls *.c` gmake[1]: Leaving directory `/usr/home/cstdenis/test/asterisk/res' gmake[1]: Entering directory `/usr/home/cstdenis/test/asterisk/channels' ../build_tools/mkdep -I/usr/local/include -L/usr/local/lib -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i386 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -I/usr/local/include -L/usr/local/lib -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC `ls *.c` gmake[1]: Leaving directory `/usr/home/cstdenis/test/asterisk/channels' gmake[1]: Entering directory `/usr/home/cstdenis/test/asterisk/pbx' ../build_tools/mkdep -I/usr/local/include -L/usr/local/lib -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i386 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -I/usr/local/include -L/usr/local/lib -fPIC `ls *.c` gmake[1]: Leaving directory `/usr/home/cstdenis/test/asterisk/pbx' curl-config: not found [[: not found gmake[1]: Entering directory `/usr/home/cstdenis/test/asterisk/apps' ../build_tools/mkdep -I/usr/local/include -L/usr/local/lib -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i386 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -I/usr/local/include -L/usr/local/lib -fPIC `ls *.c` gmake[1]: Leaving directory `/usr/home/cstdenis/test/asterisk/apps' gmake[1]: Entering directory `/usr/home/cstdenis/test/asterisk/codecs' ../build_tools/mkdep -I/usr/local/include -L/usr/local/lib -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i386 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -I/usr/local/include -I/usr/local/include/speex -fPIC -I/usr/local/include -L/usr/local/lib `ls *.c` gmake[1]: Leaving directory `/usr/home/cstdenis/test/asterisk/codecs' gmake[1]: Entering directory `/usr/home/cstdenis/test/asterisk/formats' ../build_tools/mkdep -I/usr/local/include -L/usr/local/lib -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i386 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -I/usr/local/include -L/usr/local/lib -fPIC `ls *.c` gmake[1]: Leaving directory `/usr/home/cstdenis/test/asterisk/formats' gmake[1]: Entering directory `/usr/home/cstdenis/test/asterisk/agi' ../build_tools/mkdep -I/usr/local/include -L/usr/local/lib -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i386 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -I/usr/local/include -L/usr/local/lib `ls *.c` gmake[1]: Leaving directory `/usr/home/cstdenis/test/asterisk/agi' gmake[1]: Entering directory `/usr/home/cstdenis/test/asterisk/cdr' ../build_tools/mkdep -I/usr/local/include -L/usr/local/lib -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i386 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -fPIC -I/usr/local/include -L/usr/local/lib `ls *.c` gmake[1]: Leaving directory `/usr/home/cstdenis/test/asterisk/cdr' gmake[1]: Entering directory `/usr/home/cstdenis/test/asterisk/funcs' ../build_tools/mkdep -I/usr/local/include -L/usr/local/lib -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i386 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -fPIC -I/usr/local/include -L/usr/local/lib `ls *.c` gmake[1]: Leaving directory `/usr/home/cstdenis/test/asterisk/funcs' gmake[1]: Entering directory `/usr/home/cstdenis/test/asterisk/utils' ../build_tools/mkdep -I/usr/local/include -L/usr/local/lib -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i386 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -DNO_AST_MM -I/usr/local/include -L/usr/local/lib `ls *.c` gmake[1]: Leaving directory `/usr/home/cstdenis/test/asterisk/utils' gmake[1]: Entering directory `/usr/home/cstdenis/test/asterisk/stdtime' ../build_tools/mkdep -I/usr/local/include -L/usr/local/lib -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i386 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer *.c gmake[1]: Leaving directory `/usr/home/cstdenis/test/asterisk/stdtime' cd editline && unset CFLAGS LIBS && test -f config.h || ./configure creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking host system type... i386-unknown-freebsd5.3 checking for a BSD compatible install... install checking for ranlib... ranlib checking for ar... /usr/bin/ar checking for tgetent in -ltermcap... yes checking for termcap.h... yes checking for sys/cdefs.h... yes checking for vis.h... yes checking for issetugid... yes checking for strlcat... yes checking for strlcpy... yes checking for fgetln... yes checking for strvis... yes checking for strunvis... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h gmake -C editline libedit.a gmake[1]: Entering directory `/usr/home/cstdenis/test/asterisk/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 sed: 1: "ccygwin ": command c expects \ followed by text /bin/sh makelist -fc common.h emacs.h vi.h > fcns.c if [ "" = "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 sed: 1: "ccygwin ": command c expects \ followed by text /bin/sh makelist -bc common.c emacs.c vi.c > help.c if [ "" = "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 gcc -c -Wall -pipe -g3 -O '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. editline.c -o editline.o_a gcc -c -Wall -pipe -g3 -O '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. history.c -o history.o_a gcc -c -Wall -pipe -g3 -O '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. tokenizer.c -o tokenizer.o_a gcc -c -Wall -pipe -g3 -O '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. readline.c -o readline.o_a /usr/bin/ar cru libedit.a editline.o_a history.o_a tokenizer.o_a readline.o_a ranlib libedit.a gmake[1]: Leaving directory `/usr/home/cstdenis/test/asterisk/editline' gmake[1]: Entering directory `/usr/home/cstdenis/test/asterisk/db1-ast' gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o hash.o hash/hash.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o hash_bigkey.o hash/hash_bigkey.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o hash_buf.o hash/hash_buf.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o hash_func.o hash/hash_func.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o hash_log2.o hash/hash_log2.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o hash_page.o hash/hash_page.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o ndbm.o hash/ndbm.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_close.o btree/bt_close.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_conv.o btree/bt_conv.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_debug.o btree/bt_debug.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_delete.o btree/bt_delete.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_get.o btree/bt_get.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_open.o btree/bt_open.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_overflow.o btree/bt_overflow.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_page.o btree/bt_page.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_put.o btree/bt_put.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_search.o btree/bt_search.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_seq.o btree/bt_seq.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_split.o btree/bt_split.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_utils.o btree/bt_utils.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -o db.o db/db.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -o mpool.o mpool/mpool.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Irecno -o rec_close.o recno/rec_close.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Irecno -o rec_delete.o recno/rec_delete.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Irecno -o rec_get.o recno/rec_get.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Irecno -o rec_open.o recno/rec_open.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Irecno -o rec_put.o recno/rec_put.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Irecno -o rec_search.o recno/rec_search.c gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Irecno -o rec_seq.o recno/rec_seq.c 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 gmake[1]: Leaving directory `/usr/home/cstdenis/test/asterisk/db1-ast' gmake[1]: Entering directory `/usr/home/cstdenis/test/asterisk/stdtime' gcc -I/usr/local/include -L/usr/local/lib -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i386 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o localtime.o localtime.c ar rv libtime.a localtime.o ar: creating libtime.a a - localtime.o ranlib libtime.a gmake[1]: Leaving directory `/usr/home/cstdenis/test/asterisk/stdtime' gcc -I/usr/local/include -L/usr/local/lib -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i386 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o io.o io.c gcc -I/usr/local/include -L/usr/local/lib -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i386 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o sched.o sched.c sched.c: In function `ast_sched_wait': sched.c:159: warning: implicit declaration of function `ast_tvdiff_ms' sched.c:159: warning: implicit declaration of function `ast_tvnow' sched.c: In function `sched_settime': sched.c:200: error: invalid initializer sched.c:203: warning: implicit declaration of function `ast_tvzero' sched.c:205: warning: implicit declaration of function `ast_tvadd' sched.c:205: warning: implicit declaration of function `ast_samp2tv' sched.c:205: error: incompatible types in assignment sched.c:206: warning: implicit declaration of function `ast_tvcmp' sched.c: At top level: sched.c:215: warning: no previous prototype for 'ast_sched_add_variable' sched.c: In function `ast_sched_add_variable': sched.c:233: warning: implicit declaration of function `ast_tv' sched.c:233: error: incompatible types in assignment sched.c: At top level: sched.c:295: error: conflicting types for 'ast_sched_dump' /usr/local/include/asterisk/sched.h:103: error: previous declaration of 'ast_sched_dump' was here sched.c:295: error: conflicting types for 'ast_sched_dump' /usr/local/include/asterisk/sched.h:103: error: previous declaration of 'ast_sched_dump' was here sched.c: In function `ast_sched_dump': sched.c:301: error: invalid initializer sched.c:312: warning: implicit declaration of function `ast_tvsub' sched.c:312: error: invalid initializer sched.c: In function `ast_sched_runq': sched.c:346: error: incompatible types in assignment sched.c: In function `ast_sched_when': sched.c:400: error: invalid initializer gmake: *** [sched.o] Error 1 _______________________________________________ Asterisk-BSD mailing list Asterisk-BSD@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-bsd