[Ace-users] Re: [tao-users] [tao-Bugs]: Compilation error for tao 1.5.9 on solaris 2 with CC compiler 5.7

Johnny Willemsen jwillemsen at remedy.nl
Tue Jul 17 00:39:37 CDT 2007


Hi,
 
Don't use the configure way of building, use the tradional way as described
in ACE-INSTALL.html or in the TPG (see http://www.theaceorb.nl). Create a
config.h/platform_macros.GNU manually.
 
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: prakash [mailto:prakash.kadam at gmail.com] 
	Sent: Tuesday, July 17, 2007 6:16 AM
	To: Johnny Willemsen
	Cc: tao-users at cse.wustl.edu
	Subject: Re: [tao-Bugs]: Compilation error for tao 1.5.9 on solaris
2 with CC compiler 5.7
	
	
	I compiled as normal procedure.
	Here are the steps how i compile it.
	step 1. untar 
	step 2. go tp ACE_wrapper directory
	step 3. create build directory as 'sahyadri'
	step 4. go to build directory 'sahyadri' 
	step 5. CC=CC CXX=CC  ../configure
--prefix=/home/pkadam/package/TAO/tao_1.5.9_CC --disable-ace-examples
--disable-ace-tests --enable-pthreads --with-gperf --with-tao
--disable-tao-examples --disable-tao-tests
--with-openssl-include=/home/soze/SSL/0.9.7g/include
--with-openssl-libdir=/home/soze/SSL/0.9.7g/lib 
	step 6. make
	
	and i observe following erroe.
	
	Did I miss something?
	
	Thanks
	  - Prakash
	
	
	On 7/16/07, Johnny Willemsen < jwillemsen at remedy.nl
<mailto:jwillemsen at remedy.nl> > wrote: 

		Hi,
		
		It seems you used the autoconf way of compiling ACE/TAO, we
do advice to use 
		the traditional way of compilation. We only do compilation
builds with
		autoconf, no testing at all. The fact that you use autoconf
could lead to
		unforseen issues.
		
		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
<http://www.theaceorb.nl/en/support.html>                  ***
		
		<prakash.kadam at gmail.com> wrote in message
		news:<1184587416.399869.114740 at g37g2000prf.googlegroups.com
<mailto:1184587416.399869.114740 at g37g2000prf.googlegroups.com> >...
		> Hi All,
		>   I am getting following error while compiling TAO with
sun CC
		> compiler on Solaris. Following are the details of problem.
		>
		> TAO VERSION: 1.5.9
		> ACE VERSION: 5.5.9
		> OPERATING SYSTEM: SunOS sahyadri 5.8 Generic_117350-26
sun4u sparc
		> SUNW,Ultra-Enterprise
		> TARGET MACHINE: Same as above.
		> AREA/CLASS/EXAMPLE AFFECTED:
		>         compilation error for file http_status.cpp 
		> Synopsis: compilation error for tao 1.5.9 on solaris 2
with CC
		> compiler 5.7
		>
		> Description:
		>    Error is as follows:
		>
		> source='http_status.cpp'
object='libHTTPU_la-http_status.lo' 
		> libtool=yes \
		> > DEPDIR=.deps depmode=none /bin/bash
../../../../aux_config/depcomp \
		> > /bin/bash ../../../libtool --tag=CXX --mode=compile CC
-DHAVE_CONFIG_H
		-I. -I../../../../apps/JAWS2/HTTPU -I../../../ace 
		> > -I../../../..  -I../../..
-I../../../../apps/JAWS2/HTTPU/..
		-DHTTPU_BUILD_DLL   -I/usr/openwin/include -g -mt  -O -c -o
		> > libHTTPU_la-http_status.lo `test -f 'http_status.cpp' ||
echo
		'../../../../apps/JAWS2/HTTPU/'`http_status.cpp
		> >  CC -DHAVE_CONFIG_H -I. -I../../../../apps/JAWS2/HTTPU
-I../../../ace
		-I../../../.. -I../../.. -I../../../../apps/JAWS2/
		> > HTTPU/.. -DHTTPU_BUILD_DLL -I/usr/openwin/include -g -mt
-O -c 
		../../../../apps/JAWS2/HTTPU/http_status.cpp  -KPIC -DPIC -o
		> > .libs/libHTTPU_la-http_status.o
		> > "../../../../apps/JAWS2/HTTPU/http_status.cpp", line 66:
Error: LM_DEBUG
		is not defined. 
		> > 1 Error(s) detected.
		> > *** Error code 1
		> > make: Fatal error: Command failed for target
		`libHTTPU_la-http_status.lo'
		>
		>
		> SAMPLE FIX/WORKAROUND:
		>    I have include Log_Msg.h file in http_status.h. 
		>
		> Please let me know if there is any other appropriate fix
for this.
		>
		
		





More information about the Ace-users mailing list