Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2002 08:28:43 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Tim Kellers <timothyk@serv1.wallnet.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ntop2
Message-ID:  <20020211082843.B494@k7.mavetju.org>
In-Reply-To: <20020210154835.T60768-100000@serv1.wallnet.com>; from timothyk@serv1.wallnet.com on Sun, Feb 10, 2002 at 03:53:08PM -0500
References:  <20020210154835.T60768-100000@serv1.wallnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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