From owner-freebsd-questions Fri Nov 8 5:56:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32B6537B401 for ; Fri, 8 Nov 2002 05:56:47 -0800 (PST) Received: from mail-relay.edison.ro (gate.edison.ro [212.93.128.97]) by mx1.FreeBSD.org (Postfix) with SMTP id A091943E6E for ; Fri, 8 Nov 2002 05:56:45 -0800 (PST) (envelope-from gicabulica@edison.ro) Received: (qmail 16053 invoked by uid 1015); 8 Nov 2002 13:57:37 -0000 Date: 8 Nov 2002 13:57:37 -0000 Message-ID: <20021108135737.16052.qmail@mail-relay.edison.ro> To: questions@freebsd.org Subject: socks5 server compile error From: gicabulica@edison.ro X-Sender: X-Mailer: Edison WebMail v2.0 by Rhemax X-Priority: 1 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 Hello everybody. I\'ve just received the socks5 server from nec and I tried to compile it with threads. The standard procedure works like a charm but when I add the --threaded options it fails at compilation level. I get a lot of error about like pthreads_XXXX: However, I can read the man pages of this functions and I know that FreeBSD has suport for POSIX threads (pthreads). Anyway, I found out that the standard configure file does not find the right where the libraries are: checking for pthread.h... yes checking for main in -lpthreads... no checking for main in -lpthread... no checking for pthread_create... no checking for pthread_self... no checking for pthread_exit... no checking for pthread_attr_init... no checking for pthread_attr_setscope... no checking for pthread_attr_setdetachstate... no checking for pthread_detach... no checking for pthread_sigmask... no checking for pthread_kill... no Any ideas?... Thanks, Costin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message