[Ace-users] Building AMH enabled TAO breaks [Latest Beta]
    Gilad Rom 
    gilad.rom at gmail.com
       
    Wed Dec 12 08:43:02 CST 2007
    
    
  
 ACE VERSION: 5.6.1 (Latest Beta as of Yesterday)
    HOST MACHINE and OPERATING SYSTEM:
        Vanilla Ubuntu Feisty 7.10
        Intel Q6600, 4GB of Ram
    COMPILER NAME AND VERSION (AND PATCHLEVEL):
        4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
    AREA/CLASS/EXAMPLE AFFECTED:
        Trading_Service
    DOES THE PROBLEM AFFECT:
        COMPILATION? Yes
    SYNOPSIS:
        When building TAO, I have modified the
        TAO/orbsvcs/orbsvcs/Makefile file to execute
        tao_idl using -GH to generate AMH enabled classes.
        This makes the build fail [See description].
    DESCRIPTION:
make[4]: Entering directory `/home/fabrix/ACE_wrappers/build/TAO/
orbsvcs/orbsvcs'
.
.
.
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -
I. -I../../tao -I../../../../TAO/orbsvcs/orbsvcs  -I../../../../TAO/..
-I../../.. -I../../../../TAO -I../.. -I../../../../TAO/orbsvcs -I../../
orbsvcs -DTAO_TRADING_SKEL_BUILD_DLL   -g -O2 -pthread -MT
libTAO_CosTrading_Skel_la-CosTradingS.lo -MD -MP -MF .deps/
libTAO_CosTrading_Skel_la-CosTradingS.Tpo -c -o
libTAO_CosTrading_Skel_la-CosTradingS.lo `test -f 'CosTradingS.cpp' ||
echo '../../../../TAO/orbsvcs/orbsvcs/'`CosTradingS.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../tao -I../../../../TAO/orbsvcs/orbsvcs
-I../../../../TAO/.. -I../../.. -I../../../../TAO -I../.. -
I../../../../TAO/orbsvcs -I../../orbsvcs -DTAO_TRADING_SKEL_BUILD_DLL -
g -O2 -pthread -MT libTAO_CosTrading_Skel_la-CosTradingS.lo -MD -MP -
MF .deps/libTAO_CosTrading_Skel_la-CosTradingS.Tpo -c CosTradingS.cpp
-fPIC -DPIC -o .libs/libTAO_CosTrading_Skel_la-CosTradingS.o
CosTradingS.cpp: In member function 'virtual void
POA_CosTrading::TAO_AMH_RegisterResponseHandler::cxx_export_excep(CosTrading::AMH_RegisterExceptionHolder*)':
CosTradingS.cpp:13218: error: 'class
CosTrading::AMH_RegisterExceptionHolder' has no member named
'raise_cxx_export'
make[4]: *** [libTAO_CosTrading_Skel_la-CosTradingS.lo] Error 1
make[4]: Leaving directory `/home/fabrix/ACE_wrappers/build/TAO/
orbsvcs/orbsvcs'
make[3]: *** [all] Error 2
    REPEAT BY:
        run bootstrap/configure as usual, then modify
        TAO/orbsvcs/orbsvcs/Makefile, add -GH to the
        TAO_IDLFLAGS variable, make clean and recompile.
    SAMPLE FIX/WORKAROUND:
        None I could find...
    
    
More information about the Ace-users
mailing list