Subject: net/ethereal fails to build
To: None <pkgsrc-users@netbsd.org>
From: Thomas Schlesinger <schlesinger@netcologne.de>
List: pkgsrc-users
Date: 05/30/2006 21:04:50
Hi,
when I try to build net/ethereal on DragonFlyBSD, I get this error message:
[..]
*** Warning: Linking the executable ethereal against the loadable module
*** v5ua.so is not portable!
cc -DINET6 "-D_U_=3D__attribute__((unused))" -Wall -Wpointer-arith -W -O2 -=
I/usr/pkgsrc/net/ethereal/work/.buildlink/include -DGLX_GLXEXT_LEGACY -I/us=
r/pkgsrc/net/ethereal/work/.x11-buildlink/include -I/usr/pkgsrc/net/etherea=
l/work/.buildlink/include/freetype2 -pthread -I/usr/pkgsrc/net/ethereal/wor=
k/.buildlink/include/gtk-2.0 -I/usr/pkgsrc/net/ethereal/work/.buildlink/lib=
/gtk-2.0/include -I/usr/pkgsrc/net/ethereal/work/.buildlink/include/atk-1.0=
-I/usr/pkgsrc/net/ethereal/work/.buildlink/include/cairo -I/usr/pkgsrc/net=
/ethereal/work/.buildlink/include/pango-1.0 -I/usr/pkgsrc/net/ethereal/work=
/.buildlink/include/glib/glib-2.0 -I/usr/pkgsrc/net/ethereal/work/.buildlin=
k/lib/glib-2.0/include -O2 -Ddragonfly -I. -Wl,-R/usr/pkg/xorg/lib -Wl,-R/u=
sr/pkg/lib -o=20
ethereal -Wl,-static -static capture-pcap-util-unix.o capture_errs.o=20
capture-pcap-util.o capture_stop_conditions.o capture_ui_utils.o cfile.o=20
clopts_common.o conditions.o disabled_protos.o packet-range.o print.o ps.o=
=20
pcapio.o ringbuffer.o timestats.o util.o version_info.o alert_box.o capture=
=2Eo=20
capture_info.o capture_opts.o capture_sync.o color_filters.o file.o fileset=
=2Eo=20
filters.o g711.o merge.o proto_hier_stats.o sync_pipe_write.o summary.o=20
tempfile.o -pthread -L/usr/pkgsrc/net/ethereal/work/ethereal-0.99.0/epan/.=
libs -L/usr/pkgsrc/net/ethereal/work/.x11-buildlink/lib -L/usr/pkgsrc/net/e=
thereal/work/.buildlink/lib=20
gtk/libui.a wiretap/.libs/libwiretap.a=20
epan/.libs/libethereal.so /usr/pkgsrc/net/ethereal/work/.buildlink/lib/libn=
etsnmp.a -lcrypto=20
plugins/acn/.libs/acn.so -L/usr/pkgsrc/net/ethereal/work/ethereal-0.99.0/ep=
an=20
plugins/agentx/.libs/agentx.so plugins/artnet/.libs/artnet.so=20
plugins/asn1/.libs/asn1.so plugins/ciscosm/.libs/ciscosm.so=20
plugins/docsis/.libs/docsis.so plugins/enttec/.libs/enttec.so=20
plugins/giop/.libs/cosnaming.so plugins/giop/.libs/coseventcomm.so=20
plugins/gryphon/.libs/gryphon.so plugins/irda/.libs/irda.so=20
plugins/lwres/.libs/lwres.so plugins/mate/.libs/mate.so=20
plugins/megaco/.libs/megaco.so plugins/mgcp/.libs/mgcp.so=20
plugins/opsi/.libs/opsi.so plugins/pcli/.libs/pcli.so=20
plugins/profinet/.libs/profinet.so plugins/rdm/.libs/rdm.so=20
plugins/rlm/.libs/rlm.so plugins/rtnet/.libs/rtnet.so=20
plugins/rudp/.libs/rudp.so plugins/stats_tree/.libs/stats_tree.so=20
plugins/v5ua/.libs/v5ua.so /usr/pkgsrc/net/ethereal/work/ethereal-0.99.0/ep=
an/.libs/libethereal.so -lpcap /usr/pkgsrc/net/ethereal/work/.buildlink/lib=
/libgtk-x11-2.0.a /usr/pkgsrc/net/ethereal/work/.buildlink/lib/libgdk-x11-2=
=2E0.a /usr/pkgsrc/net/ethereal/work/.buildlink/lib/libatk-1.0.a /usr/pkgsr=
c/net/ethereal/work/.buildlink/lib/libgdk_pixbuf-2.0.a /usr/pkgsrc/net/ethe=
real/work/.buildlink/lib/libpangocairo-1.0.a /usr/pkgsrc/net/ethereal/work/=
=2Ebuildlink/lib/libpangoft2-1.0.a /usr/pkgsrc/net/ethereal/work/.buildlink=
/lib/libpango-1.0.a /usr/pkgsrc/net/ethereal/work/.buildlink/lib/libcairo.a=
/usr/pkgsrc/net/ethereal/work/.buildlink/lib/libXrender.a -lX11 /usr/pkgsr=
c/net/ethereal/work/.buildlink/lib/libpng12.a /usr/pkgsrc/net/ethereal/work=
/.buildlink/lib/libglitz.a /usr/pkgsrc/net/ethereal/work/.buildlink/lib/lib=
fontconfig.a /usr/pkgsrc/net/ethereal/work/.buildlink/lib/libexpat.a /usr/p=
kgsrc/net/ethereal/work/.buildlink/lib/libfreetype.a -lm /usr/pkgsrc/net/et=
hereal/work/.buildlink/lib/libgobject-2.0.a /usr/pkgsrc/net/ethereal/work/.=
buildlink/lib/libgmodule-2.0.a /usr/pkgsrc/net/ethereal/work/.buildlink/lib=
/libgthread-2.0.a -pthread /usr/pkgsrc/net/ethereal/work/.buildlink/lib/lib=
glib-2.0.a /usr/pkgsrc/net/ethereal/work/.buildlink/lib/libintl.a -lz /usr/=
pkgsrc/net/ethereal/work/.buildlink/lib/libpcre.a -Wl,--rpath -Wl,/usr/pkgs=
rc/net/ethereal/work/ethereal-0.99.0/epan/.libs -Wl,--rpath -Wl,/usr/pkgsrc=
/net/ethereal/work/ethereal-0.99.0/plugins/acn/.libs -Wl,--rpath -Wl,/usr/p=
kgsrc/net/ethereal/work/ethereal-0.99.0/plugins/agentx/.libs -Wl,--rpath -W=
l,/usr/pkgsrc/net/ethereal/work/ethereal-0.99.0/plugins/artnet/.libs -Wl,--=
rpath -Wl,/usr/pkgsrc/net/ethereal/work/ethereal-0.99.0/plugins/asn1/.libs =
=2DWl,--rpath -Wl,/usr/pkgsrc/net/ethereal/work/ethereal-0.99.0/plugins/cis=
cosm/.libs -Wl,--rpath -Wl,/usr/pkgsrc/net/ethereal/work/ethereal-0.99.0/pl=
ugins/docsis/.libs -Wl,--rpath -Wl,/usr/pkgsrc/net/ethereal/work/ethereal-0=
=2E99.0/plugins/enttec/.libs -Wl,--rpath -Wl,/usr/pkgsrc/net/ethereal/work/=
ethereal-0.99.0/plugins/giop/.libs -Wl,--rpath -Wl,/usr/pkgsrc/net/ethereal=
/work/ethereal-0.99.0/plugins/gryphon/.libs -Wl,--rpath -Wl,/usr/pkgsrc/net=
/ethereal/work/ethereal-0.99.0/plugins/irda/.libs -Wl,--rpath -Wl,/usr/pkgs=
rc/net/ethereal/work/ethereal-0.99.0/plugins/lwres/.libs -Wl,--rpath -Wl,/u=
sr/pkgsrc/net/ethereal/work/ethereal-0.99.0/plugins/mate/.libs -Wl,--rpath =
=2DWl,/usr/pkgsrc/net/ethereal/work/ethereal-0.99.0/plugins/megaco/.libs -W=
l,--rpath -Wl,/usr/pkgsrc/net/ethereal/work/ethereal-0.99.0/plugins/mgcp/.l=
ibs -Wl,--rpath -Wl,/usr/pkgsrc/net/ethereal/work/ethereal-0.99.0/plugins/o=
psi/.libs -Wl,--rpath -Wl,/usr/pkgsrc/net/ethereal/work/ethereal-0.99.0/plu=
gins/pcli/.libs -Wl,--rpath -Wl,/usr/pkgsrc/net/ethereal/work/ethereal-0.99=
=2E0/plugins/profinet/.libs -Wl,--rpath -Wl,/usr/pkgsrc/net/ethereal/work/e=
thereal-0.99.0/plugins/rdm/.libs -Wl,--rpath -Wl,/usr/pkgsrc/net/ethereal/w=
ork/ethereal-0.99.0/plugins/rlm/.libs -Wl,--rpath -Wl,/usr/pkgsrc/net/ether=
eal/work/ethereal-0.99.0/plugins/rtnet/.libs -Wl,--rpath -Wl,/usr/pkgsrc/ne=
t/ethereal/work/ethereal-0.99.0/plugins/rudp/.libs -Wl,--rpath -Wl,/usr/pkg=
src/net/ethereal/work/ethereal-0.99.0/plugins/stats_tree/.libs -Wl,--rpath =
=2DWl,/usr/pkgsrc/net/ethereal/work/ethereal-0.99.0/plugins/v5ua/.libs -Wl,=
=2D-rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkg/lib/ethereal/plugins/0.=
99.0
ld: attempted static link of dynamic object `epan/.libs/libethereal.so'
*** Error code 1
[..]
Thomas=20