From owner-freebsd-questions@FreeBSD.ORG Mon Apr 10 06:30:14 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 EDDD816A401 for ; Mon, 10 Apr 2006 06:30:14 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7B8343D49 for ; Mon, 10 Apr 2006 06:30:14 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 91DE61A4D7A; Sun, 9 Apr 2006 23:30:14 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id E84B751F35; Mon, 10 Apr 2006 02:30:13 -0400 (EDT) Date: Mon, 10 Apr 2006 02:30:13 -0400 From: Kris Kennaway To: Premal Mishra Message-ID: <20060410063013.GA19556@xor.obsecurity.org> References: <2211edca0604092303w2b5649a4uc5a4e2442cb0a882@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fdj2RfSjLxBAspz7" Content-Disposition: inline In-Reply-To: <2211edca0604092303w2b5649a4uc5a4e2442cb0a882@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org Subject: Re: Linker Error: undefined reference to __ctype_b X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2006 06:30:15 -0000 --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 10, 2006 at 11:33:25AM +0530, Premal Mishra wrote: > Hi, >=20 > Am tryin to compile a C program which uses 3rd party library. >=20 > I get the following error during linking: >=20 > "undefined reference to __ctype_b" and this error comes up for many more = names. >=20 > Whats may be the problem ? It's looking for a symbol that doesn't exist in the libraries with which you are linking. Perhaps it needs another library, or it's expecting to find symbols that do not exist in FreeBSD system libraries. Kris --fdj2RfSjLxBAspz7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEOft1Wry0BWjoQKURAq+LAKDpqnpb4dYDJ/G/OMswl29ZnKg6NwCfR8R7 wOEPAxexbrb+am2HApZHUYI= =0aRv -----END PGP SIGNATURE----- --fdj2RfSjLxBAspz7--