From owner-freebsd-questions Sun Feb 10 13:31:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 4EB0637C090 for ; Sun, 10 Feb 2002 13:28:55 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 84BFE2B79B; Sun, 10 Feb 2002 22:28:51 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id 5BEF41AA; Mon, 11 Feb 2002 08:28:43 +1100 (EST) Date: Mon, 11 Feb 2002 08:28:43 +1100 From: Edwin Groothuis To: Tim Kellers Cc: freebsd-questions@freebsd.org Subject: Re: ntop2 Message-ID: <20020211082843.B494@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , Tim Kellers , freebsd-questions@freebsd.org References: <20020210154835.T60768-100000@serv1.wallnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020210154835.T60768-100000@serv1.wallnet.com>; from timothyk@serv1.wallnet.com on Sun, Feb 10, 2002 at 03:53:08PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Feb 10, 2002 at 03:53:08PM -0500, Tim Kellers wrote: > > I've successfully built ntop 2 on 4 FreeBSD boxes, the 5th one is > obstinate, though. Using cvsupped sources (from today), and portupgrade > (most recent build), the compile bombs at the linking level (I think). > > I've even gone so far as to portupgrade every listed dependency, still No > Joy. > > The following is a snip from the end of the make clean build where it > errors out: > > main.o: In function `main':M > /usr/ports/net/ntop/work/ntop/main.c(.text+0xed2): undefined reference to > `__pt > .libs/libntopreport.so: undefined reference to `__pthread_fork'M [...] Do you have libc_r? That's how configure finds out by me about pthread_create(). This is my output of config.log: configure:4367: checking for pthread_create in -lpthread configure:4386: cc -o conftest -g -O -pipe conftest.c -lpthread 1>&5 /usr/libexec/elf/ld: cannot find -lpthread [...] configure:4471: checking for pthread_create in -lpthreads configure:4490: cc -o conftest -g -O -pipe conftest.c -lpthreads 1>&5 /usr/libexec/elf/ld: cannot find -lpthreads [...] configure:4575: checking for pthread_create in -lc_r configure:4594: cc -o conftest -g -O -pipe conftest.c -lc_r 1>&5 /usr/lib/libc.so: WARNING! setkey(3) not present in the system! Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message