From: Balasaravanan P <pbalasaravanan@gmail.com>
To: Balasaravanan P <pbalasaravanan@gmail.com>,
ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Linker errors while linking ecos application with libc.a
Date: Wed, 22 Jun 2005 13:14:00 -0000 [thread overview]
Message-ID: <122f850005062206136936e9f7@mail.gmail.com> (raw)
In-Reply-To: <20050622105717.GD12265@lunn.ch>
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.
For this I tried enbling "Provide BSD compatiblity functions" & "Posix
time functions" & "localtime_r" when I enable also these options
kernel is not building it says the following error
"
ecos-c/New/eCos/ecos-2.0/packages/language/c/libc/time/v2_0/src/strptime.cxx: In
function `int match_string(const char**, const char**, int)':
/ecos-c/New/eCos/ecos-2.0/packages/language/c/libc/time/v2_0/src/strptime.cxx:87:
`
strlen' undeclared (first use this function)
/ecos-c/New/eCos/ecos-2.0/packages/language/c/libc/time/v2_0/src/strptime.cxx:87:
(Each
undeclared identifier is reported only once for each function it appears
in.)
/ecos-c/New/eCos/ecos-2.0/packages/language/c/libc/time/v2_0/src/strptime.cxx:89:
`
strncasecmp' undeclared (first use this function)
make[1]: Leaving directory
`/ecos-c/New/eCos/Application/ecos_build/language/c/libc/time/v2_0'
make[1]: *** [src/strptime.o.d] Error 1
make: Leaving directory `/ecos-c/New/eCos/Application/ecos_build'
make: *** [build] Error 2
"
Please let me know if I had to enable any other options.
Thanks,
Bala.
On 6/22/05, Andrew Lunn <andrew@lunn.ch> wrote:
> On Wed, Jun 22, 2005 at 04:04:13PM +0530, Balasaravanan P wrote:
> > Basically I am using sprintf, strcmp, strcpy ...
> >
> > If I am not linking libc.a I am receving lot of undefined errors for
> > all these functions.
>
> If eCos is configured to build these functions they will be in
> libtarget.a.
>
> Which template are you using. The minimal template does not have these
> but the default template does.
>
> 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
next prev parent reply other threads:[~2005-06-22 13:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-22 9:27 Balasaravanan P
2005-06-22 10:15 ` Andrew Lunn
2005-06-22 10:34 ` Balasaravanan P
2005-06-22 10:57 ` Andrew Lunn
2005-06-22 13:14 ` Balasaravanan P [this message]
2005-06-22 18:55 ` Andrew Lunn
2005-06-23 5:05 ` Balasaravanan P
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=122f850005062206136936e9f7@mail.gmail.com \
--to=pbalasaravanan@gmail.com \
--cc=ecos-discuss@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).