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: Ed Meaney <emeaney@xxxxxxxxx>
Date: Tue, 03 May 2005 15:44:43 -0400
I had the same issue with my installation of Fedora 3. I've figured out
that it seems to be due to having the same local string constants in
two functions. I've attached a patch that fixes the compilation/linking
problem but I think this might be a compiler problem.
My gcc -v output is: Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.3/specsConfigured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix gcc version 3.4.3 20050227 (Red Hat 3.4.3-22.fc3) -Ed 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
-- Edward Meaney, Jr. <emeaney@xxxxxxxxx>
Index: packet-diameter.c =================================================================== --- packet-diameter.c (revision 14289) +++ packet-diameter.c (working copy) @@ -2022,13 +2022,13 @@ { "Flags", "diameter.flags", FT_UINT8, BASE_HEX, NULL, 0x0, "", HFILL }}, { &hf_diameter_flags_request, - { "Request", "diameter.flags.request", FT_BOOLEAN, 8, TFS(&flags_set_truth), DIAM_FLAGS_R, + { "Request ", "diameter.flags.request", FT_BOOLEAN, 8, TFS(&flags_set_truth), DIAM_FLAGS_R, "", HFILL }}, { &hf_diameter_flags_proxyable, - { "Proxyable", "diameter.flags.proxyable", FT_BOOLEAN, 8, TFS(&flags_set_truth), DIAM_FLAGS_P, + { "Proxyable ", "diameter.flags.proxyable", FT_BOOLEAN, 8, TFS(&flags_set_truth), DIAM_FLAGS_P, "", HFILL }}, { &hf_diameter_flags_error, - { "Error","diameter.flags.error", FT_BOOLEAN, 8, TFS(&flags_set_truth), DIAM_FLAGS_E, + { "Error ","diameter.flags.error", FT_BOOLEAN, 8, TFS(&flags_set_truth), DIAM_FLAGS_E, "", HFILL }}, { &hf_diameter_flags_T, { "T(Potentially re-transmitted message)","diameter.flags.T", FT_BOOLEAN, 8, TFS(&flags_set_truth),DIAM_FLAGS_T,
- Follow-Ups:
- Re: [Ethereal-dev] Linux build fails
- From: Guy Harris
- Re: [Ethereal-dev] Linux build fails
- References:
- [Ethereal-dev] Linux build fails
- From: Steve Schaeffer
- [Ethereal-dev] Linux build fails
- Prev by Date: Re: [Ethereal-dev] MTP3 version autodetect (was Camel Patch)
- Next by Date: Re: [Ethereal-dev] MTP3 version autodetect (was Camel Patch)
- Previous by thread: Re: [Ethereal-dev] Linux build fails
- Next by thread: Re: [Ethereal-dev] Linux build fails
- Index(es):