Ethereal-dev: [Ethereal-dev] Re: [Ethereal-cvs] rev 14188: /trunk/epan/dissectors/: packet-bac

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

From: Jean-Baptiste Marchand <Jean-Baptiste.Marchand@xxxxxx>
Date: Thu, 26 May 2005 10:14:24 +0200
* sahlberg@xxxxxxxxxxxx <sahlberg@xxxxxxxxxxxx> [01/01/70 - 01:00]:

> User: sahlberg
> Date: 2005/04/26 03:03 AM
> 
> Log:
>  BACAPP updates
> 
> Directory: /trunk/epan/dissectors/
>   Changes    Path               Action
>   +5063 -632 packet-bacapp.c    Modified
>   +2049 -0   packet-bacapp.h    Added
> 
> Directory: /trunk/epan/
>   Changes    Path              Action
>   +1 -0      Makefile.nmake    Modified

Don't we need to add a -liconv somewhere?

Because the BACAPP updates use iconv functions, linking of tethereal
fails for me on FreeBSD 5.3 x86:

gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -DINET6 -O -pipe -Dfreebsd5 -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.5/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/lib/perl5/5.8.5/mach/CORE -I. -I/usr/local/include -I/usr/include -o .libs/tethereal pcap-util-unix.o capture_stop_conditions.o capture_ui_utils.o cfile.o clopts_common.o conditions.o disabled_protos.o packet-range.o pcap-util.o print.o ps.o ringbuffer.o timestats.o util.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-sctpchunkstat.o tap-sipstat.o tap-smbsids.o tap-smbstat.o tap-stats_tree.o tap-wspstat.o capture_opts.o tethereal-tap-register.o tethereal.o .libs/tetherealS.o -Wl,-E -Wl,--export-dynamic  -L/usr/local/lib wiretap/.libs/libwiretap.so epan/.libs/libethereal.so -lnetsnmp -lkvm -ldevstat -lpcre -lgmodule12 -lglib12 -lm -lpcap -L/usr/lib -lkrb5 -lasn1 -lroken -lcrypt -lcom_err -lcrypto -lz -Wl,--rpath -Wl,/usr/local/lib
epan/.libs/libethereal.so: undefined reference to `libiconv_open'
epan/.libs/libethereal.so: undefined reference to `libiconv_close'
epan/.libs/libethereal.so: undefined reference to `libiconv'
*** Error code 1

Jean-Baptiste Marchand
-- 
Jean-Baptiste.Marchand@xxxxxx
HSC - http://www.hsc.fr/