[patch] ethereal-0.10.11: undefined reference to `.LC771'
Boris Samorodov
bsam at ipt.ru
Wed May 11 16:58:39 PDT 2005
Hi!
The system:
-----
$ uname -a
FreeBSD serv3.int.kfs.ru 5.4-STABLE FreeBSD 5.4-STABLE #1: Mon May 2 12:33:58 MSD 2005 pika at serv3.int.kfs.ru:/usr/obj/usr/src/sys/SERV1 i386
$ gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.2 [FreeBSD] 20040728
-----
$ cd /usr/ports/net/ethereal
$ make WITHOUT_IPV6=YES WITHOUT_SNMP=YES
[skip]
/bin/sh /usr/local/bin/libtool15 --mode=link --tag=CC cc -D_U_="__attribute__(>
thereal.la -lcrypto "-dlopen" self "-dlopen" plugins/acn/>
mkdir .libs
rm -f .libs/ethereal.nm .libs/ethereal.nmS .libs/ethereal.nmT
creating .libs/etherealS.c
(cd .libs && cc -c -fno-builtin "etherealS.c")
rm -f .libs/etherealS.c .libs/ethereal.nm .libs/ethereal.nmS .libs/ethereal.nmT
cc "-D_U_=__attribute__((unused))" -Wall -W -O2 -I/usr/local/include -D_REENTRA>
lib -lgtk-x11-2.0 -lgthread-2.0 -ladns -lkrb5 -lasn1 -lroken -lcrypt -lcom_err >
epan/.libs/libethereal.so: undefined reference to `.LC771'
epan/.libs/libethereal.so: undefined reference to `.LC770'
epan/.libs/libethereal.so: undefined reference to `.LC772'
*** Error code 1
Stop in /usr/ports/net/ethereal/work/ethereal-0.10.11.
*** Error code 1
[skip]
Googling shows an error in GCC:
http://gcc.gnu.org/ml/gcc-patches/2005-05/msg01011.html
I found a patch at ethereal ML:
http://www.ethereal.com/lists/ethereal-dev/200505/msg00069.html
The patch for FreeBSD port is attached. After patching I managed to
build and install ethereal.
WBR
--
bsam
-------------- next part --------------
diff -ruN ethereal.orig/files/patch-packet-diameter.c ethereal/files/patch-packet-diameter.c
--- ethereal.orig/files/patch-packet-diameter.c Thu Jan 1 03:00:00 1970
+++ ethereal/files/patch-packet-diameter.c Thu May 12 03:30:32 2005
@@ -0,0 +1,19 @@
+--- epan/dissectors/packet-diameter.c.orig Thu May 12 03:07:06 2005
++++ epan/dissectors/packet-diameter.c Thu May 12 02:54:14 2005
+@@ -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,
More information about the freebsd-ports
mailing list