[omniORB] Compilation error using g++ in 64-bit Linux 2.4.21

Sankar S Salvady sankarasubramanian.s at gmail.com
Tue Oct 19 18:46:03 BST 2010


Hello,

I am a newbie to CORBA. I have so far compiled an IDL file that created a .h
and .cxx file. But the compilation of the cxx file gives me a a whole of
compilation errors. I have posted a part of it below. In the error message
"channelAttributes.cxx" is the file generated from the IDL file
"channelAttributes.idl".

Compile command:
/usr/bin/g++ -g -c
-I/filer_build/ssalvady/ccm_wa/kasenna/mbservices%tot_ssalvady/mbservices/buildreleases/usr/omniORB-4.0.5/include
channelAttributes.cxx

Error:
In file included from
/filer_build/ssalvady/ccm_wa/kasenna/mbservices%tot_ssalvady/mbservices/buildreleases/usr/omniORB-4.0.5/include/omniORB4/CORBA.h:373,
                 from channelAttributes.h:10,
                 from channelAttributes.cxx:3:
/filer_build/ssalvady/ccm_wa/kasenna/mbservices%tot_ssalvady/mbservices/buildreleases/usr/omniORB-4.0.5/include/omniORB4/corbaidl_defs.hh:1848:
`
   LongDouble' undeclared in namespace `CORBA'
/filer_build/ssalvady/ccm_wa/kasenna/mbservices%tot_ssalvady/mbservices/buildreleases/usr/omniORB-4.0.5/include/omniORB4/corbaidl_defs.hh:1848:
template
   argument 1 is invalid
/filer_build/ssalvady/ccm_wa/kasenna/mbservices%tot_ssalvady/mbservices/buildreleases/usr/omniORB-4.0.5/include/omniORB4/corbaidl_defs.hh:1857:
no
   type `LongDouble' in `CORBA'
/filer_build/ssalvady/ccm_wa/kasenna/mbservices%tot_ssalvady/mbservices/buildreleases/usr/omniORB-4.0.5/include/omniORB4/corbaidl_defs.hh:1857:
syntax
   error before `*' token
/filer_build/ssalvady/ccm_wa/kasenna/mbservices%tot_ssalvady/mbservices/buildreleases/usr/omniORB-4.0.5/include/omniORB4/corbaidl_defs.hh:1858:
missing
   ';' before right brace
/filer_build/ssalvady/ccm_wa/kasenna/mbservices%tot_ssalvady/mbservices/buildreleases/usr/omniORB-4.0.5/include/omniORB4/corbaidl_defs.hh:
In
   copy constructor `CORBA::LongDoubleSeq::LongDoubleSeq(const
   CORBA::LongDoubleSeq&)':
/filer_build/ssalvady/ccm_wa/kasenna/mbservices%tot_ssalvady/mbservices/buildreleases/usr/omniORB-4.0.5/include/omniORB4/corbaidl_defs.hh:1853:
`
   LongDouble' undeclared in namespace `CORBA'
/filer_build/ssalvady/ccm_wa/kasenna/mbservices%tot_ssalvady/mbservices/buildreleases/usr/omniORB-4.0.5/include/omniORB4/corbaidl_defs.hh:1853:
template
   argument 1 is invalid
..................
..................
<snip>
..................
..................
/filer_build/ssalvady/ccm_wa/kasenna/mbservices%tot_ssalvady/mbservices/buildreleases/usr/omniORB-4.0.5/include/omniORB4/poa.h:625:
confused by earlier errors, bailing out
make: *** [channelAttributes.o] Error 1


Am I missing something obvious here ? I would appreciate any help

Thanks
Sankar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20101019/8bcbd20b/attachment.htm


More information about the omniORB-list mailing list