* [ECOS] Why strncasecmp' undeclared @ 2007-05-30 5:45 ariga masahiro 2007-05-30 6:13 ` jiang jet 0 siblings, 1 reply; 7+ messages in thread From: ariga masahiro @ 2007-05-30 5:45 UTC (permalink / raw) To: ecos-discuss 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [ECOS] Why strncasecmp' undeclared 2007-05-30 5:45 [ECOS] Why strncasecmp' undeclared ariga masahiro @ 2007-05-30 6:13 ` jiang jet 2007-05-30 11:18 ` ariga masahiro 0 siblings, 1 reply; 7+ messages in thread From: jiang jet @ 2007-05-30 6:13 UTC (permalink / raw) To: ariga; +Cc: ecos-discuss [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset=gb2312; format=flowed, Size: 1630 bytes --] 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ECOS] Why strncasecmp' undeclared 2007-05-30 6:13 ` jiang jet @ 2007-05-30 11:18 ` ariga masahiro 2007-05-30 11:51 ` Gary Thomas 0 siblings, 1 reply; 7+ messages in thread From: ariga masahiro @ 2007-05-30 11:18 UTC (permalink / raw) To: jiang jet; +Cc: ecos-discuss [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; format=flowed; charset="gb2312"; reply-type=response, Size: 2517 bytes --] 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ECOS] Why strncasecmp' undeclared 2007-05-30 11:18 ` ariga masahiro @ 2007-05-30 11:51 ` Gary Thomas 2007-05-31 2:27 ` ariga masahiro 0 siblings, 1 reply; 7+ messages in thread From: Gary Thomas @ 2007-05-30 11:51 UTC (permalink / raw) To: ariga masahiro; +Cc: ecos-discuss [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset=GB2312, Size: 3298 bytes --] -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ariga masahiro wrote: > 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? Enable 'CYGFUN_LIBC_STRING_BSD_FUNCS' to get these (non ISO C Standard) functions. > > 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 >> >> > > - -- - ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world - ------------------------------------------------------------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFGXV2UmaKbSsQGV8ARAkUWAJ9L4VLw494d8arQQHd4nZMxetbFPwCfUD97 Qe5/PQa8w9k9bnQExTC4tFg= =R0Ce -----END PGP SIGNATURE----- -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ECOS] Why strncasecmp' undeclared 2007-05-30 11:51 ` Gary Thomas @ 2007-05-31 2:27 ` ariga masahiro 2007-05-31 5:42 ` ariga masahiro 0 siblings, 1 reply; 7+ messages in thread From: ariga masahiro @ 2007-05-31 2:27 UTC (permalink / raw) To: Gary Thomas; +Cc: ecos-discuss [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; format=flowed; charset="GB2312"; reply-type=original, Size: 4159 bytes --] Thank you Gary, I found the cause of errors. When I checked 'CYGFUN_LIBC_STRING_BSD_FUNCS' option, I found I commented implements line like next. ##//20070516 implements CYGINT_ISO_STRING_BSD_FUNCS When I revived the line,I could built without erros. I sould apologise everyone. Thank you again. Masahiro Ariga ----- Original Message ----- From: "Gary Thomas" <gary@mlbassoc.com> To: "ariga masahiro" <ariga@link-lab.co.jp> Cc: <ecos-discuss@ecos.sourceware.org> Sent: Wednesday, May 30, 2007 8:18 PM Subject: Re: [ECOS] Why strncasecmp' undeclared > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > ariga masahiro wrote: >> 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? > > Enable 'CYGFUN_LIBC_STRING_BSD_FUNCS' to get these (non ISO C Standard) > functions. > >> >> 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 >>> >>> >> >> > > > - -- > - ------------------------------------------------------------ > Gary Thomas | Consulting for the > MLB Associates | Embedded world > - ------------------------------------------------------------ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org > > iD8DBQFGXV2UmaKbSsQGV8ARAkUWAJ9L4VLw494d8arQQHd4nZMxetbFPwCfUD97 > Qe5/PQa8w9k9bnQExTC4tFg= > =R0Ce > -----END PGP SIGNATURE----- > > -- > 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ECOS] Why strncasecmp' undeclared 2007-05-31 2:27 ` ariga masahiro @ 2007-05-31 5:42 ` ariga masahiro 2007-05-31 13:02 ` Andrew Lunn 0 siblings, 1 reply; 7+ messages in thread From: ariga masahiro @ 2007-05-31 5:42 UTC (permalink / raw) To: ariga masahiro, Gary Thomas; +Cc: ecos-discuss [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; format=flowed; charset="GB2312"; reply-type=response, Size: 9375 bytes --] Hi Gary, After I revived "implements" line in 'CYGFUN_LIBC_STRING_BSD_FUNCS' option, I could built without erros,using [default] in configtool's [Packages]dropdownlist. But when I used [net] in configtool's [Packages]dropdownlist, I confronted next errors. Several conflict errors appeared,but I relied on default amendments. I felt obliged to report the event considering error messages, so I posted it,although I am not sure if I done someting wrong. -- last part of buld output /ecos-c/cygwin/home/LINK/inserter20070531-4-app-net/untitled1_install/include/pkgconf/system.h:33:1: warning: this is the location of the previous definition sh-elf-gcc -c -I/ecos-c/cygwin/home/LINK/inserter20070531-4-app-net/untitled1_install/include -I/opt/ecos/ecos-2.0/packages/language/c/libc/stdio/v2_0 -I/opt/ecos/ecos-2.0/packages/language/c/libc/stdio/v2_0/src -I/opt/ecos/ecos-2.0/packages/language/c/libc/stdio/v2_0/tests -I. -I/opt/ecos/ecos-2.0/packages/language/c/libc/stdio/v2_0/src/output/ -D_KERNEL -D__ECOS -gdwarf-22 -mb -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -Wp,-MD,src/output/printf.tmp -o src/output/language_c_libc_stdio_printf.o /opt/ecos/ecos-2.0/packages/language/c/libc/stdio/v2_0/src/output/printf.cxx sh-elf-gcc -c -I/ecos-c/cygwin/home/LINK/inserter20070531-4-app-net/untitled1_install/include -I/opt/ecos/ecos-2.0/packages/language/c/libc/stdio/v2_0 -I/opt/ecos/ecos-2.0/packages/language/c/libc/stdio/v2_0/src -I/opt/ecos/ecos-2.0/packages/language/c/libc/stdio/v2_0/tests -I. -I/opt/ecos/ecos-2.0/packages/language/c/libc/stdio/v2_0/src/output/ -D_KERNEL -D__ECOS -gdwarf-22 -mb -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -Wp,-MD,src/output/vfnprintf.tmp -o src/output/language_c_libc_stdio_vfnprintf.o /opt/ecos/ecos-2.0/packages/language/c/libc/stdio/v2_0/src/output/vfnprintf.cxx In file included from /ecos-c/cygwin/home/LINK/inserter20070531-4-app-net/untitled1_install/include/pkgconf/hal.h:17, from /ecos-c/cygwin/home/LINK/inserter20070531-4-app-net/untitled1_install/include/pkgconf/kernel.h:13, from /ecos-c/cygwin/home/LINK/inserter20070531-4-app-net/untitled1_install/include/cyg/posix/muttypes.h:60, from /ecos-c/cygwin/home/LINK/inserter20070531-4-app-net/untitled1_install/include/sys/types.h:97, from /ecos-c/cygwin/home/LINK/inserter20070531-4-app-net/untitled1_install/include/unistd.h:66, from /ecos-c/cygwin/home/LINK/inserter20070531-4-app-net/untitled1_install/include/cyg/libc/stdio/io.hxx:68, from /ecos-c/cygwin/home/LINK/inserter20070531-4-app-net/untitled1_install/include/cyg/libc/stdio/stream.hxx:66, from /opt/ecos/ecos-2.0/packages/language/c/libc/stdio/v2_0/src/output/vfnprintf.cxx:100: /ecos-c/cygwin/home/LINK/inserter20070531-4-app-net/untitled1_install/include/pkgconf/hal_sh_sh77x9_inserter.h:41:1: warning: "CYG_HAL_STARTUP_RAM" redefined In file included from /ecos-c/cygwin/home/LINK/inserter20070531-4-app-net/untitled1_install/include/pkgconf/infra.h:12, from /ecos-c/cygwin/home/LINK/inserter20070531-4-app-net/untitled1_install/include/cyg/infra/cyg_ass.h:66, from /ecos-c/cygwin/home/LINK/inserter20070531-4-app-net/untitled1_install/include/cyg/libc/stdio/stream.hxx:63, from /opt/ecos/ecos-2.0/packages/language/c/libc/stdio/v2_0/src/output/vfnprintf.cxx:100: /ecos-c/cygwin/home/LINK/inserter20070531-4-app-net/untitled1_install/include/pkgconf/system.h:33:1: warning: this is the location of the previous definition make[1]: Leaving directory `/ecos-c/cygwin/home/LINK/inserter20070531-4-app-net/untitled1_build/language/c/libc/stdio/v2_0' /opt/ecos/ecos-2.0/packages/language/c/libc/stdio/v2_0/src/output/vfnprintf.cxx: In make: Leaving directory `/ecos-c/cygwin/home/LINK/inserter20070531-4-app-net/untitled1_build' function `int vfnprintf(CYG_ADDRESS (*)[9999], unsigned int, const char*, void*)': /opt/ecos/ecos-2.0/packages/language/c/libc/stdio/v2_0/src/output/vfnprintf.cxx:675: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. make[1]: *** [src/output/vfnprintf.o.d] Error 1 make: *** [build] Error 2 Masahiro Ariga ----- Original Message ----- From: "ariga masahiro" <ariga@link-lab.co.jp> To: "Gary Thomas" <gary@mlbassoc.com> Cc: <ecos-discuss@ecos.sourceware.org> Sent: Thursday, May 31, 2007 9:23 AM Subject: Re: [ECOS] Why strncasecmp' undeclared > Thank you Gary, > > I found the cause of errors. > When I checked 'CYGFUN_LIBC_STRING_BSD_FUNCS' option, > I found I commented implements line like next. > > ##//20070516 implements CYGINT_ISO_STRING_BSD_FUNCS > > When I revived the line,I could built without erros. > > I sould apologise everyone. > > Thank you again. > > Masahiro Ariga > > ----- Original Message ----- > From: "Gary Thomas" <gary@mlbassoc.com> > To: "ariga masahiro" <ariga@link-lab.co.jp> > Cc: <ecos-discuss@ecos.sourceware.org> > Sent: Wednesday, May 30, 2007 8:18 PM > Subject: Re: [ECOS] Why strncasecmp' undeclared > > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> ariga masahiro wrote: >>> 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? >> >> Enable 'CYGFUN_LIBC_STRING_BSD_FUNCS' to get these (non ISO C Standard) >> functions. >> >>> >>> 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 >>>> >>>> >>> >>> >> >> >> - -- >> - ------------------------------------------------------------ >> Gary Thomas | Consulting for the >> MLB Associates | Embedded world >> - ------------------------------------------------------------ >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.7 (GNU/Linux) >> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org >> >> iD8DBQFGXV2UmaKbSsQGV8ARAkUWAJ9L4VLw494d8arQQHd4nZMxetbFPwCfUD97 >> Qe5/PQa8w9k9bnQExTC4tFg= >> =R0Ce >> -----END PGP SIGNATURE----- >> >> -- >> 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 > > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ECOS] Why strncasecmp' undeclared 2007-05-31 5:42 ` ariga masahiro @ 2007-05-31 13:02 ` Andrew Lunn 0 siblings, 0 replies; 7+ messages in thread From: Andrew Lunn @ 2007-05-31 13:02 UTC (permalink / raw) To: ariga masahiro; +Cc: Gary Thomas, ecos-discuss On Thu, May 31, 2007 at 11:26:56AM +0900, ariga masahiro wrote: > Hi Gary, > > After I revived "implements" line in 'CYGFUN_LIBC_STRING_BSD_FUNCS' option, > I could built without erros,using [default] in configtool's > [Packages]dropdownlist. > > But when I used [net] in configtool's [Packages]dropdownlist, > I confronted next errors. When changing templates you should always start from an empty directory. Do not try to convert an existing work directory from one template to another. 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-05-31 12:30 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-05-30 5:45 [ECOS] Why strncasecmp' undeclared ariga masahiro 2007-05-30 6:13 ` jiang jet 2007-05-30 11:18 ` ariga masahiro 2007-05-30 11:51 ` Gary Thomas 2007-05-31 2:27 ` ariga masahiro 2007-05-31 5:42 ` ariga masahiro 2007-05-31 13:02 ` Andrew Lunn
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).