Ethereal-dev: Re: [Ethereal-dev] Linux build fails

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

From: Radek Vokál <rvokal@xxxxxxxxxx>
Date: Thu, 05 May 2005 09:21:54 +0200
I'm seeing this also on ppc64, ethereal-0.10.11 and it currently breaks
my builds for Enteprise Linux.  The undefined symbols differ from
previous report so I suspect similar issue in different packet-* file. 

gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -W -O2 -g -pipe -m64
-fsigned-char -mminimal-toc -D_FORTIFY_SOURCE=2 -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/rpm
-DINET6 -O2 -g -pipe -m64 -fsigned-char -mminimal-toc -Dlinux
-I/usr/include/rpm -I. -I/usr/include/net-snmp -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,--export-dynamic -Wl,--export-dynamic  -pthread -L/usr/local/lib
wiretap/.libs/libwiretap.so epan/.libs/libethereal.so
-L/usr/lib64 /usr/lib64/libnetsnmp.so -lelf -lcrypto -lgmodule-2.0 -ldl
-lglib-2.0 -lm -lpcap -lkrb5 -lk5crypto -lcom_err -lresolv -lz
epan/.libs/libethereal.so: undefined reference to `.LC984'
epan/.libs/libethereal.so: undefined reference to `.LC982'
epan/.libs/libethereal.so: undefined reference to `.LC983'
collect2: ld returned 1 exit status
make[2]: *** [ethereal] Error 1
epan/.libs/libethereal.so: undefined reference to `.LC984'
epan/.libs/libethereal.so: undefined reference to `.LC982'
epan/.libs/libethereal.so: undefined reference to `.LC983'
collect2: ld returned 1 exit status
make[2]: *** [tethereal] Error 1
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/ethereal-0.10.11'
make: *** [all] Error 2


On Mon, 2005-05-02 at 12:56 -0600, Steve Schaeffer wrote:
> I see that you are nearing a release and I haven't seen mention of the
> problem I'm having building on Fedora 3. A couple of times I've tried a
> complete cleanup (distclean) and build but for the last couple of weeks
> the linker has been failing with the same error in the same place and
> I've been unable to ascertain where the objects are supposed to be:
> 
> gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -W -g -O2 -
> I/usr/local/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -
> I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -
> I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
> -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -
> I/usr/lib/glib-2.0/include -o .libs/ethereal 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 alert_box.o capture.o
> capture_opts.o capture_sync.o capture_loop.o color_filters.o file.o
> fileset.o filters.o g711.o merge.o proto_hier_stats.o
> summary.o .libs/etherealS.o -Wl,--export-dynamic -Wl,--export-dynamic  -
> L/usr/local/lib gtk/libui.a wiretap/.libs/libwiretap.so
> epan/.libs/libethereal.so -lpcap -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -
> latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -
> lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lkrb5 -
> lk5crypto -lcom_err -lresolv -lz -Wl,--rpath -
> Wl,/projects/ethereal/build/lib
> epan/.libs/libethereal.so: undefined reference to `.LC771'
> epan/.libs/libethereal.so: undefined reference to `.LC770'
> epan/.libs/libethereal.so: undefined reference to `.LC772'
> collect2: ld returned 1 exit status
> make[2]: *** [ethereal] Error 1
> make[2]: Leaving directory `/projects/ethereal'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/projects/ethereal'
> make: *** [install] Error 2
> 
> 
> HTH
> 
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
-- 
Radek Vokál <rvokal@xxxxxxxxxx>

Attachment: signature.asc
Description: This is a digitally signed message part