[omniORB] The STL errors when I build omniEvent ...

Sai-Lai Lo S.Lo@uk.research.att.com
13 Sep 1999 22:09:59 +0100


Looks like your compiler (Sun C++ 4.2?) does not have STL. If you have ST=
L
installed in /usr/local/STL for example:

Just edit <top>/mk/platforms/sun4_sosV_5.6.mk:

CXXOPTIONS =3D -I/usr/local/STL

Alternatively, edit the individual dir.mk (where the compilation failed):

DIR_CPPFLAGS +=3D -I/usr/local/STL.

Sai-Lai


>>>>> steven#staff  writes:

> Hi:

> =A0=A0=A0=A0=A0=A0=A0 I download the omniEvent and build it on sun4_sos=
V_5.6.

> I got the error below:

> =A0=A0=A0 "CosEvent_i.h", line 68: Error: Could not open include file <=
list>.
> =A0=A0=A0 "CosEvent_i.h", line 69: Error: Could not open include file <=
set>.
> =A0=A0=A0 "CosEvent_i.h", line 177: Error: Type name expected instead o=
f "list".

> =A0=A0=A0 ...

> I think these=A0errors=A0is caused by not finding the .h of STL.

> What should I do ? Repare it in the dir.mk ?=A0=A0 Which line to rewrit=
e ?

> Or should I put something in the dir.mk ? Or any other method to solve =
this simple problem?

> =A0

> Thank you for your help for such easy problem!!

> Thank you !!!

> =A0

--=20
Sai-Lai Lo                                   S.Lo@uk.research.att.com
AT&T Laboratories Cambridge           WWW:   http://www.uk.research.att.c=
om=20
24a Trumpington Street                Tel:   +44 1223 343000
Cambridge CB2 1QA                     Fax:   +44 1223 313542
ENGLAND