Ethereal-users: RE: [Ethereal-users] problem finding snmp libraries
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
From: John Deatherage <Jdeatherage@xxxxxxxx>
Date: Tue, 24 Apr 2001 14:46:04 -0700
Guy, Thanks for the compile help, I'm a network engineer, not a coder ;) John config.log output: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:613: checking for a BSD compatible install configure:666: checking whether build environment is sane configure:723: checking whether make sets ${MAKE} configure:769: checking for working aclocal configure:782: checking for working autoconf configure:795: checking for working automake configure:808: checking for working autoheader configure:821: checking for working makeinfo configure:852: checking host system type configure:876: checking for gcc configure:989: checking whether the C compiler (gcc ) works configure:1005: gcc -o conftest conftest.c 1>&5 configure:1031: checking whether the C compiler (gcc ) is a cross-compiler configure:1036: checking whether we are using GNU C configure:1045: gcc -E conftest.c configure:1064: checking whether gcc accepts -g configure:1096: checking how to run the C preprocessor configure:1117: gcc -E conftest.c >/dev/null 2>conftest.out configure:1178: checking for ranlib configure:1210: checking for bison configure:1246: checking for flex configure:1279: checking for flex configure:1313: checking for yywrap in -lfl configure:1332: gcc -o conftest -g -O2 conftest.c -lfl 1>&5 configure:1355: checking lex output file root configure:1376: checking whether yytext is a pointer configure:1395: gcc -o conftest -g -O2 conftest.c -lfl 1>&5 configure:1419: checking for perl configure:1454: checking for flex configure:1489: checking for python configure:1533: checking for pkgproto configure:1563: checking for pkgmk configure:1593: checking for pkgtrans configure:1623: checking for rpm configure:1667: checking for rpm build directories configure:1695: checking to see if we can add '-Wall' to CFLAGS configure:1707: checking for platform-specific compiler flags configure:1848: checking for gtk-config configure:1883: checking for GTK - version >= 1.2.0 configure:1984: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -L/usr/local/lib conftest.c -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm 1>&5 configure:2137: checking for glib-config configure:2172: checking for GLIB - version >= 1.2.0 configure:2271: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -L/usr/local/lib conftest.c -L/usr/lib -rdynamic -lgmodule -lglib -ldl 1>&5 configure:2725: checking for gethostbyname configure:2753: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -L/usr/local/lib conftest.c 1>&5 configure:2826: checking for connect configure:2854: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -L/usr/local/lib conftest.c 1>&5 configure:2929: checking whether to use libpcap for packet capture configure:2937: checking for extraneous pcap header directories configure:2957: checking for net/bpf.h configure:2967: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:2991: checking for pcap.h configure:3001: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3028: checking for pcap_open_live in -lpcap configure:3047: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -L/usr/local/lib conftest.c -lpcap 1>&5 configure:3088: checking whether to use zlib for reading compressed capture files configure:3096: checking for zlib.h configure:3106: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3130: checking for gzgets in -lz configure:3149: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -L/usr/local/lib conftest.c -lz 1>&5 configure:3194: checking whether to enable ipv6 name resolution if available configure:3204: checking ipv6 stack type configure:3211:45: /usr/local/v6/include/sys/types.h: No such file or directory configure:3345: checking whether to install ethereal setuid configure:3353: checking for ANSI C header files configure:3366: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3433: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -L/usr/local/lib conftest.c -lz 1>&5 configure: In function `main': configure:3428: warning: implicit declaration of function `exit' configure:3460: checking for fcntl.h configure:3470: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3460: checking for sys/ioctl.h configure:3470: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3460: checking for sys/time.h configure:3470: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3460: checking for unistd.h configure:3470: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3460: checking for stdarg.h configure:3470: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3460: checking for netdb.h configure:3470: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3500: checking for sys/stat.h configure:3510: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3500: checking for sys/sockio.h configure:3510: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3506:24: sys/sockio.h: No such file or directory configure: failed program was: #line 3505 "configure" #include "confdefs.h" #include <sys/sockio.h> configure:3500: checking for sys/types.h configure:3510: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3500: checking for sys/socket.h configure:3510: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3540: checking for sys/wait.h configure:3550: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3580: checking for netinet/in.h configure:3590: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3620: checking for stddef.h configure:3630: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3660: checking for dlfcn.h configure:3670: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3700: checking for arpa/inet.h configure:3710: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3751: checking whether to use SSL library if available configure:3813: checking SSL_LIBS= configure:3828: checking whether to use SNMP library if available configure:3892: checking for ucd-snmp/snmp.h configure:3902: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3892: checking for ucd-snmp/version.h configure:3902: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3892: checking for snmp/snmp.h configure:3902: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3898:23: snmp/snmp.h: No such file or directory configure: failed program was: #line 3897 "configure" #include "confdefs.h" #include <snmp/snmp.h> configure:3892: checking for snmp/version.h configure:3902: gcc -E -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:3898:26: snmp/version.h: No such file or directory configure: failed program was: #line 3897 "configure" #include "confdefs.h" #include <snmp/version.h> configure:3933: checking for sprint_objid in -lsnmp configure:3953: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -L/usr/local/lib conftest.c -lsnmp -lz 1>&5 /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to `EVP_DigestInit' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to `EVP_DigestFinal' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to `EVP_md5' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to `HMAC' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to `EVP_sha1' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to `des_cbc_encrypt' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to `des_key_sched' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to `EVP_DigestUpdate' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to `RAND_bytes' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to `des_ncbc_encrypt' collect2: ld returned 1 exit status configure: failed program was: #line 3942 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sprint_objid(); int main() { sprint_objid() ; return 0; } configure:3977: checking for sprint_objid in -lsnmp configure:3997: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -L/usr/local/lib conftest.c -lsnmp -lkstat -lz 1>&5 /usr/bin/ld: cannot find -lkstat collect2: ld returned 1 exit status configure: failed program was: #line 3986 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sprint_objid(); int main() { sprint_objid() ; return 0; } configure:4045: checking for sa_len in struct sockaddr configure:4058: gcc -c -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c 1>&5 configure: In function `main': configure:4054: structure has no member named `sa_len' configure: failed program was: #line 4050 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/socket.h> int main() { struct sockaddr s; s.sa_len; ; return 0; } configure:4081: checking whether byte ordering is bigendian configure:4099: gcc -c -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c 1>&5 configure:4114: gcc -c -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c 1>&5 configure: In function `main': configure:4109: `not' undeclared (first use in this function) configure:4109: (Each undeclared identifier is reported only once configure:4109: for each function it appears in.) configure:4109: parse error before `big' configure: failed program was: #line 4103 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/param.h> int main() { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif ; return 0; } configure:4175: checking whether gcc needs -traditional configure:4226: checking for snprintf configure:4254: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -L/usr/local/lib conftest.c -lz 1>&5 configure:4285: checking for strerror configure:4313: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -L/usr/local/lib conftest.c -lz 1>&5 configure:4344: checking for strcasecmp configure:4372: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -L/usr/local/lib conftest.c -lz 1>&5 configure:4400: checking for strncasecmp configure:4428: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -L/usr/local/lib conftest.c -lz 1>&5 configure:4456: checking for mkstemp configure:4484: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -L/usr/local/lib conftest.c -lz 1>&5 configure:4518: checking for getprotobynumber configure:4546: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -L/usr/local/lib conftest.c -lz 1>&5 configure:4518: checking for gethostbyname2 configure:4546: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -L/usr/local/lib conftest.c -lz 1>&5 configure:4674: checking build system type configure:4703: checking for ld used by GCC configure:4765: checking if the linker (/usr/bin/ld) is GNU ld GNU ld version 2.10.91 (with BFD 2.10.91.0.2) configure:4781: checking for BSD-compatible nm configure:4817: checking whether ln -s works ltconfig:603: checking for object suffix ltconfig:604: gcc -c -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c 1>&5 ltconfig:629: checking for executable suffix ltconfig:630: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -L/usr/local/lib conftest.c -lz 1>&5 conftest.c:1: warning: return type defaults to `int' ltconfig:776: checking if gcc PIC flag -fPIC works ltconfig:777: gcc -c -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -fPIC -DPIC -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c 1>&5 ltconfig:829: checking if gcc supports -c -o file.o ltconfig:830: gcc -c -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o out/conftest2.o -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c 1>&5 ltconfig:862: checking if gcc supports -c -o file.lo ltconfig:863: gcc -c -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -c -o conftest.lo -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c 1>&5 ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions ltconfig:915: gcc -c -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -fno-rtti -fno-exceptions -c conftest.c -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c 1>&5 ltconfig:958: checking if gcc static flag -static works ltconfig:959: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -L/usr/local/lib -static conftest.c -lz 1>&5 conftest.c:1: warning: return type defaults to `int' GNU ld version 2.10.91 (with BFD 2.10.91.0.2) ltconfig:1653: checking if global_symbol_pipe works ltconfig:1654: gcc -c -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include conftest.c 1>&5 conftest.c:9: warning: return type defaults to `int' ltconfig:1657: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm" ltconfig:1709: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -fno-builtin -fno-rtti -fno-exceptions -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -L/usr/local/lib conftest.c conftstm.o 1>&5 conftest.c:6: warning: `main' is usually a function ltconfig:2248: checking for dlopen in -ldl ltconfig:2269: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -fno-builtin -fno-rtti -fno-exceptions -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -L/usr/local/lib conftest.c -ldl -lz 1>&5 ltconfig:2488: checking for dlfcn.h ltconfig:2526: checking whether a program can dlopen itself ltconfig:2580: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -fno-builtin -fno-rtti -fno-exceptions -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -DHAVE_DLFCN_H -L/usr/local/lib -Wl,--export-dynamic conftest.c -ldl -lz 1>&5 ltconfig:2573: warning: return type defaults to `int' ltconfig: In function `fnord': ltconfig:2573: warning: unused variable `i' ltconfig:2573: warning: control reaches end of non-void function ltconfig: At top level: ltconfig:2574: warning: return type defaults to `int' ltconfig: In function `main': ltconfig:2576: warning: implicit declaration of function `exit' ltconfig:2576: warning: control reaches end of non-void function ltconfig:2599: checking whether a statically linked program can dlopen itself ltconfig:2653: gcc -o conftest -Wall -g -O2 -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -fno-builtin -fno-rtti -fno-exceptions -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -DHAVE_DLFCN_H -L/usr/local/lib -Wl,--export-dynamic -static conftest.c -ldl -lz 1>&5 ltconfig:2646: warning: return type defaults to `int' ltconfig: In function `fnord': ltconfig:2646: warning: unused variable `i' ltconfig:2646: warning: control reaches end of non-void function ltconfig: At top level: ltconfig:2647: warning: return type defaults to `int' ltconfig: In function `main': ltconfig:2649: warning: implicit declaration of function `exit' ltconfig:2649: warning: control reaches end of non-void function ltconfig: failed program was: #line 2607 "ltconfig" #if HAVE_DLFCN_H #include <dlfcn.h> #endif #include <stdio.h> #ifdef RTLD_GLOBAL # define LTDL_GLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LTDL_GLOBAL DL_GLOBAL # else # define LTDL_GLOBAL 0 # endif #endif /* We may have to define LTDL_LAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LTDL_LAZY_OR_NOW # ifdef RTLD_LAZY # define LTDL_LAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LTDL_LAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LTDL_LAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LTDL_LAZY_OR_NOW DL_NOW # else # define LTDL_LAZY_OR_NOW 0 # endif # endif # endif # endif #endif fnord() { int i=42;} main() { void *self, *ptr1, *ptr2; self=dlopen(0,LTDL_GLOBAL|LTDL_LAZY_OR_NOW); if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord"); if(ptr1 || ptr2) { dlclose(self); exit(0); } } exit(1); } -----Original Message----- From: Guy Harris [mailto:guy@xxxxxxxxxx] Sent: Tuesday, April 24, 2001 2:36 PM To: John Deatherage Cc: 'Guy Harris'; 'ethereal-users@xxxxxxxxxxxx' Subject: Re: [Ethereal-users] problem finding snmp libraries > checking whether to use SSL library if available... yes > checking SSL_LIBS=... checking whether to use SNMP library if available... > yes > checking for ucd-snmp/snmp.h... yes > checking for ucd-snmp/version.h... yes > checking for snmp/snmp.h... no > checking for snmp/version.h... no > checking for sprint_objid in -lsnmp... no > checking for sprint_objid in -lsnmp... no Well, for whatever reason, it failed to find one of the routines it needs in the SNMP library. There should be a "config.log" file in the top-level Ethereal source directory; could you send us that file as well? That should indicate why it failed to find it. _______________________________________________ Ethereal-users mailing list Ethereal-users@xxxxxxxxxxxx http://www.ethereal.com/mailman/listinfo/ethereal-users
- Follow-Ups:
- Re: [Ethereal-users] problem finding snmp libraries
- From: COLIN Stéphane
- Re: [Ethereal-users] problem finding snmp libraries
- From: Gilbert Ramirez
- Re: [Ethereal-users] problem finding snmp libraries
- Prev by Date: Re: [Ethereal-users] problem finding snmp libraries
- Next by Date: Re: [Ethereal-users] problem finding snmp libraries
- Previous by thread: Re: [Ethereal-users] problem finding snmp libraries
- Next by thread: Re: [Ethereal-users] problem finding snmp libraries
- Index(es):