[omniORB] omniEvents 2.6.1 install error on irix6
caoy
guaguo at vip.sina.com
Thu Apr 21 18:06:22 BST 2005
Hi, thank you Alex Tingle, I had fixed a few errors by add -LANG:std in config.mk and defined HAVE_STD_IOSTREAM in config.h.
Now there is only one error in EventChannel.cc ,line 156:
output(WriteLock().os);
The CC compiler said that the initial value of a reference to a non-const must be on lvalue, WriteLock().os.
WriteLock is defined as a class in omniEventsLog.h ,right? I just don't understand what's means about WriteLock().
Any suggestion?
> Hi,I recently wanna using omniORB & omniEvents on our SGI fuel
> machine,which has mips-sgi-irix 6.5 system. I had installed omniORB
> 4.0.3 successfully,but when I installed omniEvents 2.6.1 in make
> stage, I got a lot of errors.
>
> In addition,I had installed GNU make on irix,and use gmake instead of
> irix native make.
>
> The error is:
>
> gmake -C idl all
> gmake[1]: Entering directory
> `/asm13/jsy34s3/software/omniORB-4.0.3/src/services/omniEvents-2_6_1/
> idl'
> gmake[1]: Nothing to be done for `all'.
> gmake[1]: Leaving directory
> `/asm13/jsy34s3/software/omniORB-4.0.3/src/services/omniEvents-2_6_1/
> idl'
> gmake -C src all
> gmake[1]: Entering directory
> `/asm13/jsy34s3/software/omniORB-4.0.3/src/services/omniEvents-2_6_1/
> src'
> CC -c -I../idl -I../src -I/asm13/jsy34s3/usr_caoy/local/include
> -DHAVE_CONFIG_H -DENABLE_CLIENT_IR_SUPPORT=1
> -DOMNIEVENTS_REAL_TIME_PUSH=1 -g ConsumerAdmin.cc
> cc-1035 CC: WARNING File = /usr/include/CC/iostream, Line = 18
> #error directive: This header file requires the -LANG:std option
>
> #error This header file requires the -LANG:std option
> ^
>
> cc-1035 CC: WARNING File = /usr/include/CC/iosfwd, Line = 18
> #error directive: This header file requires the -LANG:std option
>
> #error This header file requires the -LANG:std option
> ^
>
> cc-1035 CC: WARNING File = /usr/include/CC/istream, Line = 18
> #error directive: This header file requires the -LANG:std option
>
> #error This header file requires the -LANG:std option
> ^
>
> cc-1035 CC: WARNING File = /usr/include/CC/ostream, Line = 18
> #error directive: This header file requires the -LANG:std option
>
> #error This header file requires the -LANG:std option
> ^
>
> cc-1070 CC: ERROR File = /usr/include/CC/string, Line = 2172
> The indicated type is incomplete.
>
> char __f = __os.fill();
> ^
>
> cc-1367 CC: ERROR File = /usr/include/CC/string, Line = 2175
> A pointer to an incomplete class type is not allowed.
>
> for (__i = 0; __i < __n; __i++) __buf->sputc(__f);
> ^
>
> cc-1132 CC: ERROR File = /usr/include/CC/ios, Line = 349
> The class "std::char_traits<char>" has no member "pos_type".
>
> typedef typename _Traits::pos_type pos_type;
> ^
> detected during instantiation of class
> "std::basic_ios<char, std::char_traits<char>>" at
> line 434
>
> cc-1132 CC: ERROR File = /usr/include/CC/ios, Line = 350
> The class "std::char_traits<char>" has no member "off_type".
>
> typedef typename _Traits::off_type off_type;
> ^
> detected during instantiation of class
> "std::basic_ios<char, std::char_traits<char>>" at
> line 434
>
> cc-1035 CC: WARNING File = /usr/include/CC/streambuf, Line = 18
> #error directive: This header file requires the -LANG:std option
>
> #error This header file requires the -LANG:std option
> ^
>
> cc-1079 CC: ERROR File = /usr/include/CC/streambuf, Line = 410
> A type specifier is expected.
>
> typedef char_traits<char>::pos_type pos_type;
> ^
>
> cc-1079 CC: ERROR File = /usr/include/CC/streambuf, Line = 411
> A type specifier is expected.
>
> typedef char_traits<char>::off_type off_type;
> ^
>
> cc-1239 CC: ERROR File = Filter.h, Line = 60
> "ostream" is ambiguous.
>
> virtual void output(ostream& os) const =0;
> ^
>
> cc-1239 CC: ERROR File = Filter.h, Line = 76
> "ostream" is ambiguous.
>
> void output(ostream& os) const { os<<"\n FilterKind="<<_kind; }
> ^
>
> cc-1239 CC: ERROR File = Filter.h, Line = 90
> "ostream" is ambiguous.
>
> void output(ostream& os) const { os<<"\n FilterId="<<_rid; }
> ^
>
> cc-1239 CC: ERROR File = ConsumerAdmin.h, Line = 84
> "ostream" is ambiguous.
>
> void output(ostream& os);
> ^
>
> cc-1239 CC: ERROR File = PersistNode.h, Line = 52
> "istream" is ambiguous.
>
> PersistNode(istream& is); ///< Create root node and read tree from
> stream.
> ^
>
> cc-1239 CC: ERROR File = PersistNode.h, Line = 54
> "ostream" is ambiguous.
>
> void output(ostream& os,string name) const;
> ^
>
> cc-1239 CC: ERROR File = PersistNode.h, Line = 57
> "istream" is ambiguous.
>
> inline bool readnode(istream& is);
> ^
>
> cc-1239 CC: ERROR File = PersistNode.h, Line = 58
> "istream" is ambiguous.
>
> inline bool readtoken(istream& is, string& tok);
> ^
>
> cc-1239 CC: ERROR File = EventChannel.h, Line = 154
> "ostream" is ambiguous.
>
> void output(ostream& os);
> ^
>
> cc-1239 CC: ERROR File = EventChannel.h, Line = 204
> "ostream" is ambiguous.
>
> void output(ostream &os);
> ^
>
> cc-1239 CC: ERROR File = ProxyManager.h, Line = 75
> "ostream" is ambiguous.
>
> void output(ostream& os);
> ^
>
> cc-1239 CC: ERROR File = ProxyManager.h, Line = 109
> "ostream" is ambiguous.
>
> virtual void output(ostream &os)=0;
> ^
>
> cc-1239 CC: ERROR File = ProxyManager.h, Line = 114
> "ostream" is ambiguous.
>
> void keyOutput(ostream& os, const char* name);
> ^
>
> cc-1239 CC: ERROR File = ProxyManager.h, Line = 119
> "ostream" is ambiguous.
>
> ostream& os, const char* name,
> ^
>
> cc-1239 CC: ERROR File = ProxyPushSupplier.h, Line = 122
> "ostream" is ambiguous.
>
> void output(ostream &os);
> ^
>
> cc-1239 CC: ERROR File = ProxyPullSupplier.h, Line = 97
> "ostream" is ambiguous.
>
> void output(ostream& os);
> ^
>
> cc-1239 CC: ERROR File = ConsumerAdmin.cc, Line = 144
> "ostream" is ambiguous.
>
> void ConsumerAdmin_i::output(ostream& os)
> ^
>
> 23 errors detected in the compilation of "ConsumerAdmin.cc".
> gmake[1]: *** [ConsumerAdmin.o] Error 2
> gmake[1]: Leaving directory
> `/asm13/jsy34s3/software/omniORB-4.0.3/src/services/omniEvents-2_6_1/
> src'
> gmake: *** [all] Error 2
>
> Please help me, thanks a lot!
>
> ______________________________________
______________________________________
===================================================================
More information about the omniORB-list
mailing list