[ECOS] unresolved _ctype_ reference when invoking isalpha(char) from <ctype.h>

Andrew Lunn andrew@lunn.ch
Fri Mar 4 19:32:00 GMT 2005

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


Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list