[Ace-users] [ace-users] ACE 5.6.1 compile error
Johnny Willemsen
jwillemsen at remedy.nl
Mon Oct 22 02:13:21 CDT 2007
Hi,
Thanks for using the PRF form. Can you try a newer version of Sun Forte? It
looks you have an old version. We do build ACE on SunOS, see
http://scoreboard.theaceorb.nl for the scoreboard.
Regards,
Johnny Willemsen
Remedy IT
Postbus 101
2650 AC Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl
*** Integrated compile and test statistics see
http://scoreboard.theaceorb.nl ***
*** Commercial service and support for ACE/TAO/CIAO ***
*** See http://www.theaceorb.nl/en/support.html ***
> -----Original Message-----
> From: ace-users-bounces at cse.wustl.edu
> [mailto:ace-users-bounces at cse.wustl.edu] On Behalf Of fixinko
> Sent: Monday, October 22, 2007 9:05 AM
> To: ace-users at cs.wustl.edu
> Subject: [ace-users] ACE 5.6.1 compile error
>
> ACE VERSION:
> 5.6.1
>
> HOST MACHINE and OPERATING SYSTEM:
> SunOS XXXXX 5.8 Generic_108528-29 sun4u sparc
> SUNW,Sun-Blade-1500
>
> COMPILER NAME AND VERSION (AND PATCHLEVEL):
> SUN Forte C++ Enterprise Edition 6 update 2
>
> THE $ACE_ROOT/ace/config.h FILE
> #include "ace/config-sunos5.8.h"
>
> AREA/CLASS/EXAMPLE AFFECTED:
> template <class Y>ACE_Weak_Bound_Ptr<X, ACE_LOCK>& operator=
> (const ACE_Strong_Bound_Ptr<Y, ACE_LOCK> &r)
>
> SYNOPSIS:
> Can't compile ACE 5.6.1
>
> DESCRIPTION:
> Can't compile ACE 5.6.1 on Sun Solaris 5.8 with SUN Forte C++.
>
> /opt/SUNWspro/bin/CC -DHAVE_CONFIG_H -I.
> -I../../../../protocols/ace/RMCast -I../../../ace
> -I../../../.. -I../../..
> -DACE_RMCAST_BUILD_DLL -I/usr/openwin/include -g -mt -c
> ../../../../protocols/ace/RMCast/Link.cpp -KPIC -DPIC -o
> .libs/libACE_RMCast_la-Link.o
> "../../../../ace/Truncate.h", line 384: Warning (Anachronism):
> Type names qualified by template parameters require "typename".
> "../../../../ace/Truncate.h", line 384: Warning (Anachronism):
> Type names qualified by template parameters require "typename".
> "../../../../ace/Truncate.h", line 384: Warning (Anachronism):
> Type names qualified by template parameters require "typename".
> "../../../../ace/Bound_Ptr.h", line 171: Error: Cannot return
> ACE_Strong_Bound_Ptr<ACE_RMCast::Message, ACE_Thread_Mutex> from a
> function that should return ACE_Weak_Bound_Ptr<ACE_RMCast::Message,
> ACE_Thread_Mutex>&.
> "../../../../protocols/ace/RMCast/Link.cpp", line 122:
> Where:
> While instantiating "ACE_Strong_Bound_Ptr<ACE_RMCast::Message,
> ACE_Thread_Mutex>::operator=<ACE_RMCast::Message>(const
> ACE_Strong_Bound_Ptr<ACE_RMCast::Message, ACE_Thread_Mutex>&)".
> "../../../../protocols/ace/RMCast/Link.cpp", line 122:
> Where:
> Instantiated from non-template code.
> 1 Error(s) and 3 Warning(s) detected.
> *** Error code 1
> make: Fatal error: Command failed for target
> `libACE_RMCast_la-Link.lo'
> Current working directory
> /export/home/mbrngal/ACE_wrappers/build/protocols/ace/RMCast
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory
> /export/home/mbrngal/ACE_wrappers/build/protocols/ace
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory
> /export/home/mbrngal/ACE_wrappers/build/protocols
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
>
>
>
> Configuring and compiling with following flags:
>
> CFLAGS="-I/export/home/mbrngal/diameter/include
> -L/export/home/mbrngal/diameter/lib"
> CC=/opt/SUNWspro/bin/cc
> CXX=/opt/SUNWspro/bin/CC
>
> LD_LIBRARY_PATH=/home/mbrngal/ACE_wrappers/lib:/lib:/usr/dt/li
> b:/usr/openwin/lib::/usr/local/lib:/opt/omni/library32:/home/m
> brngal/diameter/lib
>
> OpenSSL> version
> OpenSSL 0.9.8f 11 Oct 2007
>
> ../configure --prefix=/export/home/mbrngal/diameter
> --with-openssl=/export/home/mbrngal/diameter
> --with-openssl-libdir=/export/home/mbrngal/diameter/lib
> --with-openssl-include=/export/home/mbrngal/diameter/include
> --disable-ace-examples --disable-ace-tests
>
>
>
>
> What's wrong? Some library is missing?
>
>
> Thanks
>
>
> Michal
>
>
> --
> fixinko at fixinko.sk
> ICQ: #99529165
>
> _______________________________________________
> ace-users mailing list
> ace-users at mail.cse.wustl.edu
> http://mail.cse.wustl.edu/mailman/listinfo/ace-users
>
More information about the Ace-users
mailing list