This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Problem building latest for cygwin
- From: Bart Veer <bartv at ecoscentric dot com>
- To: swest at visitech dot biz
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 16 Dec 2005 14:56:56 +0000 (GMT)
- Subject: Re: [ECOS] Problem building latest for cygwin
- References: <03aa01c601d6$92c8cc60$6601a8c0@cyglan>
>>>>> "Steve" == Steve West <swest@visitech.biz> writes:
Steve> I am upgrading from eCos 1.0 to the latest release. I have
Steve> followed the recipe for buiulding the release. Here are the
Steve> errors I get building.
By the "latest release" I assume you mean anoncvs. Currently I do not
have the latest cygwin installed but I suspect it is a problem with
Windows headers defining "interface". Could you try the patch below
and let me know if it fixes things.
Bart
Index: cdl_exec.cxx
===================================================================
RCS file: /cvs/ecos/ecos/host/tools/configtool/standalone/common/cdl_exec.cxx,v
retrieving revision 1.14
diff -u -r1.14 cdl_exec.cxx
--- cdl_exec.cxx 5 Apr 2005 09:39:54 -0000 1.14
+++ cdl_exec.cxx 16 Dec 2005 14:53:57 -0000
@@ -382,12 +382,12 @@
std::string owner_name = owner ? owner->get_name() : "<unknown>";
CdlOption option = dynamic_cast<CdlOption>(base);
CdlComponent component = dynamic_cast<CdlComponent>(base);
- CdlInterface interface = dynamic_cast<CdlInterface>(base);
+ CdlInterface iface = dynamic_cast<CdlInterface>(base);
if (0 != option) {
throw CdlStringException (cdl_packages [n] + " is an option within " + owner_name + ", not a loadable package");
} else if (0 != component) {
throw CdlStringException (cdl_packages [n] + " is a component of " + owner_name + ", not a loadable package");
- } else if (0 != interface) {
+ } else if (0 != iface) {
throw CdlStringException (cdl_packages [n] + " is an interface within " + owner_name + ", not a loadable package");
} else {
throw CdlStringException (cdl_packages [n] + " is not a loadable package");
--
Bart Veer eCos Configuration Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss