This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: unresolved _ctype_ reference when invoking isalpha(char) from <ctype.h>


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]