[Ace-users] Re: [ciao-users] Quickly building CIAO

Johnny Willemsen jwillemsen at remedy.nl
Fri Sep 28 09:36:27 CDT 2007


Hi,

I have some ideas how to detect the problem on Ubuntu automatically and
enable the workaround but didn't had time to implement that, maybe with
x.6.2 we enable the workaround automatically.

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: ciao-users-bounces at cse.wustl.edu 
> [mailto:ciao-users-bounces at cse.wustl.edu] On Behalf Of Johnny 
> Willemsen
> Sent: Friday, September 28, 2007 4:24 PM
> To: 'CIAO Users Mailing List'
> Subject: Re: [ciao-users] Quickly building CIAO
> 
> Hi,
>  
> There are some problems with Ubuntu, see the FAQ section of the TAO
> Programmers Guide which you can obtain from http://www.theaceorb.nl
>  
> 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 <http://scoreboard.theaceorb.nl/>  ***
> *** Commercial service and support for ACE/TAO/CIAO             ***
> *** See http://www.theaceorb.nl/en/support.html                 *** 
> 
> 
> ________________________________
> 
> 	From: ciao-users-bounces at cse.wustl.edu
> [mailto:ciao-users-bounces at cse.wustl.edu] On Behalf Of Alessio Pace
> 	Sent: Friday, September 28, 2007 10:55 AM
> 	To: CIAO Users Mailing List
> 	Subject: Re: [ciao-users] Quickly building CIAO
> 	
> 	
> 	Hi,
> 	
> 	I would gladly contribute to the documentation, but I 
> miserably fail
> to build it. I started writing a simple script to do all in 
> one straight
> pass:
> 	
> 	
> ##############################################################
> ############# 
> 	#         Linux Ubuntu , gcc-4.1.2, 32bit arch
> 	
> ##############################################################
> #############
> 	wget
> http://download.dre.vanderbilt.edu/previous_versions/ACE+TAO+C
> IAO-5.6.1.tar.
> gz
> 	tar xvzf ACE*.tar.gz
> 	cd ACE_WRAPPERS
> 	find . -name "GNUmakefile*" -exec rm {} \;
> 	export ACE_ROOT=`pwd`
> 	echo "#include \"ace/config- linux.h\"" > ace/config.h
> 	echo "include 
> \$(ACE_ROOT)/include/makeinclude/platform_linux.GNU" >
> include/makeinclude/platform_macros.GNU
> 	export
> LD_LIBRARY_PATH=/home/puccio/CCM/ACE_wrappers/lib:$LD_LIBRARY_PATH 
> 	
> 	cd TAO
> 	export TAO_ROOT=`pwd`
> 	
> 	cd CIAO
> 	export CIAO_ROOT=`pwd`
> 	$ACE_ROOT/bin/mwc.pl CIAO_TAO.mwc -type gnuace
> 	
> 	# get and copy cidlc to the bin directory
> 	wget
> http://www.dre.vanderbilt.edu/cidlc/binary/gnu-linux/i386/cidl
c-0.6.1.bz2
> 	bunzip2 cidlc-0.6.1.bz2
> 	chmod u+x cidlc-0.6.1
> 	mv cidlc-0.6.1 ./bin/cidlc
> 	make
> 	
> ##################################################################### 
> 	
> 	
> 	But I have this error while performing the final make
> 	
> 	g++ -Wl,-O3 -DACE_HAS_LINUX_NPTL -D_REENTRANT 
> -DACE_HAS_AIO_CALLS
> -D_GNU_SOURCE   -I/home/puccio/CCM/ACE_wrappers
> -I/home/puccio/CCM/ACE_wrappers/TAO/CIAO -DACE_HAS_EXCEPTIONS
> -D__ACE_INLINE__ -I../../../../.. -I../../../.. -I../../../../orbsvcs
> -I../../.. -I../../../ciao -DCIAO_RTEVENT_BUILD_DLL -shared -Wl,-h
> -Wl,libCIAO_RTEvent.so.0.6.1 -o libCIAO_RTEvent.so.0.6.1
> .shobj/CIAO_RTEvent.o .shobj/CIAO_RTEventC.o .shobj/CIAO_RTEventS.o
> .shobj/SimpleAddressServer.o -Wl,-E 
> -L/home/puccio/CCM/ACE_wrappers/ace -L./
> -L../../../../../lib -L/home/puccio/CCM/ACE_wrappers/TAO/CIAO/ciao
> -L/home/puccio/CCM/ACE_wrappers/TAO/tao -L. -L../../../../../lib
> -lCIAO_Events_Base -lCIAO_Container -lCIAO_Client -lTAO_IFR_Client
> -lTAO_RTEvent_Serv -lTAO_RTEvent_Skel -lTAO_RTEvent -lTAO_Svc_Utils
> -lTAO_Messaging -lTAO_PI -lTAO_CodecFactory -lTAO_PortableServer
> -lTAO_Valuetype -lTAO_CosNaming -lTAO_AnyTypeCode -lTAO -lACE 
> -ldl -lpthread
> -lrt 
> 	.shobj/CIAO_RTEvent.o: In function 
> `std::basic_ostringstream<char,
> std::char_traits<char>, std::allocator<char> >::str() const':
> 	
> /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.
2/sstream:463:
> undefined reference to `std::basic_stringbuf<char, 
> std::char_traits<char>,
> std::allocator<char> >::str() const' 
> 	/usr/bin/ld: libCIAO_RTEvent.so.0.6.1: hidden symbol
> `std::basic_stringbuf<char, std::char_traits<char>, 
> std::allocator<char>
> >::str() const' isn't defined
> 	/usr/bin/ld: final link failed: Nonrepresentable 
> section on output 
> 	collect2: ld returned 1 exit status
> 	make[1]: *** [libCIAO_RTEvent.so.0.6.1] Error 1
> 	make[1]: Leaving directory
> `/home/puccio/CCM/ACE_wrappers/TAO/CIAO/ciaosvcs/Events/CIAO_RTEC'
> 	make: *** [CIAO_RTEvent] Error 2 
> 	
> 	
> 	Best regards,
> 	Alessio Pace.
> 	
> 
> 
> _______________________________________________
> ciao-users mailing list
> ciao-users at mail.cse.wustl.edu
> http://mail.cse.wustl.edu/mailman/listinfo/ciao-users
> 



More information about the Ace-users mailing list