Ethereal-users: [Ethereal-users] Can't build tethereal on Mac OS X

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Paul Hoffman / VPNC <paul.hoffman@xxxxxxxx>
Date: Thu, 11 Nov 2004 07:30:57 -0500
I'm re-building Ethereal 0.10.5 with a modified module. That module builds fine, but the end of the build fails with:

. . .
mkdir .libs
gcc -DINET6 -no-cpp-precomp "-D_U_=__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -o .libs/tethereal pcap-util-unix.o capture_stop_conditions.o cfile.o conditions.o disabled_protos.o pcap-util.o range.o ringbuffer.o timestats.o version_info.o tap-ansi_astat.o tap-bootpstat.o tap-dcerpcstat.o tap-gsm_astat.o tap-h225counter.o tap-h225rassrt.o tap-httpstat.o tap-iostat.o tap-iousers.o tap-mgcpstat.o tap-protocolinfo.o tap-protohierstat.o tap-rpcstat.o tap-rpcprogs.o tap-sipstat.o tap-smbsids.o tap-smbstat.o tap-wspstat.o tethereal-tap-register.o tethereal.o -L/usr/local/lib -Lwiretap/.libs -lwiretap -L/sw/lib -Lepan/.libs -lethereal -lcrypto -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lm -lpcap -lz
ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being usedsymbol _locale_charset used from dynamic library /sw/lib/libiconv.dylib(localcharset.o) not from earlier dynamic library /sw/lib/libintl.1.dylib(localcharset.lo)
ld: Undefined symbols:
_port_to_str
_proto_to_str
make[2]: *** [tethereal] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

The configure command to put this together was:
./configure --disable-ethereal --disable-editcap --disable-mergecap --disable-text2pcap --disable-idl2eth --without-plugins
(All I want is tethereal, nothing with a GUI.)

Any help would be appreciated!

--Paul Hoffman, Director
--VPN Consortium