[Ace-users] [ace-users] ACE 5.6.1 compile error

fixinko fixinko at fixinko.sk
Mon Oct 22 02:04:48 CDT 2007


     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/lib:/usr/openwin/lib::/usr/local/lib:/opt/omni/library32:/home/mbrngal/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



More information about the Ace-users mailing list