From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 24 06:59:33 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB16A16A4CE for ; Sat, 24 Jul 2004 06:59:33 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D35D43D2F for ; Sat, 24 Jul 2004 06:59:33 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.10) with ESMTP id i6O6xWOF029302; Fri, 23 Jul 2004 23:59:32 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i6O6xV2V029299; Fri, 23 Jul 2004 23:59:31 -0700 Date: Fri, 23 Jul 2004 23:59:31 -0700 From: Brooks Davis To: pradeep reddy punnam Message-ID: <20040724065931.GA28747@Odin.AC.HMC.Edu> References: <20040724064349.1320.qmail@web53405.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline In-Reply-To: <20040724064349.1320.qmail@web53405.mail.yahoo.com> User-Agent: Mutt/1.5.4i cc: freebsd-hackers@freebsd.org Subject: Re: error in linking librery's X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jul 2004 06:59:33 -0000 --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 23, 2004 at 11:43:49PM -0700, pradeep reddy punnam wrote: > Hi all, > =20 > i am getting following error when i tried to link -lpthread, > when i compile my program > > /user/libexec/elf/ld ; cannot find -lpthread, > > i made changes to my kernel and re compiled it, so i think may be i > need to set the paths correct, which file i need to link. Which version of FreeBSD are you using? Kernel modifications should have no effect on the existance of libpthread. Only 5.2-CURRENT after January 30 has a libpthread. -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBAgjSXY6L6fI4GtQRAl69AKCUgiu+mi8y7xhBc+wDyNpvryVNTgCg2Y1o 56pN4U603QrlgaQEhwKCQwQ= =Woc7 -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V--