Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Apr 2006 23:52:27 -0700 (PDT)
From:      =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= <mbsd@pacbell.net>
To:        Premal Mishra <premal.mishra@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Linker Error: undefined reference to __ctype_b
Message-ID:  <20060409234639.H34203@spirou>
In-Reply-To: <2211edca0604092303w2b5649a4uc5a4e2442cb0a882@mail.gmail.com>
References:  <2211edca0604092303w2b5649a4uc5a4e2442cb0a882@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 10 Apr 2006, Premal Mishra wrote:

> Hi,
>
> Am tryin to compile a C program which uses 3rd party library.
>
> I get the following error during linking:
>
> "undefined reference to __ctype_b" and this error comes up for many more names.
>
> Whats may be the problem ?
>

Without additional information, I'd say you are trying to link against
a linux library.  You are presumably running FreeBSD, so that is not
likely to work.

But, as that particular symbol can cause problems on linux if you have
a library built against an older version of glibc, pehaps you are
actually running Linux?  If so, this is the wrong mailing list.

   $.02,
   /Mikko



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