f



[ace-users] RE: ACE/TAO build problems on Solaris 2.8 using gcc 3.3.6 #2

Hi, 

> -----Original Message-----
> From: Douglas C. Schmidt [mailto:schmidt@cse.wustl.edu] 
> Sent: Monday, March 27, 2006 9:09 AM
> To: nealweston@bellsouth.net; ace-users@cs.wustl.edu; 
> parsons@dre.vanderbilt.edu
> Subject: Re: ACE/TAO build problems on Solaris 2.8 using gcc 3.3.6
> 
> Hi Neal,
> 
> >> I am trying to build ACE-5.5 and TAO-1.5 on a SPARC 
> Solaris 2.8 system
> >> using gcc 3.3.6 and GNU make 3.80.
> >> 
> >> The build is failing in 
> ACE_wrappers/build/TAO/orbsvcs/orbsvcs (output
> >> included below) and I was wondering if anyone had any 
> suggestions as to
> >> what the problem may be.
> >> 
> >> What is puzzling to me is that the lines in question are 
> all comment
> >> lines. For example the "01.ps" invalid token on line 15 of
> >> CosProperty.idl is from the following comment line:
> >> 
> >> //     ftp://ftp.omg.org/pub/docs/1995/95-06-01.ps
> >> 
> >> If I replace the "//" style comments with "/* ... */" 
> style comments
> >> the errors go away.
> 
> Wow, that's pretty weird.  I recommend you upgrade to a newer version
> of GCC - perhaps there's a problem with the version of CPP that's
> being used on your platform since that's what the TAO IDL compiler
> uses under the hood to pre-process the IDL files.  If you check out
> our Solaris autobuilds for TAO at
> 
> http://www.dre.vanderbilt.edu/scoreboard/
> 
> you'll see that we're running with GCC 3.4.3 and 4.0.2 and 
> they work fine.
> 
> Jeff, do you see anything obvious here?

Nope, I agree with your diagnosis.

Jeff

> 
> Thanks,
> 
>         Doug
> 
> >> If any additional information would be useful please let 
> me know and I
> >> will be happy to provide it.
> >> 
> >> Making all in orbsvcs
> >> /fs30/tek/ACE-5.5-gcc-3.3.6/ACE_wrappers/build/TAO/orbsvcs/orbsvcs
> >> make[3]: Entering directory
> >> 
> `/fs30/tek/ACE-5.5-gcc-3.3.6/ACE_wrappers/build/TAO/orbsvcs/orbsvcs'
> >> ACE_ROOT=../../../../TAO/.. TAO_ROOT=../../../../TAO
> >> ../../TAO_IDL/tao_idl -Ge 1 -Wb,pre_include=ace/pre.h
> >> -Wb,post_include=ace/post.h -I../../../../TAO
> >> -I../../../../TAO/orbsvcs/orbsvcs -g ../../../apps/gperf/src/gperf
> >> -I../../../../TAO/orbsvcs
> >> -Wb,versioning_begin=TAO_BEGIN_VERSIONED_NAMESPACE_DECL
> >> -Wb,versioning_end=TAO_END_VERSIONED_NAMESPACE_DECL
> >> -Wb,stub_export_macro=TAO_Property_Export
> >> -Wb,stub_export_include=orbsvcs/Property/property_export.h
> >> -Wb,skel_export_macro=TAO_Property_Skel_Export
> >> -Wb,skel_export_include=orbsvcs/Property/property_skel_export.h
> >> ../../../../TAO/orbsvcs/orbsvcs/CosProperty.idl
> >> "../../../../TAO/orbsvcs/orbsvcs/CosProperty.idl", line 15: invalid
> >> input token: 01.ps
> >> "../../../../TAO/tao/orb.idl", line 3: invalid input token: 09
> >> "../../../../TAO/tao/BooleanSeq.pidl", line 3: invalid 
> input token: 08
> >> "../../../../TAO/tao/LongDoubleSeq.pidl", line 3: invalid 
> input token:
> >> 08
> >> "../../../../TAO/tao/LongSeq.pidl", line 3: invalid input token: 08
> >> "../../../../TAO/tao/OctetSeq.pidl", line 3: invalid input 
> token: 08
> >> "../../../../TAO/tao/OctetSeq.pidl", line 3: invalid input 
> token: 08
> >> "../../../../TAO/tao/ShortSeq.pidl", line 3: invalid input 
> token: 08
> >> "../../../../TAO/tao/StringSeq.pidl", line 3: invalid 
> input token: 08
> >> "../../../../TAO/tao/ULongSeq.pidl", line 3: invalid input 
> token: 08
> >> "../../../../TAO/tao/UShortSeq.pidl", line 3: invalid 
> input token: 08
> >> "../../../../TAO/tao/WCharSeq.pidl", line 3: invalid input 
> token: 08
> >> "../../../../TAO/tao/WStringSeq.pidl", line 3: invalid 
> input token: 08
> >> "../../../../TAO/tao/WStringSeq.pidl", line 3: fatal: too 
> many errors
> >> cc: acomp failed for /tmp//tao-idli_vhaqsA.cpp
> >> 
> /fs30/tek/ACE-5.5-gcc-3.3.6/ACE_wrappers/build/TAO/TAO_IDL/.li
> bs/tao_idl:
> >> preprocessor "cc" returned with an error
> >> make[3]: *** [CosProperty-stamp] Error 1
> >> make[3]: Leaving directory
> >> 
> `/fs30/tek/ACE-5.5-gcc-3.3.6/ACE_wrappers/build/TAO/orbsvcs/orbsvcs'
> >> make[2]: *** [all-recursive] Error 1
> >> make[2]: Leaving directory
> >> `/fs30/tek/ACE-5.5-gcc-3.3.6/ACE_wrappers/build/TAO/orbsvcs'
> >> make[1]: *** [all-recursive] Error 1
> >> make[1]: Leaving directory
> >> `/fs30/tek/ACE-5.5-gcc-3.3.6/ACE_wrappers/build/TAO'
> >> make: *** [all-recursive] Error 1
> >> 
> >> Thanks
> >> 
> >> Neal
> >> 
> 
> 
> -- 
> Dr. Douglas C. Schmidt                       Professor and 
> Associate Chair
> Electrical Engineering and Computer Science  TEL: (615) 343-8197
> Institute for Software Integrated Systems    WEB: 
> www.dre.vanderbilt.edu/~schmidt
> Vanderbilt University, Nashville TN, 37203   NET: 
> d.schmidt@vanderbilt.edu
> 



























































































































0
Jeff
3/27/2006 3:15:48 PM
comp.soft-sys.ace 20326 articles. 1 followers. marlow.andrew (167) is leader. Post Follow

1 Replies
949 Views

Similar Articles

[PageSpeed] 22

Hi,

Thanks for the suggestion. I upgraded to gcc 3.4.3 and started a clean
build. This got a little further than with the older version of gcc but
now fails as follows and wondered if anyone has any ideas of what may
be causing this or how I might be able to isolate the cause of the
problem (perhaps by somehow switching on some additional diagnostics).

ACE_ROOT=../../../../TAO/.. TAO_ROOT=../../../../TAO
.../../TAO_IDL/tao_idl -Ge 1 -Wb,pre_include=ace/pre.h
-Wb,post_include=ace/post.h -I../../../../TAO
-I../../../../TAO/orbsvcs/orbsvcs -g ../../../apps/gperf/src/gperf
-I../../../../TAO/orbsvcs
-Wb,versioning_begin=TAO_BEGIN_VERSIONED_NAMESPACE_DECL
-Wb,versioning_end=TAO_END_VERSIONED_NAMESPACE_DECL
-Wb,stub_export_macro=TAO_Naming_Export
-Wb,stub_export_include=orbsvcs/Naming/naming_export.h
-Wb,skel_export_macro=TAO_Naming_Skel_Export
-Wb,skel_export_include=orbsvcs/Naming/naming_skel_export.h
.../../../../TAO/orbsvcs/orbsvcs/CosNaming.idl
/fs30/tek/ACE-5.5-gcc-3.4.3/ACE_wrappers/build/TAO/TAO_IDL/.libs/tao_idl:
preprocessor "cc" returned with an error
make[3]: *** [CosNaming-stamp] Error 1
make[3]: Leaving directory
`/fs30/tek/ACE-5.5-gcc-3.4.3/ACE_wrappers/build/TAO/orbsvcs/orbsvcs'

Thanks

Neal

0
nealweston
3/28/2006 8:24:49 PM
Reply: