Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2009 21:28:54 -0400
From:      matt donovan <kitchetech@gmail.com>
To:        Sofian Brabez <sbrabez@gmail.com>
Cc:        ports@freebsd.org
Subject:   Re: dsniff fails linking
Message-ID:  <28283d910904191828p5fb78f60i5498d46d7b3a27d2@mail.gmail.com>
In-Reply-To: <3456f9ca0904191424l4bc64fd9x9f858cdc41b4be4@mail.gmail.com>
References:  <28283d910904190747j2ae2e476h898cf6d36d893c28@mail.gmail.com>  <3456f9ca0904191424l4bc64fd9x9f858cdc41b4be4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 19, 2009 at 5:24 PM, Sofian Brabez <sbrabez@gmail.com> wrote:

> Hello matt,
>
> Indeed dsniff doesn't compile anymore, I see an update of libnids by roam@
> yesterday [1]. As dsniff depends of libnids to compile, I think the
> problem come from libnids update.
>
> I will investigate and fix this. Thanks for warning me.
>
> [1]
> http://www.freebsd.org/cgi/getmsg.cgi?fetch=745549+0+/usr/local/www/db/text/2009/cvs-ports/20090322.cvs-ports
>
> On Sun, Apr 19, 2009 at 4:47 PM, matt donovan <kitchetech@gmail.com>
> wrote:
> > when I try to compile the dsniff port it fails at linking. Sorry about
> > the long paste in this email but I sent this to the maintainer as
> > well.
> >
> > cc  -o dsniff asn1.o base64.o buf.o hex.o magic.o mount.o pcaputil.o
> rpc.o tcp_r
> > aw.o trigger.o record.o dsniff.o decode.o decode_aim.o decode_citrix.o
> decode_cv
> > s.o decode_ftp.o decode_hex.o decode_http.o decode_icq.o decode_imap.o
> decode_ir
> > c.o decode_ldap.o decode_mmxp.o decode_mountd.o decode_napster.o
> decode_nntp.o d
> > ecode_oracle.o decode_ospf.o decode_pcanywhere.o decode_pop.o
> decode_portmap.o d
> > ecode_postgresql.o decode_pptp.o decode_rip.o decode_rlogin.o
> decode_smb.o decod
> > e_smtp.o decode_sniffer.o decode_snmp.o decode_socks.o decode_tds.o
> decode_telne
> > t.o decode_vrrp.o decode_yp.o decode_x11.o -lrpcsvc  -L. -lmissing
> -L/usr/local/
> > lib -lnids -lpcap -L/usr/local/lib/libnet10 -lnet  -lssl -lcrypto
> > /usr/local/lib/libnids.a(libnids.o)(.text+0xa8): In function
> `nids_dispatch':
> > : undefined reference to `g_async_queue_push'
> > /usr/local/lib/libnids.a(libnids.o)(.text+0xec): In function
> `nids_dispatch':
> > : undefined reference to `g_thread_create_full'
> > /usr/local/lib/libnids.a(libnids.o)(.text+0x215): In function
> `cap_queue_process
> > _thread':
> > : undefined reference to `g_async_queue_pop'
> > /usr/local/lib/libnids.a(libnids.o)(.text+0x22a): In function
> `cap_queue_process
> > _thread':
> > : undefined reference to `g_thread_exit'
> > /usr/local/lib/libnids.a(libnids.o)(.text+0x335): In function
> `nids_exit':
> > : undefined reference to `g_async_queue_length'
> > /usr/local/lib/libnids.a(libnids.o)(.text+0x41f): In function `nids_run':
> > : undefined reference to `g_thread_create_full'
> > /usr/local/lib/libnids.a(libnids.o)(.text+0x478): In function `nids_run':
> > : undefined reference to `g_async_queue_push'
> > /usr/local/lib/libnids.a(libnids.o)(.text+0xec): In function
> `nids_dispatch':
> > : undefined reference to `g_thread_create_full'
> > /usr/local/lib/libnids.a(libnids.o)(.text+0x215): In function
> `cap_queue_process
> > _thread':
> > : undefined reference to `g_async_queue_pop'
> > /usr/local/lib/libnids.a(libnids.o)(.text+0x22a): In function
> `cap_queue_process
> > _thread':
> > : undefined reference to `g_thread_exit'
> > /usr/local/lib/libnids.a(libnids.o)(.text+0x335): In function
> `nids_exit':
> > : undefined reference to `g_async_queue_length'
> > /usr/local/lib/libnids.a(libnids.o)(.text+0x41f): In function `nids_run':
> > : undefined reference to `g_thread_create_full'
> > /usr/local/lib/libnids.a(libnids.o)(.text+0x478): In function `nids_run':
> > : undefined reference to `g_async_queue_push'
> > /usr/local/lib/libnids.a(libnids.o)(.text+0x63e): In function
> `nids_init':
> > : undefined reference to `g_thread_init'
> > /usr/local/lib/libnids.a(libnids.o)(.text+0x643): In function
> `nids_init':
> > : undefined reference to `g_async_queue_new'
> > /usr/local/lib/libnids.a(libnids.o)(.text+0xbc7): In function
> `nids_pcap_handler
> > ':
> > : undefined reference to `g_async_queue_lock'
> > /usr/local/lib/libnids.a(libnids.o)(.text+0xbd4): In function
> `nids_pcap_handler
> > ':
> > : undefined reference to `g_async_queue_length_unlocked'
> > /usr/local/lib/libnids.a(libnids.o)(.text+0xbf1): In function
> `nids_pcap_handler
> > ':
> > : undefined reference to `g_async_queue_push_unlocked'
> > /usr/local/lib/libnids.a(libnids.o)(.text+0xd40): In function
> `nids_next':
> > : undefined reference to `g_thread_create_full'
> > /usr/local/lib/libnids.a(libnids.o)(.text+0xd87): In function
> `nids_next':
> > : undefined reference to `g_async_queue_push'
> > /usr/local/lib/libnids.a(libnids.o)(.text+0xc0a): In function
> `nids_pcap_handler
> > ':
> > : undefined reference to `g_async_queue_unlock'
> >
>
> Regards
>
> --
> sbz


hmm for some reason make clean for me did not work but then I did a rm -rf
on the work folder for dsniff and for some reason it did work for linking



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28283d910904191828p5fb78f60i5498d46d7b3a27d2>