[james@ceres asterisk]$ cvc cook asterisk.recipe + Building asterisk=asterisk.rpath.org@pk:1-4[~asterisk.libpri,~asterisk.odbc,~asterisk.postgres,~asterisk.zaptel,~builddocs] + gzip -d -c < '/home/james/cache/asterisk/ftp.digium.com/pub/asterisk/asterisk-1.4.0-beta2.tar.gz' | tar -C /home/james/build/asterisk/ -xSf - + Replacing '-o root -g root' -> '' in /home/james/build/asterisk/asterisk-1.4.0-beta2/Makefile + cd /home/james/build/asterisk/asterisk-1.4.0-beta2/; CLASSPATH="" CFLAGS="-O2 -g -I/usr/kerberos/include" CXXFLAGS="-O2 -g -I/usr/kerberos/include " CPPFLAGS="" LDFLAGS="-g" CC=gcc CXX=g++ ./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for uname... /bin/uname checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... g++ -E checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for ranlib... ranlib checking for GNU make... make checking for grep... /bin/grep checking for ar... /usr/bin/ar checking for find... /usr/bin/find checking for compress... : checking for basename... /bin/basename checking for id... /usr/bin/id checking for dirname... /usr/bin/dirname checking for sh... /bin/sh checking for ln... /bin/ln checking for dot... /usr/bin/dot checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for working alloca.h... yes checking for alloca... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for inline... inline checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for struct stat.st_blksize... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working volatile... yes checking for ptrdiff_t... yes checking for unistd.h... (cached) yes checking for working chown... yes checking whether closedir returns void... no checking for error_at_line... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for _LARGEFILE_SOURCE value needed for large files... no checking for fseeko... yes checking whether gcc needs -traditional... no checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for function prototypes... yes checking whether setvbuf arguments are reversed... no checking return type of signal handlers... void checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking for working strcoll... yes checking for strftime... yes checking for working strnlen... yes checking for working strtod... yes checking whether utime accepts a null argument... yes checking for vprintf... yes checking for _doprnt... no checking for asprintf... yes checking for atexit... yes checking for bzero... yes checking for dup2... yes checking for endpwent... yes checking for floor... no checking for ftruncate... yes checking for getcwd... yes checking for gethostbyname... yes checking for gethostname... yes checking for getloadavg... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for isascii... yes checking for localtime_r... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for munmap... yes checking for pow... no checking for putenv... yes checking for re_comp... yes checking for regcomp... yes checking for rint... no checking for select... yes checking for setenv... yes checking for socket... yes checking for sqrt... no checking for strcasecmp... yes checking for strcasestr... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strndup... yes checking for strnlen... yes checking for strrchr... yes checking for strsep... yes checking for strspn... yes checking for strstr... yes checking for strtol... yes checking for strtoq... yes checking for unsetenv... yes checking for utime... yes checking for vasprintf... yes checking for compiler atomic operations... no checking for compiler 'attribute pure' support... yes checking for compiler 'attribute malloc' support... yes checking for compiler 'attribute const' support... yes checking for compiler 'attribute unused' support... yes checking for compiler 'attribute always_inline' support... yes checking for -ffunction-sections support... yes checking for --gc-sections support... yes checking for res_ninit... yes checking for RTLD_NOLOAD... yes checking libkern/OSAtomic.h usability... no checking libkern/OSAtomic.h presence... no checking for libkern/OSAtomic.h... no checking for int... yes checking size of int... 4 checking for snd_spcm_init in -lasound... yes checking alsa/asoundlib.h usability... yes checking alsa/asoundlib.h presence... yes checking for alsa/asoundlib.h... yes checking for initscr in -lcurses... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for gsm_create in -lgsm... no checking for iks_start_sasl in -liksemel... yes checking iksemel.h usability... yes checking iksemel.h presence... yes checking for iksemel.h... yes checking for gnutls_bye in -lgnutls... no checking for UW IMAP Toolkit c-client library... no checking for crashHandler in -lkdecore... no checking for mISDN_open in -lmISDN... no checking for nbs_connect in -lnbs... no checking for initscr in -lncurses... yes checking for curses.h... (cached) yes checking for net-snmp-config... /usr/bin/net-snmp-config checking for snmp_register_callback in -lnetsnmp... yes checking for newtBell in -lnewt... yes checking newt.h usability... yes checking newt.h presence... yes checking for newt.h... yes checking for SQLConnect in -lodbc... yes checking sql.h usability... yes checking sql.h presence... yes checking for sql.h... yes checking for ogg_sync_init in -logg... yes checking for OSPPCryptoDecrypt in -losptk... yes checking osp/osp.h usability... yes checking osp/osp.h presence... yes checking for osp/osp.h... yes checking linux/soundcard.h usability... yes checking linux/soundcard.h presence... yes checking for linux/soundcard.h... yes checking for pg_config... /usr/bin/pg_config checking for PQexec in -lpq... yes checking for poptStrerror in -lpopt... yes checking popt.h usability... yes checking popt.h presence... yes checking for popt.h... yes checking for pri_call in -lpri... yes checking libpri.h usability... yes checking libpri.h presence... yes checking for libpri.h... yes checking for /home/james/pwlib/include/ptlib.h... no checking for /usr/local/include/ptlib.h... no checking for /usr/include/ptlib.h... yes checking for ptlib-config... /usr/share/pwlib/make/ptlib-config checking if PWLib version 1.8.7 is compatible with chan_h323... no checking for QDate in -lqt... no checking for rc_read_config in -lradiusclient-ng... no checking for speex_encode in -lspeex... yes checking speex/speex.h usability... yes checking speex/speex.h presence... yes checking for speex/speex.h... yes checking for sqlite_exec in -lsqlite... no checking for ssl2_connect in -lssl... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... no configure: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: openssl/ssl.h: proceeding with the compiler's result checking for openssl/ssl.h... yes checking for tds_version in -ltds... no checking for tgetent in -ltermcap... yes checking for tgetent in -ltinfo... no checking for tone_zone_find in -ltonezone... yes checking zaptel/tonezone.h usability... yes checking zaptel/tonezone.h presence... yes checking for zaptel/tonezone.h... yes checking for vorbis_info_init in -lvorbis... yes checking vorbis/codec.h usability... yes checking vorbis/codec.h presence... yes checking for vorbis/codec.h... yes checking for vpb_open in -lvpb... no checking for compress in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for ZT_TONE_DTMF_BASE in zaptel.h... yes checking h323.h usability... no checking h323.h presence... no checking for h323.h... no checking for linux/ixjuser.h... yes checking for gtk-config... no checking for curl-config... /usr/bin/curl-config configure: creating ./config.status config.status: creating build_tools/menuselect-deps config.status: creating makeopts config.status: creating channels/h323/Makefile config.status: creating include/asterisk/autoconfig.h .$$$$$$$$$$$$$$$=.. .$7$7.. .7$$7:. .$$:. ,$7.7 .$7. 7$$$$ .$$77 ..$$. $$$$$ .$$$7 ..7$ .?. $$$$$ .?. 7$$$. $.$. .$$$7. $$$$7 .7$$$. .$$$. .777. .$$$$$$77$$$77$$$$$7. $$$, $$$~ .7$$$$$$$$$$$$$7. .$$$. .$$7 .7$$$$$$$7: ?$$$. $$$ ?7$$$$$$$$$$I .$$$7 $$$ .7$$$$$$$$$$$$$$$$ :$$$. $$$ $$$$$$7$$$$$$$$$$$$ .$$$. $$$ $$$ 7$$$7 .$$$ .$$$. $$$$ $$$$7 .$$$. 7$$$7 7$$$$ 7$$$ $$$$$ $$$ $$$$7. $$ (TM) $$$$$$$. .7$$$$$$ $$ $$$$$$$$$$$$7$$$$$$$$$.$$$$$$ $$$$$$$$$$$$$$$$. configure: Package configured for: configure: OS type : linux-gnu configure: Host CPU : x86_64 + cd /home/james/build/asterisk/asterisk-1.4.0-beta2/; CFLAGS="-O2 -g -I/usr/kerberos/include" CXXFLAGS="-O2 -g -I/usr/kerberos/include " CPPFLAGS="" CLASSPATH="" LDFLAGS="-g" CC=gcc CXX=g++ make make[1]: Entering directory `/home/james/build/asterisk/asterisk-1.4.0-beta2/menuselect' checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for ar... /usr/bin/ar checking for cp... /bin/cp checking for ln... /bin/ln checking for mkdir... /bin/mkdir checking for nroff... /usr/bin/nroff checking for rm... /bin/rm checking for strdup... yes checking for vsnprintf... yes configure: creating ./config.status config.status: creating Makefile config.status: creating mxml.list config.status: creating mxml.pc config.status: creating config.h make[2]: Entering directory `/home/james/build/asterisk/asterisk-1.4.0-beta2/menuselect' make[3]: Entering directory `/home/james/build/asterisk/asterisk-1.4.0-beta2/menuselect/mxml' gcc -O -Wall -O2 -g -I/usr/kerberos/include -c mxml-attr.c gcc -O -Wall -O2 -g -I/usr/kerberos/include -c mxml-entity.c gcc -O -Wall -O2 -g -I/usr/kerberos/include -c mxml-file.c gcc -O -Wall -O2 -g -I/usr/kerberos/include -c mxml-index.c gcc -O -Wall -O2 -g -I/usr/kerberos/include -c mxml-node.c gcc -O -Wall -O2 -g -I/usr/kerberos/include -c mxml-search.c gcc -O -Wall -O2 -g -I/usr/kerberos/include -c mxml-set.c gcc -O -Wall -O2 -g -I/usr/kerberos/include -c mxml-private.c gcc -O -Wall -O2 -g -I/usr/kerberos/include -c mxml-string.c /bin/rm -f libmxml.a /usr/bin/ar crvs libmxml.a mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.o a - mxml-attr.o a - mxml-entity.o a - mxml-file.o a - mxml-index.o a - mxml-node.o a - mxml-search.o a - mxml-set.o a - mxml-private.o a - mxml-string.o ranlib libmxml.a make[3]: Leaving directory `/home/james/build/asterisk/asterisk-1.4.0-beta2/menuselect/mxml' gcc -Wall -O2 -g -I/usr/kerberos/include -o menuselect.o -g -c -D_GNU_SOURCE menuselect.c menuselect.c: In function `main': menuselect.c:423: warning: 'mem' might be used uninitialized in this function gcc -Wall -O2 -g -I/usr/kerberos/include -o menuselect_curses.o -g -c -D_GNU_SOURCE menuselect_curses.c gcc -Wall -O2 -g -I/usr/kerberos/include -o strcompat.o -g -c -D_GNU_SOURCE strcompat.c gcc -g -Wall -o menuselect menuselect.o menuselect_curses.o strcompat.o mxml/libmxml.a -lncurses make[2]: Leaving directory `/home/james/build/asterisk/asterisk-1.4.0-beta2/menuselect' make[1]: Leaving directory `/home/james/build/asterisk/asterisk-1.4.0-beta2/menuselect' Generating input for menuselect ... menuselect/menuselect --check-deps menuselect.makeopts ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=k8 -O6 `ls *.c` ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=k8 -O6 `ls *.c` ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=k8 -O6 `ls *.c *.cc 2> /dev/null` ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=k8 -O6 `ls *.c *.cc 2> /dev/null` ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=k8 -O6 `ls *.c *.cc 2> /dev/null` ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=k8 -O6 `ls *.c *.cc 2> /dev/null` ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=k8 -O6 `ls *.c *.cc 2> /dev/null` ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=k8 -O6 `ls *.c *.cc 2> /dev/null` ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=k8 -O6 `ls *.c *.cc 2> /dev/null` ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=k8 -O6 `ls *.c *.cc 2> /dev/null` ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=k8 -O6 `ls *.c *.cc 2> /dev/null` Generating embedded module rules ... [CC] astman.c -> astman.o [CC] ../main/md5.c -> ../main/md5.o [LD] astman.o ../main/md5.o -> astman [CC] smsq.c -> smsq.o [CC] ../main/strcompat.c -> strcompat.o [LD] smsq.o strcompat.o -> smsq [CC] stereorize.c -> stereorize.o [CC] frame.c -> frame.o [LD] stereorize.o frame.o -> stereorize [CC] streamplayer.c -> streamplayer.o [LD] streamplayer.o -> streamplayer [CC] ../pbx/ael/ael_lex.c -> aelflex.o [CC] ../pbx/ael/ael.tab.c -> aelbison.o [CC] ../pbx/pbx_ael.c -> pbx_ael.o [CC] ael_main.c -> ael_main.o [CC] ../main/ast_expr2f.c -> ast_expr2f.o [CC] ../main/ast_expr2.c -> ast_expr2.o [LD] aelflex.o aelbison.o pbx_ael.o ael_main.o ast_expr2f.o ast_expr2.o strcompat.o -> aelparse [CC] muted.c -> muted.o [LD] muted.o -> muted [CC] eagi-test.c -> eagi-test.o [CC] ../main/strcompat.c -> strcompat.o [LD] eagi-test.o strcompat.o -> eagi-test [CC] eagi-sphinx-test.c -> eagi-sphinx-test.o [LD] eagi-sphinx-test.o -> eagi-sphinx-test [CC] res_adsi.c -> res_adsi.o [LD] res_adsi.o -> res_adsi.so [CC] res_agi.c -> res_agi.o [LD] res_agi.o -> res_agi.so [CC] res_clioriginate.c -> res_clioriginate.o [LD] res_clioriginate.o -> res_clioriginate.so [CC] res_config_odbc.c -> res_config_odbc.o [LD] res_config_odbc.o -> res_config_odbc.so [CC] res_config_pgsql.c -> res_config_pgsql.o [LD] res_config_pgsql.o -> res_config_pgsql.so [CC] res_convert.c -> res_convert.o [LD] res_convert.o -> res_convert.so [CC] res_crypto.c -> res_crypto.o In file included from /usr/include/openssl/ssl.h:179, from res_crypto.c:35: /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory In file included from /usr/include/openssl/ssl.h:179, from res_crypto.c:35: /usr/include/openssl/kssl.h:134: error: parse error before "krb5_enctype" /usr/include/openssl/kssl.h:136: error: parse error before '*' token /usr/include/openssl/kssl.h:137: error: parse error before '}' token /usr/include/openssl/kssl.h:149: error: parse error before "kssl_ctx_setstring" /usr/include/openssl/kssl.h:149: error: parse error before '*' token /usr/include/openssl/kssl.h:150: error: parse error before '*' token /usr/include/openssl/kssl.h:151: error: parse error before '*' token /usr/include/openssl/kssl.h:151: error: parse error before '*' token /usr/include/openssl/kssl.h:152: error: parse error before '*' token /usr/include/openssl/kssl.h:153: error: parse error before "kssl_ctx_setprinc" /usr/include/openssl/kssl.h:153: error: parse error before '*' token /usr/include/openssl/kssl.h:155: error: parse error before "kssl_cget_tkt" /usr/include/openssl/kssl.h:155: error: parse error before '*' token /usr/include/openssl/kssl.h:157: error: parse error before "kssl_sget_tkt" /usr/include/openssl/kssl.h:157: error: parse error before '*' token /usr/include/openssl/kssl.h:159: error: parse error before "kssl_ctx_setkey" /usr/include/openssl/kssl.h:159: error: parse error before '*' token /usr/include/openssl/kssl.h:161: error: parse error before "context" /usr/include/openssl/kssl.h:162: error: parse error before "kssl_build_principal_2" /usr/include/openssl/kssl.h:162: error: parse error before "context" /usr/include/openssl/kssl.h:165: error: parse error before "kssl_validate_times" /usr/include/openssl/kssl.h:165: error: parse error before "atime" /usr/include/openssl/kssl.h:167: error: parse error before "kssl_check_authent" /usr/include/openssl/kssl.h:167: error: parse error before '*' token /usr/include/openssl/kssl.h:169: error: parse error before "enctype" In file included from res_crypto.c:35: /usr/include/openssl/ssl.h:910: error: parse error before "KSSL_CTX" /usr/include/openssl/ssl.h:932: error: parse error before '}' token make[1]: *** [res_crypto.o] Error 1 make: *** [res] Error 2 error: Shell command "cd /home/james/build/asterisk/asterisk-1.4.0-beta2/; CFLAGS="-O2 -g -I/usr/kerberos/include" CXXFLAGS="-O2 -g -I/usr/kerberos/include " CPPFLAGS="" CLASSPATH="" LDFLAGS="-g" CC=gcc CXX=g++ make " exited with exit code 2 /asterisk/components/pk-1-4/asterisk/asterisk.recipe:44: RuntimeError: Shell command "cd /home/james/build/asterisk/asterisk-1.4.0-beta2/; CFLAGS="-O2 -g -I/usr/kerberos/include" CXXFLAGS="-O2 -g -I/usr/kerberos/include " CPPFLAGS="" CLASSPATH="" LDFLAGS="-g" CC=gcc CXX=g++ make " exited with exit code 2 [james@ceres asterisk]$