knowledge-database (beta)

Current group: comp.soft-sys.ace

RE: [ace-users] Compile Error on IRIX32 ACE 5.4.3

RE: [ace-users] Compile Error on IRIX32 ACE 5.4.3  
Johnny Willemsen
From:Johnny Willemsen
Subject:RE: [ace-users] Compile Error on IRIX32 ACE 5.4.3
Date:22 Jan 2005 15:30:00 -0600
Hi,

> >> >> SYNOPSIS:
> >> >> I am trying to compile the new ACE/TAO beta release kit
> >> >> on IRIX32 as
> >> >> noted above. I get a compile error as follows:
> >> >>
> >> >> cc-1466 CC: ERROR File = ../../ace/Capabilities.cpp, Line = 364
> >> >> class "ACE_Hash" is not an entity that can be
> >> >> instantiated.
> >> >>
> >> >> template class ACE_Hash;
> >> >> ^
> >> >>
> >> >> cc-1466 CC: ERROR File = ../../ace/Capabilities.cpp, Line = 365
> >> >> class "ACE_Equal_To" is not an entity that can be
> >> >> instantiated.
> >> >>
> >> >> template class ACE_Equal_To;
> >> >> ^
> >> >>
> >> >> 2 errors detected in the compilation of
> >> "../../ace/Capabilities.cpp".
> >> >>
> >> >>
> >> >> DESCRIPTION:
> >> >> See Above note.
> >> >>
> >> >> REPEAT BY:
> >> >> I ran configure as noted above and was able to
> >> >> reproduce the same
> >> >> behaviour many times. I have not had issues in SuSE 9.1.
> >> >
> >> > Could you try to open Capabilities.cpp, you will find the
> >> following lines
> >> > on
> >> > line 365
> >> >
> >> > #if !defined(VXWORKS)
> >> > template class ACE_Hash;
> >> > template class ACE_Equal_To;
> >> > #endif /* VXWORKS */
> >> >
> >> > Could you remove this complete block of code and rebuild
> >> and let us know
> >> > if
> >> > this works? I think we need to remove this code completely.
> >> Did you try to
> >> > build ACE using the traditional way using GNU make.
> >> >
> >> This fix appears to have fixed the problem. To getthe build
> >> to work I also
> >> had to add the compile flag -no_auto_include. In addition, to
> >> reduce the
> >> number of warnings I added inline on lines 109, 114, 125,
> and 132 of
> Time_Value.h.
> >
> > I will remove the code tomorrow. I have to look at the
> inline changes.
> Could
> > you send us some info about the no_auto_include option you added?
> >
> >> > A question, we do daily builds for ACE/TAO for dozens of
> >> platforms. We as
> >> > Remedy IT have two Irix systems, but no current Irix OS
> version and
> compiler. All build results are published online at
> >> > http://www.dre.vanderbilt.edu/scoreboard/integrated.html.
> >> Are you able to
> >> > run a daily build each night and publish the build results
> >> online so that
> >> > we
> >> > can attach to the scoreboard. Then we can get a better
> >> overview of the
> >> > Irix
> >> > support. See
> >> >
> >> http://cvs.doc.wustl.edu/viewcvs.cgi/*checkout*/README?cvsroot
> >> =autobuild
> >> > what is means to setup an autobuild.
> >> >
> >> I would be willing to do this. Do you have a cron job that runs you
> nightly builds? If so could you pass it along?
> >
> > A cront from one our systems
> >
> > # DO NOT EDIT THIS FILE - edit the master and reinstall.
> > # (/tmp/crontab.XXXXydWCJu installed on Tue Dec 21 19:59:30 2004) #
> (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie
> Exp
> > $)
> > 0 21 * * *
> /home/build/ACE/autobuild/configs/autobuild/remedynl/eowyn.sh
> >
> > Look in the autobuild/configs/autobuild/remedynl directory
> for the files we
> > use. The readme of autobuild should explain things. Just publish the
> build
>
> > results somewhere on the web, let us know the link and we
> will attach
> the
> > scoreboard. If you need help setting things up, contact us.
>
> I just comented out lines 26 and 27 in Entity_Manager.cpp ine the
> ACEXML/parser/parser dir to get things to build further.
>
>
It seems your build is using explicit templates, try to not use them. Check
your config.h for ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION and comment out
that define, or add templates=implicit to your
include/makeinclude/platform_macros.GNU file if you have that

Regards,

Johnny Willemsen
Remedy IT
Leeghwaterstraat 25
2811 DT Reeuwijk
The Netherlands
www.theaceorb.nl / www.remedy.nl

   

Copyright © 2006 knowledge-database   -   All rights reserved