This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: unresolved _ctype_ reference when invoking isalpha(char) from <ctype.h>
- From: Andrew Lunn <andrew at lunn dot ch>
- To: dproietti at corestreet dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 4 Mar 2005 20:32:35 +0100
- Subject: Re: [ECOS] unresolved _ctype_ reference when invoking isalpha(char) from <ctype.h>
- References: <1b6020020503031520374d81d9@mail.gmail.com>
On Thu, Mar 03, 2005 at 06:20:46PM -0500, Dan Proietti wrote:
> I've built a fairly recent version of eCos from the anonymous CVS
> repository for the Atmel AT91EB40A target (eb40a). I'm using the
> Linux arm-elf toolchain from eCosCentric. I'm working from a
> completely default configuration:
>
> ecosconfig new eb40a
> ecosconfig tree
> make
>
> When I try to link a simple program that invokes a function from
> <ctype.h> it fails with an unresolved reference to _ctype_.
>
> Here's the simple program:
>
> #include <ctype.h>
>
> int main(int argc, char ** argv) {
> char c = 'b';
> return isalpha(c);
> }
I just tried this and it works fine for me.
What happens when you do:
cd language/c/libc/i18n/current/ ; make tests
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss