[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SunPro C++ compiler changes



>  
>  Hi Shigeki,
>   I am having some trouble making the GCAClient code.  Perhaps
>  OmniBroker needs to be rebuilt? make
>  
>  cd /grandch/u/GCA/zimm/RootColl/GCAClient/src; make libGCAClient.a
>  make[1]: Entering directory `/grandch/u/GCA/zimm/RootColl/GCAClient/src'
>  
>  /opt/WS5.0/bin/CC -c -KPIC -pta   -g -I.
>  -I/grandch/u/GCA/zimm/RootColl/GCAClient/orb
>  -I/grandch/u/GCA/zimm/RootColl/GCAClient/include
>  -I/grandch/u/GCA/zimm/RootColl/GCAClient/common -I/usr/local/include
>  -I/afs/rhic/oodb/v_5.1/solaris4/ToolKit/ospace/stl
>  -I/afs/rhic/oodb/v_5.1/solaris4/ToolKit
>  -I/afs/rhic/oodb/v_5.1/solaris4/ToolKit/ospace/std
>  -I/afs/rhic/oodb/v_5.1/solaris4/include -DHAVE_CONFIG_H -DOS_SOLARIS_2_5
>  -DOS_NO_ALLOCATORS -DOO_ODMG
>  /grandch/u/GCA/zimm/RootColl/GCAClient/orb/smqQueryI.cpp -o
>  /grandch/u/GCA/zimm/RootColl/GCAClient/orb/smqQueryI.o
>  "/usr/local/include/OB/Basic.h", line 104: Error: A declaration does not
>  specify a tag or an identifier.
>  "/usr/local/include/OB/Basic.h", line 104: Error: Use ";" to terminate
>  declarations.
>  "/usr/local/include/OB/Basic.h", line 104: Error: A declaration does not
>  specify a tag or an identifier.

David,

As Shigeki pointed out in his last e-mail, you can get around this kind of 
problem by using the -compat flag.  We may need to do this unless we and the 
RCF folks rebuild quite a bit of stuff.  Unfortunately, this merely cause the 
build to take a little longer to fail.  (Henrik, for example, checks 

      #if __SUNPRO_CC < 0x500

in gc_const.h, but this fails to do the right thing if -compat is set.)

I am working on fixing the build process.  If anyone has specific 
suggestions, let me know.  Right now I'm dealing with 

SunWS_cache: Information: Database is locked, waiting....
SunWS_cache: Information: Database is locked, waiting....
SunWS_cache: Information: Database is locked, waiting....
SunWS_cache: Information: Database is locked, waiting....
SunWS_cache: Information: Database is locked, waiting....
SunWS_cache: Information: Database is locked, waiting....
SunWS_cache: Information: Database is locked, waiting....
SunWS_cache: Information: Database is locked, waiting....
SunWS_cache: Information: Database is locked, waiting....
SunWS_cache: Information: Database is locked, waiting....

Regards,

David