pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: problems building security/dsniff-nox11
Jeremy C. Reed --> pkgsrc-users (2009-04-25 07:09:28 -0500):
> > building security/dsniff-nox11 from HEAD pkgsrc on a current NetBSD/i386
> > system fails as follows:
> >
> > [...]
> > cc -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/libnet10
> > -Wl,-R/usr/pkg/lib/libnet10 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o dsniff
> > asn1.o base64.o buf.o hex.o magic.o mount.o pcaputil.o rpc.o tcp_raw.o
> > trigger.o record.o dsniff.o decode.o decode_aim.o decode_citrix.o
> > decode_cvs.o decode_ftp.o decode_hex.o decode_http.o decode_icq.o
> > decode_imap.o decode_irc.o decode_ldap.o decode_mmxp.o decode_mountd.o
> > decode_napster.o decode_nntp.o decode_oracle.o decode_ospf.o
> > decode_pcanywhere.o decode_pop.o decode_portmap.o decode_postgresql.o
> > decode_pptp.o decode_rip.o decode_rlogin.o decode_smb.o decode_smtp.o
> > decode_sniffer.o decode_snmp.o decode_socks.o decode_tds.o decode_telnet.o
> > decode_vrrp.o decode_yp.o decode_x11.o -lresolv -lrpcsvc -L. -lmissing
> > -L/usr/pkg/lib -lnids -L/usr/pkg/lib -lpcap -L/usr/pkg/lib/libnet10 -lnet
> > -lssl -lcrypto
> > /b/build/pkg/c/security/dsniff-nox11/work/.buildlink/lib/libnids.a(libnids.o):
> > In function `nids_dispatch':
> > /b/build/pkg/c/net/libnids/work/libnids-1.23/src/libnids.c:765: undefined
> > reference to `g_async_queue_push'
>
> Seems like that should be linking with libglib-2
>
> Maybe net/libnids/buildlink3.mk should include
> .include "../../devel/glib2/buildlink3.mk"
> ?
I tried this, but it doesn't seem to help.
But including the glib2 buildlink file from the libnids buildlink file
_and_ explicitly linking dsniff(8) and the various *snarf(8) tools built
from security/dsniff-nox11 against libglib-2.0 and libgthread-2.0 does
help.
But this is probably not the correct fix and I should file a PR...
Regards, Jukka
--
This email fills a much-needed gap in the archives.
Home |
Main Index |
Thread Index |
Old Index