This is the mail archive of the ecos-discuss@sourceware.org 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: Why strncasecmp' undeclared


Thank you jiang,

Thank you reply.

I first included <string.h>,next <strings.h> but
both resulted in same errors.
As far as I used [default] in configtool's [Packages]dropdownlist.

Although I changed to [net] in configtool's [Packages]dropdownlist,
then appeared no same errors.

Of course I still not fathomed intricasies of eCos.
If I want to know [Packages]dropdownlist more thoroughly,
where do you recommend to refer to?

Masahiro Ariga

----- Original Message ----- From: "jiang jet" <jetjiang@hotmail.com>
To: <ariga@link-lab.co.jp>
Cc: <ecos-discuss@ecos.sourceware.org>
Sent: Wednesday, May 30, 2007 2:45 PM
Subject: RE: [ECOS] Why strncasecmp' undeclared







I love this game : embedded system @_@
MSN:jetjiang@hotmail.com





From: "ariga masahiro" <ariga@link-lab.co.jp>
To: <ecos-discuss@ecos.sourceware.org>
Subject: [ECOS] Why strncasecmp' undeclared
Date: Wed, 30 May 2007 13:53:05 +0900

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.

did you include the right header files?? it should be <string.h> not <strings.h>,

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


_________________________________________________________________ 免费下载 MSN Explorer: http://explorer.msn.com/lccn

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




--
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]