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]

Re: Linker errors while linking ecos application with libc.a


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]