Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2006 12:28:26 +0530
From:      "Premal Mishra" <premal.mishra@gmail.com>
To:        "=?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?=" <mbsd@pacbell.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Linker Error: undefined reference to __ctype_b
Message-ID:  <2211edca0604092358i5325b60ap3a593f1e3ff62d6@mail.gmail.com>
In-Reply-To: <20060409234639.H34203@spirou>
References:  <2211edca0604092303w2b5649a4uc5a4e2442cb0a882@mail.gmail.com> <20060409234639.H34203@spirou>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Ya, am trying to link against a linux library on FreeBSD.

Is it not possible to use it?

Regards
Premal.

On 4/10/06, Mikko Ty=F6l=E4j=E4rvi <mbsd@pacbell.net> wrote:
> 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 mor=
e 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?2211edca0604092358i5325b60ap3a593f1e3ff62d6>