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] |
Hi, I 've got the following error while compiling ecos for the powerpc ec555: (output is cleaned up for readability, ... is the ecos install path, [...] the build dir) .../ecos/packages/language/c/libc/time/current/src/strptime.cxx: In function `int match_string(const char**, const char**, int)': /home/jveldema/localecos/ecos/packages/language/c/libc/time/current/src/strptime.cxx:87: `strlen' undeclared (first use this function) .../ecos/packages/language/c/libc/time/current/src/strptime.cxx:87: (Each undeclared identifier is reported only once for each function it appears in.) .../ecos/packages/language/c/libc/time/current/src/strptime.cxx:89: `strncasecmp' undeclared (first use this function) make[1]: *** [src/strptime.o.d] Error 1 These are the header files included for strptime (checked with gcc -M): .../ecos/packages/language/c/libc/time/current/src/strptime.cxx [...]/install/include/stddef.h /usr/local/crossgcc/powerpc-eabi/lib/gcc-lib/powerpc-eabi/3.2.1/include/stddef.h [...]/install/include/stdlib.h [...]/install/include/pkgconf/isoinfra.h [...]/install/include/cyg/infra/cyg_type.h [...]/install/include/cyg/hal/basetype.h [...]/install/include/cyg/libc/stdlib/atox.inl [...]/install/include/pkgconf/libc_stdlib.h [...]/install/include/cyg/infra/cyg_trac.h [...]/install/include/pkgconf/infra.h [...]/install/include/pkgconf/system.h [...]/install/include/cyg/infra/cyg_ass.h [...]/install/include/cyg/libc/stdlib/abs.inl [...]/install/include/cyg/libc/stdlib/div.inl [...]/install/include/ctype.h [...]/install/include/time.h [...]/install/include/cyg/libc/time/time.h [...]/install/include/pkgconf/libc_time.h [...]/install/include/cyg/libc/time/time.inl So I believe string.h should be included in strptime.h Best regards, Jan
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |