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

James, Steven steven.james at logicacmg.com
Fri Sep 28 09:42:24 CDT 2007


Following the notes in the TAO programmers guide knidly produced by
Remedy i did build Ciao 0.5.5 on ubuntu easily enough my only problems
were getting the demos to run kept getting an invald plan error. I have
yet to have a lot of time to investigate the error and will be trying
again with 0.6.1 release. 

So my advice have a look at that document TPG it helped a lot..

Steve

-----Original Message-----
From: ciao-users-bounces at cse.wustl.edu
[mailto:ciao-users-bounces at cse.wustl.edu] On Behalf Of Johnny Willemsen
Sent: Freitag, 28. September 2007 16:36
To: 'CIAO Users Mailing List'
Subject: Re: [ciao-users] Quickly building CIAO

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
> 

_______________________________________________
ciao-users mailing list
ciao-users at mail.cse.wustl.edu
http://mail.cse.wustl.edu/mailman/listinfo/ciao-users


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.



More information about the Ace-users mailing list