[omniORB] omniEvents 2.6.1 install error on irix6
Alex Tingle
alex.tingle at bronermetals.com
Tue Apr 19 11:21:52 BST 2005
I've never used the SGI CC compiler, but this error message seems
pretty self-explanatory:
> 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
It sounds like the compiler needs you to explicitly turn on the
standard STL. Why don't you try adding `-LANG:std' to the CPPFLAGS
macro in config.mk?
Possibly even better, run configure with CXX='CC -LANG:std', like this:
% CXX='CC -LANG:std' ./configure
You should probably read about the -LANG option in your compiler's
manual.
-Alex Tingle
--
Dammit Jim, I'm a programmer... not a mind reader!
On 19 Apr 2005, at 06:35, caoy wrote:
> 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!
>
> ______________________________________
>
> ===================================================================
>
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list
More information about the omniORB-list
mailing list