This is the mail archive of the
ecos-bugs@sources.redhat.com
mailing list for the eCos project.
[Bug 1000037] New: missing declaration/references when using iostream
- From: bugzilla at ecoscentric dot com
- To: ecos-bugs at sources dot redhat dot com
- Date: Thu, 17 Jul 2003 20:35:22 +0100 (BST)
- Subject: [Bug 1000037] New: missing declaration/references when using iostream
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000037
Summary: missing declaration/references when using iostream
Product: eCos
Version: unknown
Platform: linux (Linux synthetic target)
OS/Version: HostOS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: normal
Component: ConfigTool
AssignedTo: jld@ecoscentric.com
ReportedBy: dpinson@matrics.com
QAContact: ecos-bugs@sources.redhat.com
I have installed eCos 2.0. I have successfully built all the tests and examples,
however, when using C++ and referencing the iostream include several
declarations report as missing (mostly ctype_base). I can work around 2 of them,
but the failed to link with a missing (ios_base::Init) reference.
This is easily recreated by changing the hello.c example a C++ (change the
makefile to use g++ instead of gcc) and add the #include <iostream>
i.e.
#include <cstdio>
#include <iostream>
int main(void) {
printf("Hello\n");
return 0;
}
cstdio by itself is missing remove, rename, tmpfile, tmpnam (I check the check
box that reports to fill this in in configtool, and made the path value the same
as the otthers.
isostream misses the ctype_base define (i.e. _U , _L, ...)
I can work-around these two to get the compile to work, however, the link is
missing std::ios_base::Init::Init[in-charge]() and its' coresponding destructor.
Any help would be greatly appreciated
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.