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
 Re: [ace-users] Compile Error on IRIX32 ACE 5.4.3  
Doug McCorkle
From:Johnny Willemsen
Subject:RE: [ace-users] Compile Error on IRIX32 ACE 5.4.3
Date:23 Jan 2005 10:18:49 -0600
Hi Doug and JT,

JT, it seems on SGI Irix we detect to use explicit templates. This is not
really maintained, do you know why autoconf would detect this, implicit
templates would be the way to go.

Any idea on the -no_auto_include flag that Doug reports?

Johnny

> -----Original Message-----
> From: Doug McCorkle [mailto:mccdo@iastate.edu]
> Sent: zaterdag 22 januari 2005 18:46
> To: Johnny Willemsen
> Cc: ace-users@cse.wustl.edu
> Subject: RE: [ace-users] Compile Error on IRIX32 ACE 5.4.3
>
> > 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?
> >
> from the CC man page:
>
> -auto_include
> -no_auto_include
> (CC only) The default is -auto_include. The compiler
> implicitly includes template definition files if such
> definitions are needed. -no_auto_include
> disables implicit
> inclusion of template implementation files.
>
> >> > 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 will look at those files tomorrow.
>
> > Regards,
> >
> > Johnny Willemsen
> > Remedy IT
> > Leeghwaterstraat 25
> > 2811 DT Reeuwijk
> > The Netherlands
> > www.theaceorb.nl / www.remedy.nl
> >
> >
> >
>
>
From:Doug McCorkle
Subject:Re: [ace-users] Compile Error on IRIX32 ACE 5.4.3
Date:23 Jan 2005 11:27:02 -0600

On Jan 23, 2005, at 7:27 AM, Johnny Willemsen wrote:

> Hi Doug and JT,
>
> JT, it seems on SGI Irix we detect to use explicit templates. This is
> not
> really maintained, do you know why autoconf would detect this, implicit
> templates would be the way to go.
>

Yesterday I tried your suggestion of commenting out the explicit
templates define and I then got link errors where as if I just
commented out the two lines that you suggested everything built fine.
So I think the explicit templates are needed on IRIX.

Also, the info I provided on the Time file was in reference to warnings
not errors. Putting inline in front of a few of the functions just
reduced warning output.

> Any idea on the -no_auto_include flag that Doug reports?
>
> Johnny
>
>> -----Original Message-----
>> From: Doug McCorkle [mailto:mccdo@iastate.edu]
>> Sent: zaterdag 22 januari 2005 18:46
>> To: Johnny Willemsen
>> Cc: ace-users@cse.wustl.edu
>> Subject: RE: [ace-users] Compile Error on IRIX32 ACE 5.4.3
>>
>>> 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?
>>>
>> from the CC man page:
>>
>> -auto_include
>> -no_auto_include
>> (CC only) The default is -auto_include. The compiler
>> implicitly includes template definition files if such
>> definitions are needed. -no_auto_include
>> disables implicit
>> inclusion of template implementation files.
>>
>>>>> 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 will look at those files tomorrow.
>>
>>> 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