From: Andrew Lunn <andrew@lunn.ch>
To: Indra Antonius Simalango <indra@vlsi.itb.ac.id>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] a question about removing file function in eCos programming
Date: Tue, 19 Jul 2005 15:16:00 -0000 [thread overview]
Message-ID: <20050719151542.GQ15048@lunn.ch> (raw)
In-Reply-To: <Pine.LNX.4.33.0507192131360.23508-100000@ic.vlsi.itb.ac.id>
> I've successfully compiled and linked it in linux, but I've found error
> while linking it in eCos v2.0 with this error message :
>
> file.o : In function 'wrpage' :
> file.o(.text+0x69a):undefined reference to 'remove'
>
> Is 'remove' function really undefined in eCos?
Yes, use unlink() instead, or rmdir() is you are trying to delete a
directory. remove is just a wrapper around these two functions.
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-07-19 15:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1121783251.1835.ezmlm@ecos.sourceware.org>
2005-07-19 14:46 ` Indra Antonius Simalango
2005-07-19 15:16 ` Andrew Lunn [this message]
2005-07-19 15:38 ` Indra Antonius Simalango
2005-07-19 18:17 ` Andrew Lunn
2005-07-19 18:38 ` Indra Antonius Simalango
2005-07-27 4:55 ` [ECOS] a question about fcntl() in ecos posix programming Indra Antonius Simalango
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=20050719151542.GQ15048@lunn.ch \
--to=andrew@lunn.ch \
--cc=ecos-discuss@ecos.sourceware.org \
--cc=indra@vlsi.itb.ac.id \
/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).