Summary: | ASTERISK-13753: [patch] NET-SNMP configure test fails; libraries passed in LDFLAGS instead of LIBS | ||
Reporter: | Tony Vroon (chainsaw) | Labels: | |
Date Opened: | 2009-03-16 08:51:18 | Date Closed: | 2009-06-08 11:14:44 |
Priority: | Blocker | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_snmp |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) asterisk-1.6.0.6-toolcheck-libs-not-ldflags.patch ( 1) config.log | |
Description: | A similar report to bug DAHTOOL-22, passing libraries in LDFLAGS causes failures on any system with LDFLAGS containing -Wl,--as-needed. The fix is straightforward and will be attached shortly. | ||
Comments: | By: Tony Vroon (chainsaw) 2009-03-26 06:59:23 To reproduce the failure: LDFLAGS="-Wl,--as-needed" ./configure --with-netsnmp By: Tony Vroon (chainsaw) 2009-03-26 07:08:16 Without patch applied, on my system: >>> Emerging (1 of 1) net-misc/asterisk-1.6.0.6 * asterisk-1.6.0.6.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] You should enable -g (or higher) for debugging! * Running some pre-flight checks... >>> Unpacking source... >>> Unpacking asterisk-1.6.0.6.tar.gz to /var/tmp/portage/net-misc/asterisk-1.6.0.6/work * Applying asterisk-1.6.0-var_rundir.patch ... [ ok ] * Applying asterisk-1.6.0-gsm-pic.patch ... [ ok ] * Applying asterisk-1.6.0-uclibc.patch ... [ ok ] * Applying asterisk-1.6.0.6-socket-details.patch ... [ ok ] * Applying asterisk-1.6.0.6-dahdiras.patch ... [ ok ] * Applying asterisk-1.6.0.6-spandsp-api-change.patch ... [ ok ] * Applying asterisk-1.6.0.6-sip-use-specified-port.patch ... [ ok ] * Applying asterisk-1.6.0.6-parallelmake.patch ... [ ok ] * Applying asterisk-1.6.0.6-autoconf-263.patch ... [ ok ] * Applying asterisk-1.6.0.6-imap-kerberos.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-misc/asterisk-1.6.0.6/work/asterisk-1.6.0.6' ... * Running aclocal -I autoconf ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ ok ] >>> Source unpacked in /var/tmp/portage/net-misc/asterisk-1.6.0.6/work >>> Compiling source in /var/tmp/portage/net-misc/asterisk-1.6.0.6/work/asterisk-1.6.0.6 ... * econf: updating asterisk-1.6.0.6/main/editline/config.sub with /usr/share/gnuconfig/config.sub * econf: updating asterisk-1.6.0.6/main/editline/config.guess with /usr/share/gnuconfig/config.guess * econf: updating asterisk-1.6.0.6/config.sub with /usr/share/gnuconfig/config.sub * econf: updating asterisk-1.6.0.6/menuselect/config.sub with /usr/share/gnuconfig/config.sub * econf: updating asterisk-1.6.0.6/menuselect/config.guess with /usr/share/gnuconfig/config.guess * econf: updating asterisk-1.6.0.6/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --localstatedir=/var --with-gsm=internal --with-popt --with-z --with-asound --with-cap --with-curl --without-pri --without-tonezone --without-dahdi --without-tds --without-h323 --without-pwlib --with-iconv --with-imap --with-iksemel --without-isdnnet --without-suppserv --without-misdn --without-newt --without-odbc --without-oss --without-postgres --without-radius --with-netsnmp --with-spandsp --with-speex --with-speexdsp --with-sqlite3 --with-crypto --with-ssl --with-ogg --with-vorbis checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for x86_64-pc-linux-gnu-uname... no checking for uname... /bin/uname checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for GNU make... make checking for x86_64-pc-linux-gnu-strip... /usr/bin/x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ar... /usr/bin/x86_64-pc-linux-gnu-ar checking for grep... (cached) /bin/grep checking for find... /usr/bin/find checking for compress... : checking for basename... /bin/basename checking for id... /usr/bin/id checking for dirname... /bin/dirname checking for sh... /bin/sh checking for ln... /bin/ln checking for dot... /usr/bin/dot checking for wget... /usr/bin/wget checking for rubber... : checking for kpsewhich... /usr/bin/kpsewhich checking for x86_64-pc-linux-gnu-soxmix... no checking for soxmix... no checking for md5... no checking for md5sum... md5sum checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no 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 arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS 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 whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking for working memcmp... 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 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 for utime.h... (cached) 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 dup2... yes checking for endpwent... yes 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 putenv... yes checking for re_comp... yes checking for regcomp... yes checking for select... yes checking for setenv... yes checking for socket... yes 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 strlcat... no checking for strlcpy... no 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 glob... yes checking for timersub in time.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking for funopen... no checking for fopencookie... yes checking for inet_aton... yes checking for IP_PKTINFO... yes checking for library containing gethostbyname_r... none required checking for gethostbyname_r with 6 arguments... yes checking for gethostbyname_r with 5 arguments... no checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking for __swap16 variant of <sys/endian.h> byteswapping macros... no checking for bswap16 variant of <sys/endian.h> byteswapping macros... no checking for /dev/urandom... yes checking for PTHREAD_RWLOCK_INITIALIZER in pthread.h... yes checking for PTHREAD_RWLOCK_PREFER_WRITER_NP in pthread.h... yes checking for PTHREAD_MUTEX_RECURSIVE_NP in pthread.h... yes checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP in pthread.h... yes checking for compiler atomic operations... yes 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 compiler 'attribute deprecated' support... yes checking for compiler 'attribute weak' support... yes checking for -ffunction-sections support... yes checking for --gc-sections support... yes checking for -Wdeclaration-after-statement support... yes checking for _FORTIFY_SOURCE support... yes checking for -fno-strict-overflow... yes checking for sysinfo... yes checking for library containing res_9_ninit... no checking for res_ninit... yes checking for library containing res_9_ndestroy... no checking for res_ndestroy... no checking for RTLD_NOLOAD in dlfcn.h... yes checking for IP_MTU_DISCOVER in netinet/in.h... yes checking libkern/OSAtomic.h usability... no checking libkern/OSAtomic.h presence... no checking for libkern/OSAtomic.h... no 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 cap_from_text in -lcap... yes checking sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes checking for DAHDI_CODE in dahdi/user.h... yes checking for exp2l in -lm... yes checking for log2l in -lm... yes checking for exp10l in -lm... yes checking for log10l in -lm... yes checking for sinl in -lm... yes checking for cosl in -lm... yes checking for tanl in -lm... yes checking for asinl in -lm... yes checking for acosl in -lm... yes checking for atanl in -lm... yes checking for atan2l in -lm... yes checking for powl in -lm... yes checking for sqrtl in -lm... yes checking for rintl in -lm... yes checking for expl in -lm... yes checking for logl in -lm... yes checking for remainderl in -lm... yes checking for fmodl in -lm... tyes achecking for roundl in -lm... yes checking for truncl in -lm... yes checking for strtold in -lc... yes checking for stdlib.h... (cached) yes checking for floorl in -lm... yes checking for ceill in -lm... yes checking for exp2 in -lm... yes checking for log2 in -lm... yes checking for exp10 in -lm... yes checking for log10 in -lm... yes checking for sin in -lm... yes checking for cos in -lm... yes checking for tan in -lm... yes checking for asin in -lm... yes checking for acos in -lm... yes checking for atan in -lm... yes checking for atan2 in -lm... yes checking for pow in -lm... yes checking for sqrt in -lm... yes checking for rint in -lm... yes checking for exp in -lm... yes checking for log in -lm... yes checking for remainder in -lm... yes checking for fmod in -lm... yes checking for round in -lm... yes checking for trunc in -lm... yes checking for strtod in -lc... yes checking for stdlib.h... (cached) yes checking for floor in -lm... yes checking for ceil in -lm... yes checking for getifaddrs() support... yes 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 UW IMAP Toolkit c-client library... yes checking for jack_activate in -ljack... no checking for lt_dlinit in -lltdl... yes checking ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes checking for ldap_initialize in -lldap... yes checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes checking for nbs_connect in -lnbs... no checking for initscr in -lncurses... yes checking for curses.h... (cached) yes checking for x86_64-pc-linux-gnu-net-snmp-config... no checking for net-snmp-config... net-snmp-config checking for ogg_sync_init in -logg... yes checking for backtrace in -lexecinfo... no checking for backtrace in -lc... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking for poptStrerror in -lpopt... yes checking popt.h usability... yes checking popt.h presence... yes checking for popt.h... yes checking for Pa_GetDeviceCount in -lportaudio... no checking for pri_set_inbanddisconnect in -lpri... yes checking libpri.h usability... yes checking libpri.h presence... yes checking for libpri.h... yes checking for resample_open in -lresample... no checking for minimum version of SpanDSP... yes checking for span_set_message_handler in -lspandsp... yes checking spandsp.h usability... yes checking spandsp.h presence... yes checking for spandsp.h... yes checking for spandsp/expose.h... yes checking for ss7_pollflags in -lss7... no checking for luaL_newstate in -llua5.1... 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 speex_preprocess_ctl in -lspeex... no checking for speex_preprocess_ctl in -lspeexdsp... yes checking for speex/speex.h... (cached) yes checking for sqlite_exec in -lsqlite... yes checking sqlite.h usability... yes checking sqlite.h presence... yes checking for sqlite.h... yes checking for sqlite3_open in -lsqlite3... yes checking sqlite3.h usability... yes checking sqlite3.h presence... yes checking for sqlite3.h... yes checking for AES_encrypt in -lcrypto... yes checking openssl/aes.h usability... yes checking openssl/aes.h presence... yes checking for openssl/aes.h... yes checking for ssl2_connect in -lssl... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking for OSPPCryptoDecrypt in -losptk... no checking for x86_64-pc-linux-gnu-gmime-config... no checking for gmime-config... gmime-config checking for g_mime_check_version... yes checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for tone_zone_find_by_num in -ltonezone... yes checking for usb_init in -lusb... yes checking usb.h usability... yes checking usb.h presence... yes checking for usb.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 h323.h usability... no checking h323.h presence... no checking for h323.h... no checking linux/compiler.h usability... no checking linux/compiler.h presence... no checking for linux/compiler.h... no checking for linux/ixjuser.h... yes checking for x86_64-pc-linux-gnu-sdl-config... no checking for sdl-config... sdl-config checking for IMG_Load in -lSDL_image... yes checking SDL_image.h usability... yes checking SDL_image.h presence... yes checking for SDL_image.h... yes checking for sws_getContext in -lavcodec... no checking linux/videodev.h usability... yes checking linux/videodev.h presence... yes checking for linux/videodev.h... yes checking for XOpenDisplay in -lX11... yes checking X11/Xlib.h usability... yes checking X11/Xlib.h presence... yes checking for X11/Xlib.h... yes checking for /sbin/launchd... no checking for x86_64-pc-linux-gnu-gtk-config... no checking for gtk-config... no checking for x86_64-pc-linux-gnu-pkg-config... no checking for pkg-config... pkg-config checking for x86_64-pc-linux-gnu-curl-config... no checking for curl-config... /usr/bin/curl-config checking for curl_version() in curl/curl.h... yes checking for mandatory modules: ALSA CAP CURL CRYPTO GSM ICONV IKSEMEL IMAP_TK NETSNMP OGG POPT SPANDSP SPEEX SPEEX_PREPROCESS SPEEXDSP SQLITE3 OPENSSL VORBIS ZLIB... fail configure: *** configure: *** The NETSNMP installation appears to be missing or broken. configure: *** Either correct the installation, or run configure configure: *** including --without-netsnmp. By: Tony Vroon (chainsaw) 2009-04-02 06:24:25 Still an issue in 1.6.0.7: >>> Emerging (1 of 1) net-misc/asterisk-1.6.0.7 * asterisk-1.6.0.7.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] You should enable -g (or higher) for debugging! * Running some pre-flight checks... >>> Unpacking source... >>> Unpacking asterisk-1.6.0.7.tar.gz to /var/tmp/portage/net-misc/asterisk-1.6.0.7/work * Applying asterisk-1.6.0-var_rundir.patch ... [ ok ] * Applying asterisk-1.6.0-gsm-pic.patch ... [ ok ] * Applying asterisk-1.6.0-uclibc.patch ... [ ok ] * Applying asterisk-1.6.0.6-parallelmake.patch ... [ ok ] * Applying asterisk-1.6.0.6-imap-kerberos.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-misc/asterisk-1.6.0.7/work/asterisk-1.6.0.7' ... * Running aclocal -I autoconf ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ ok ] >>> Source unpacked in /var/tmp/portage/net-misc/asterisk-1.6.0.7/work >>> Compiling source in /var/tmp/portage/net-misc/asterisk-1.6.0.7/work/asterisk-1.6.0.7 ... * econf: updating asterisk-1.6.0.7/main/editline/config.sub with /usr/share/gnuconfig/config.sub * econf: updating asterisk-1.6.0.7/main/editline/config.guess with /usr/share/gnuconfig/config.guess * econf: updating asterisk-1.6.0.7/config.sub with /usr/share/gnuconfig/config.sub * econf: updating asterisk-1.6.0.7/menuselect/config.sub with /usr/share/gnuconfig/config.sub * econf: updating asterisk-1.6.0.7/menuselect/config.guess with /usr/share/gnuconfig/config.guess * econf: updating asterisk-1.6.0.7/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --localstatedir=/var --with-gsm=internal --with-popt --with-z --with-asound --with-cap --with-curl --without-pri --without-tonezone --without-dahdi --without-tds --without-h323 --without-pwlib --with-iconv --with-imap --with-iksemel --without-isdnnet --without-suppserv --without-misdn --without-newt --without-odbc --without-oss --without-postgres --without-radius --with-netsnmp --with-spandsp --with-speex --with-speexdsp --with-sqlite3 --with-crypto --with-ssl --with-ogg --with-vorbis checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for x86_64-pc-linux-gnu-uname... no checking for uname... /bin/uname checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for GNU make... make checking for x86_64-pc-linux-gnu-strip... /usr/bin/x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ar... /usr/bin/x86_64-pc-linux-gnu-ar checking for grep... (cached) /bin/grep checking for find... /usr/bin/find checking for compress... : checking for basename... /bin/basename checking for id... /usr/bin/id checking for dirname... /bin/dirname checking for sh... /bin/sh checking for ln... /bin/ln checking for dot... /usr/bin/dot checking for wget... /usr/bin/wget checking for rubber... : checking for kpsewhich... /usr/bin/kpsewhich checking for x86_64-pc-linux-gnu-soxmix... no checking for soxmix... no checking for md5... no checking for md5sum... md5sum checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no 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 arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.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 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 whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking for working memcmp... 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 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 for utime.h... (cached) 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 dup2... yes checking for endpwent... yes 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 putenv... yes checking for re_comp... yes checking for regcomp... yes checking for select... yes checking for setenv... yes checking for socket... yes 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 strlcat... no checking for strlcpy... no 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 glob... yes checking for timersub in time.h... yes checking for sys/poll.h... (cached) yes checking for funopen... no checking for fopencookie... yes checking for inet_aton... yes checking for IP_PKTINFO... yes checking for library containing gethostbyname_r... none required checking for gethostbyname_r with 6 arguments... yes checking for gethostbyname_r with 5 arguments... no checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking for __swap16 variant of <sys/endian.h> byteswapping macros... no checking for bswap16 variant of <sys/endian.h> byteswapping macros... no checking for /dev/urandom... yes checking for PTHREAD_RWLOCK_INITIALIZER in pthread.h... yes checking for PTHREAD_RWLOCK_PREFER_WRITER_NP in pthread.h... yes checking for PTHREAD_MUTEX_RECURSIVE_NP in pthread.h... yes checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP in pthread.h... yes checking for compiler atomic operations... yes 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 compiler 'attribute deprecated' support... yes checking for compiler 'attribute weak' support... yes checking for -ffunction-sections support... yes checking for --gc-sections support... yes checking for -Wdeclaration-after-statement support... yes checking for _FORTIFY_SOURCE support... yes checking for -fno-strict-overflow... yes checking for sysinfo... yes checking for library containing res_9_ninit... no checking for res_ninit... yes checking for library containing res_9_ndestroy... no checking for res_ndestroy... no checking for RTLD_NOLOAD in dlfcn.h... yes checking for IP_MTU_DISCOVER in netinet/in.h... yes checking libkern/OSAtomic.h usability... no checking libkern/OSAtomic.h presence... no checking for libkern/OSAtomic.h... no 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 cap_from_text in -lcap... yes checking sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes checking for DAHDI_CODE in dahdi/user.h... yes checking for exp2l in -lm... yes checking for log2l in -lm... yes checking for exp10l in -lm... yes checking for log10l in -lm... yes checking for sinl in -lm... yes checking for cosl in -lm... yes checking for tanl in -lm... yes checking for asinl in -lm... yes checking for acosl in -lm... yes checking for atanl in -lm... yes checking for atan2l in -lm... yes checking for powl in -lm... yes checking for sqrtl in -lm... yes checking for rintl in -lm... yes checking for expl in -lm... yes checking for logl in -lm... yes checking for remainderl in -lm... yes checking for fmodl in -lm... yes checking for roundl in -lm... yes checking for truncl in -lm... yes checking for strtold in -lc... yes checking for stdlib.h... (cached) yes checking for floorl in -lm... yes checking for ceill in -lm... yes checking for exp2 in -lm... yes checking for log2 in -lm... yes checking for exp10 in -lm... yes checking for log10 in -lm... yes checking for sin in -lm... yes checking for cos in -lm... yes checking for tan in -lm... yes checking for asin in -lm... yes checking for acos in -lm... yes checking for atan in -lm... yes checking for atan2 in -lm... yes checking for pow in -lm... yes checking for sqrt in -lm... yes checking for rint in -lm... yes checking for exp in -lm... yes checking for log in -lm... yes checking for remainder in -lm... yes checking for fmod in -lm... yes checking for round in -lm... yes checking for trunc in -lm... yes checking for strtod in -lc... yes checking for stdlib.h... (cached) yes checking for floor in -lm... yes checking for ceil in -lm... yes checking for getifaddrs() support... yes 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 UW IMAP Toolkit c-client library... yes checking for jack_activate in -ljack... no checking for lt_dlinit in -lltdl... yes checking ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes checking for ldap_initialize in -lldap... yes checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes checking for nbs_connect in -lnbs... no checking for initscr in -lncurses... yes checking for curses.h... (cached) yes checking for x86_64-pc-linux-gnu-net-snmp-config... no checking for net-snmp-config... net-snmp-config checking for ogg_sync_init in -logg... yes checking for backtrace in -lexecinfo... no checking for backtrace in -lc... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking for poptStrerror in -lpopt... yes checking popt.h usability... yes checking popt.h presence... yes checking for popt.h... yes checking for Pa_GetDeviceCount in -lportaudio... no checking for pri_set_inbanddisconnect in -lpri... yes checking libpri.h usability... yes checking libpri.h presence... yes checking for libpri.h... yes checking for resample_open in -lresample... no checking for minimum version of SpanDSP... yes checking for span_set_message_handler in -lspandsp... yes checking spandsp.h usability... yes checking spandsp.h presence... yes checking for spandsp.h... yes checking for spandsp/expose.h... yes checking for ss7_pollflags in -lss7... no checking for luaL_newstate in -llua5.1... 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 speex_preprocess_ctl in -lspeex... no checking for speex_preprocess_ctl in -lspeexdsp... yes checking for speex/speex.h... (cached) yes checking for sqlite_exec in -lsqlite... yes checking sqlite.h usability... yes checking sqlite.h presence... yes checking for sqlite.h... yes checking for sqlite3_open in -lsqlite3... yes checking sqlite3.h usability... yes checking sqlite3.h presence... yes checking for sqlite3.h... yes checking for AES_encrypt in -lcrypto... yes checking openssl/aes.h usability... yes checking openssl/aes.h presence... yes checking for openssl/aes.h... yes checking for ssl2_connect in -lssl... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking for OSPPCryptoDecrypt in -losptk... no checking for x86_64-pc-linux-gnu-gmime-config... no checking for gmime-config... gmime-config checking for g_mime_check_version... yes checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for tone_zone_find_by_num in -ltonezone... yes checking for usb_init in -lusb... yes checking usb.h usability... yes checking usb.h presence... yes checking for usb.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 h323.h usability... no checking h323.h presence... no checking for h323.h... no checking linux/compiler.h usability... no checking linux/compiler.h presence... no checking for linux/compiler.h... no checking for linux/ixjuser.h... yes checking for x86_64-pc-linux-gnu-sdl-config... no checking for sdl-config... sdl-config checking for IMG_Load in -lSDL_image... yes checking SDL_image.h usability... yes checking SDL_image.h presence... yes checking for SDL_image.h... yes checking for sws_getContext in -lavcodec... no checking linux/videodev.h usability... yes checking linux/videodev.h presence... yes checking for linux/videodev.h... yes checking for XOpenDisplay in -lX11... yes checking X11/Xlib.h usability... yes checking X11/Xlib.h presence... yes checking for X11/Xlib.h... yes checking for /sbin/launchd... no checking for x86_64-pc-linux-gnu-gtk-config... no checking for gtk-config... no checking for x86_64-pc-linux-gnu-pkg-config... no checking for pkg-config... pkg-config checking for x86_64-pc-linux-gnu-curl-config... no checking for curl-config... /usr/bin/curl-config checking for curl_version() in curl/curl.h... yes checking for mandatory modules: ALSA CAP CURL CRYPTO GSM ICONV IKSEMEL IMAP_TK NETSNMP OGG POPT SPANDSP SPEEX SPEEX_PREPROCESS SPEEXDSP SQLITE3 OPENSSL VORBIS ZLIB... fail configure: *** configure: *** The NETSNMP installation appears to be missing or broken. configure: *** Either correct the installation, or run configure configure: *** including --without-netsnmp. By: Leif Madsen (lmadsen) 2009-05-04 09:24:24 Assigned to Tilghman. This is currently blocking for 1.6.0.10. Thanks! By: Tilghman Lesher (tilghman) 2009-05-04 12:32:36 This is a bug in the Gentoo build. If you're reporting a problem against Asterisk, please build with the native compile options, not with a packaging system. Report this to the Gentoo package manager, not us. By: Digium Subversion (svnbot) 2009-05-04 13:42:57 Repository: asterisk Revision: 192132 U trunk/autoconf/ast_ext_tool_check.m4 ------------------------------------------------------------------------ r192132 | tilghman | 2009-05-04 13:42:57 -0500 (Mon, 04 May 2009) | 6 lines Pass libraries in LIBS, not LDFLAGS. (closes issue ASTERISK-13753) Reported by: Chainsaw Patches: asterisk-1.6.0.6-toolcheck-libs-not-ldflags.patch uploaded by Chainsaw (license 723) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=192132 By: Digium Subversion (svnbot) 2009-05-04 13:44:09 Repository: asterisk Revision: 192133 _U branches/1.6.0/ U branches/1.6.0/autoconf/ast_ext_tool_check.m4 ------------------------------------------------------------------------ r192133 | tilghman | 2009-05-04 13:44:09 -0500 (Mon, 04 May 2009) | 13 lines Merged revisions 192132 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r192132 | tilghman | 2009-05-04 13:42:56 -0500 (Mon, 04 May 2009) | 6 lines Pass libraries in LIBS, not LDFLAGS. (closes issue ASTERISK-13753) Reported by: Chainsaw Patches: asterisk-1.6.0.6-toolcheck-libs-not-ldflags.patch uploaded by Chainsaw (license 723) ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=192133 By: Digium Subversion (svnbot) 2009-05-04 13:44:59 Repository: asterisk Revision: 192134 _U branches/1.6.1/ U branches/1.6.1/autoconf/ast_ext_tool_check.m4 ------------------------------------------------------------------------ r192134 | tilghman | 2009-05-04 13:44:59 -0500 (Mon, 04 May 2009) | 13 lines Merged revisions 192132 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r192132 | tilghman | 2009-05-04 13:42:56 -0500 (Mon, 04 May 2009) | 6 lines Pass libraries in LIBS, not LDFLAGS. (closes issue ASTERISK-13753) Reported by: Chainsaw Patches: asterisk-1.6.0.6-toolcheck-libs-not-ldflags.patch uploaded by Chainsaw (license 723) ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=192134 By: Digium Subversion (svnbot) 2009-05-04 13:45:54 Repository: asterisk Revision: 192135 _U branches/1.6.2/ U branches/1.6.2/autoconf/ast_ext_tool_check.m4 ------------------------------------------------------------------------ r192135 | tilghman | 2009-05-04 13:45:54 -0500 (Mon, 04 May 2009) | 13 lines Merged revisions 192132 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r192132 | tilghman | 2009-05-04 13:42:56 -0500 (Mon, 04 May 2009) | 6 lines Pass libraries in LIBS, not LDFLAGS. (closes issue ASTERISK-13753) Reported by: Chainsaw Patches: asterisk-1.6.0.6-toolcheck-libs-not-ldflags.patch uploaded by Chainsaw (license 723) ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=192135 By: Tilghman Lesher (tilghman) 2009-05-04 13:47:18 Clarified by reporter on #asterisk and committed. Thank you for the followup. |