[ECOS] Linker errors while linking ecos application with libc.a

Balasaravanan P pbalasaravanan@gmail.com
Thu Jun 23 05:05:00 GMT 2005


I am able to build the application now.

Actually the sting.h file was not included in the strptime.cxx in my
version of the file.

After including it, this works fine.

Thank you.
Bala.


On 6/23/05, Andrew Lunn <andrew@lunn.ch> wrote:
> On Wed, Jun 22, 2005 at 06:43:54PM +0530, Balasaravanan P wrote:
> > Thanks Andrew,
> > I changed the template from kernel to default which provides most of
> > these functions.
> >
> > But still one error persists for the call "localtime" in which it says
> > "localtime_r" undefined.
> 
> lunn@londo:~/eCos/work$ ecosconfig tree lunn@londo:~/eCos/work$ make -s
> headers finished
> build finished
> lunn@londo:~/eCos/work$ ( cd language/c/libc/time/current/ ; make -s tests)
> lunn@londo:~/eCos/work$ ./install/tests/language/c/libc/time/current/tests/localtime
> INFO:<Starting tests from testcase /home/lunn/eCos/anoncvs-clean/packages/language/c/libc/time/current/tests/localtime.c for C library localtime() function>
> PASS:<localtime test #1>
> PASS:<localtime test #2>
> PASS:<localtime Y2K test #3>
> PASS:<localtime test #4>
> EXIT:<Finished tests from testcase /home/lunn/eCos/anoncvs-clean/packages/language/c/libc/time/current/tests/localtime.c for C library localtime() function>
> 
> With the current anoncvs it should just work. There is no need to
> change any configuration options.
> 
>        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



More information about the Ecos-discuss mailing list