[ECOS] Why strncasecmp' undeclared
ariga masahiro
ariga@link-lab.co.jp
Wed May 30 05:45:00 GMT 2007
Hi everyone,
I challenged to implement eCos application.
First of all I tried to make libtarget.a.
I changed Startup Type(CYG_HAL_STARTUP) "RAM".
I selected [default] in configtool's [Packages]dropdownlist.
Then Bult,and encountered next errors.
function `int match_string(const char**, const char**, int)':
/opt/ecos/ecos-2.0/packages/language/c/libc/time/v2_0/src/strptime.cxx:89: `
strncasecmp' undeclared (first use this function)
/opt/ecos/ecos-2.0/packages/language/c/libc/time/v2_0/src/strptime.cxx:89:
(Each
undeclared identifier is reported only once for each function it appears
in.)
I checked strncasecmp function and learned it needs to include <strings.h>,
so I included <strings.h> in strptime.cxx,but resulted in same errors.
I am puzzled.
Please help me out of the swamp.
Masahiro Ariga
--
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