Ethereal-dev: [Ethereal-dev] Mac OS X looses network connection after Ethereal activates
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
From: Marc Liyanage <liyanage@xxxxxxxxx>
Date: Sat, 28 Apr 2001 12:44:07 +0200
Hi there, I just compiled Ethereal on Mac OS X. There are some issues: Mac OS X looses the network connection - after I start the capture - only when the interface is put into promiscuous mode This also happens with tcpdump and tcpflow so I guess you can't do much about it, may be the interaction of AirPort with libpcap... I had the same problem with Etherpeek under Mac OS 9. I'm just writing this to let you know... More important: - I had to setenv CFLAGS -traditional-cpp, otherwise this happens: cc -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -O2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -c buffer.c buffer.c:1308: bad macro argument list cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode make[2]: *** [buffer.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 - There is no pcap_version in the libpcap supplied by apple. I saw that you have ifdefs for this to handle Windows. Maybe another one for Darwin would be good. I had to manually insert dummy strings there. - the gryphon and mgcp plugins conflict, I had to remove one manually from the Makefile: /usr/bin/ld: multiple definitions of symbol _plugin_init plugins/gryphon/.libs/libgryphon.a(packet-gryphon.o) definition of _plugin_init in section (__TEXT,__text) plugins/mgcp/.libs/libmgcp.a(packet-mgcp.o) definition of _plugin_init in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol _plugin_reg_handoff plugins/gryphon/.libs/libgryphon.a(packet-gryphon.o) definition of _plugin_reg_handoff in section (__TEXT,__text) plugins/mgcp/.libs/libmgcp.a(packet-mgcp.o) definition of _plugin_reg_handoff in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol _version plugins/gryphon/.libs/libgryphon.a(packet-gryphon.o) definition of _version in section (__TEXT,__const) plugins/mgcp/.libs/libmgcp.a(packet-mgcp.o) definition of _version in section (__TEXT,__const) rm -f .libs/etherealS.o make[2]: *** [ethereal] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 Cheers and thanks for a great package :-) -Marc Here is the configure output, maybe this is of interest to you... [localhost:~/src] liyanage% tar -xzf ../Download/ethereal-0.8.17-a.tar.gz [localhost:~/src] liyanage% cd ethereal-0.8.17/ [localhost:~/src/ethereal-0.8.17] liyanage% setenv CFLAGS -traditional-cpp [localhost:~/src/ethereal-0.8.17] liyanage% ./con config.guess* config.sub* configure* [localhost:~/src/ethereal-0.8.17] liyanage% ./configure creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... found checking for working automake... missing checking for working autoheader... found checking for working makeinfo... missing checking host system type... powerpc-apple-darwin1.3 checking for gcc... no checking for cc... cc checking whether the C compiler (cc -traditional-cpp ) works... yes checking whether the C compiler (cc -traditional-cpp ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking how to run the C preprocessor... cc -E -traditional-cpp checking for ranlib... ranlib checking for bison... bison -y checking for flex... flex checking for flex... (cached) flex checking for yywrap in -lfl... no checking lex output file root... lex.yy checking whether yytext is a pointer... no checking for perl... /usr/bin/perl checking for flex... /usr/bin/flex checking for python... no checking for pkgproto... no checking for pkgmk... no checking for pkgtrans... no checking for rpm... no checking to see if we can add '-Wall' to CFLAGS... yes checking for platform-specific compiler flags... none needed checking for gtk-config... /usr/local/bin/gtk-config checking for GTK - version >= 1.2.0... yes checking for glib-config... /usr/local/bin/glib-config checking for GLIB - version >= 1.2.0... yes checking for gethostbyname... yes checking for connect... yes checking whether to use libpcap for packet capture... yes checking for extraneous pcap header directories... not found checking for net/bpf.h... yes checking for pcap.h... yes checking for pcap_open_live in -lpcap... yes checking whether to use zlib for reading compressed capture files... yes checking for zlib.h... yes checking for gzgets in -lz... yes checking whether to enable ipv6 name resolution if available... yes checking ipv6 stack type... kame, inet6 checking whether to install ethereal setuid... no checking for ANSI C header files... yes checking for fcntl.h... yes checking for sys/ioctl.h... yes checking for sys/time.h... yes checking for unistd.h... yes checking for stdarg.h... yes checking for netdb.h... yes checking for sys/stat.h... yes checking for sys/sockio.h... yes checking for sys/types.h... yes checking for sys/socket.h... yes checking for sys/wait.h... yes checking for netinet/in.h... yes checking for stddef.h... yes checking for dlfcn.h... no checking for arpa/inet.h... yes 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... yes checking for sa_len in struct sockaddr... yes checking whether byte ordering is bigendian... yes checking whether cc needs -traditional... no checking for snprintf... yes checking for strerror... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for mkstemp... yes checking for getprotobynumber... yes checking for gethostbyname2... yes checking build system type... powerpc-apple-darwin1.3 checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for BSD-compatible nm... /usr/bin/nm -p checking whether ln -s works... yes updating cache ./config.cache loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc supports -c -o file.o... ~/src/ethereal-0.8.17/conftest yes checking if cc supports -c -o file.lo... yes checking if cc supports -fno-rtti -fno-exceptions ... yes checking if cc static flag -static works... none checking if the linker (/usr/bin/ld) is GNU ld... no checking whether the linker (/usr/bin/ld) supports shared libraries... no checking command to parse /usr/bin/nm -p output... ok checking how to hardcode library paths into programs... unsupported checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... no checking if libtool supports shared libraries... no checking whether to build shared libraries... no checking whether to build static libraries... yes checking for objdir... .libs checking for dlopen in -ldl... no checking for dlopen... no checking for dld_link in -ldld... no checking for shl_load... no checking for shl_load in -ldld... no creating libtool updating cache ./config.cache loading cache ./config.cache creating ./config.status creating Makefile creating doc/Makefile creating gtk/Makefile creating packaging/Makefile creating packaging/nsis/Makefile creating packaging/rpm/Makefile creating packaging/rpm/ethereal.spec creating packaging/svr4/Makefile creating packaging/svr4/checkinstall creating packaging/svr4/pkginfo creating plugins/Makefile creating plugins/gryphon/Makefile creating plugins/mgcp/Makefile creating tools/Makefile creating tools/lemon/Makefile creating config.h configuring in epan running /bin/sh ./configure --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... found checking for working automake... missing checking for working autoheader... found checking for working makeinfo... missing checking for gcc... (cached) cc checking whether the C compiler (cc -DINET6 -Wall -traditional-cpp -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/X11R6/include ) works... yes checking whether the C compiler (cc -DINET6 -Wall -traditional-cpp -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/X11R6/include ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) cc -E -traditional-cpp checking for bison... (cached) bison -y checking for flex... (cached) flex checking for flex... (cached) flex checking for yywrap in -lfl... (cached) no checking lex output file root... (cached) lex.yy checking whether yytext is a pointer... (cached) no checking for ranlib... (cached) ranlib checking for flex... (cached) /usr/bin/flex checking to see if we can add '-Wall' to CFLAGS... yes checking for platform-specific compiler flags... none needed checking for glib-config... (cached) /usr/local/bin/glib-config checking for GLIB - version >= 1.1.0... yes checking for ANSI C header files... (cached) yes checking for stdarg.h... (cached) yes checking for direct.h... no checking for dirent.h... yes checking for fcntl.h... (cached) yes checking for netdb.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for sys/socket.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for netinet/in.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for arpa/nameser.h... yes checking for dlfcn.h... (cached) no checking for inet_aton... yes checking for inet_pton... no checking for inet_ntop... no updating cache .././config.cache creating ./config.status creating Makefile creating dfilter/Makefile creating ftypes/Makefile creating config.h configuring in wiretap running /bin/sh ./configure --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... found checking for working automake... missing checking for working autoheader... found checking for working makeinfo... missing checking for gcc... (cached) cc checking whether the C compiler (cc -DINET6 -Wall -traditional-cpp -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/X11R6/include ) works... yes checking whether the C compiler (cc -DINET6 -Wall -traditional-cpp -I$(top_srcdir) -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/X11R6/include ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) cc -E -traditional-cpp checking for bison... (cached) bison -y checking for flex... (cached) flex checking for flex... (cached) flex checking for yywrap in -lfl... (cached) no checking lex output file root... (cached) lex.yy checking whether yytext is a pointer... (cached) no checking for ranlib... (cached) ranlib checking for flex... (cached) /usr/bin/flex checking to see if we can add '-Wall' to CFLAGS... yes checking for platform-specific compiler flags... none needed checking for glib-config... (cached) /usr/local/bin/glib-config checking for GLIB - version >= 1.1.0... yes checking for ANSI C header files... (cached) yes checking for sys/time.h... (cached) yes checking for netinet/in.h... (cached) yes checking for unistd.h... (cached) yes checking for fcntl.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking host system type... powerpc-apple-darwin1.3 checking whether byte ordering is bigendian... (cached) yes checking for extraneous pcap header directories... not found checking for pcap.h... (cached) yes checking whether to use zlib for reading compressed capture files... yes checking for zlib.h... (cached) yes checking for gzgets in -lz... (cached) yes creating ./config.status creating Makefile creating config.h The Ethereal package has been configured with the following options. Build ethereal : yes Build tethereal : yes Build editcap : yes Build randpkt : no Build dftest : no Install setuid : no Use pcap library : yes Use zlib library : yes Use IPv6 name resolution : yes Use SNMP library : yes -- _________________________________________________________________ Marc Liyanage liyanage@xxxxxxxxx http://www.entropy.ch Experience is what you get when you didn't get what you wanted _________________________________________________________________
- Follow-Ups:
- Prev by Date: Re: [Ethereal-dev] Can we decode hex dumps?
- Next by Date: Re: [Ethereal-dev] Mac OS X looses network connection after Ethereal activates
- Previous by thread: Re: [Ethereal-dev] memory leaks
- Next by thread: Re: [Ethereal-dev] Mac OS X looses network connection after Ethereal activates
- Index(es):