From owner-freebsd-ports@FreeBSD.ORG Mon Apr 20 01:29:23 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACE5D106566B for ; Mon, 20 Apr 2009 01:29:23 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by mx1.freebsd.org (Postfix) with ESMTP id 7D46C8FC15 for ; Mon, 20 Apr 2009 01:29:23 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: by wa-out-1112.google.com with SMTP id m38so999662waf.27 for ; Sun, 19 Apr 2009 18:29:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=M7U84i4RrPzkGnpqX87SNc8sOWj/fMAvb+fU12VYekg=; b=tzXICYWu7roOVHgr71RReDBqzFOCP42pk9LadC9HJclOUBZkewpGNCRn3gn5tph2XI PGW2ZrHPj4YWTMt2Qkqow0JfYLpY0+lKejRxc50Kdz2ABdUMqQ/Wprth62JIdb95oMrA iqDSugZfEkj/fvP0j4aRLrMuuPuxXNYQDwNTw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=CbXmet3DqtwJ56ONnDCcZp9hY75aaP7HSUO7WqGxf+7sqUOPvofjWG17H5+rhhCTdw VheJhSiYh/zoZh67D1/lgHRCbHeaF/d5dHXm8NA0XGObM2VmlQ+SkwUUSDMboHCfUOC1 dpuo2jJ5NBFzoErIItsRYMbn5ruuKm27YkxLA= MIME-Version: 1.0 Received: by 10.114.181.6 with SMTP id d6mr3003903waf.94.1240190963194; Sun, 19 Apr 2009 18:29:23 -0700 (PDT) In-Reply-To: <3456f9ca0904191424l4bc64fd9x9f858cdc41b4be4@mail.gmail.com> References: <28283d910904190747j2ae2e476h898cf6d36d893c28@mail.gmail.com> <3456f9ca0904191424l4bc64fd9x9f858cdc41b4be4@mail.gmail.com> From: matt donovan Date: Sun, 19 Apr 2009 21:29:08 -0400 Message-ID: <28283d910904191829x570068f4l46ab87c5fa71f89e@mail.gmail.com> To: Sofian Brabez Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@freebsd.org Subject: Re: dsniff fails linking X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Apr 2009 01:29:23 -0000 On Sun, Apr 19, 2009 at 5:24 PM, Sofian Brabez 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 > 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