[omniORB] Cross compiling for lynxOS3.0.1

Paulo paulo.ismenio@lis2.siemens.pt
Tue, 28 Aug 2001 11:24:07 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_005F_01C12FB3.F37D9670
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


I've tryed removing that option and others and the error is still the =
same!
I have still the same error while trying to cross-compile omniORB3.0.4 =
for lynxOS 3.0.1 under solaris.
  ----- Original Message -----=20
  From: Jessie `c++ is a virus from outer space' Ragsdale=20
  To: Paulo=20
  Sent: Monday, August 27, 2001 3:01 PM
  Subject: Re: [omniORB] Cross compiling for lynxOS3.0.1


  You might try compiling that file without optimization, ie, remove the =
"-O2" from the=20
  command line for that file.=20
  Jessie=20

  Paulo wrote:=20

    Hi all! I was trying to cross-compile omniORB3.0.4 for lynxOS 3.0.1 =
under solaris, and got this error:=20
    making export in src/lib/omniORB2/orbcore...=20
    /lynx/ppc/3.0.1/ppc/cdk/sunos-xcoff-ppc/usr/bin//g++  -c -O2  =
-mthreads   -D=20
    _REE=20
    NTRANT -DUsePthread  -I. -I./.. -I./../.. -DUSE_omniORB_logStream =
-D_OMNIORB=20
    _LIB=20
    RARY -DUnixArchitecture =
-DCONFIG_DEFAULT_LOCATION=3D'"/etc/omniORB.cfg=20
    ' -I.  -I.=20
    ./../../../include -D__powerpc__ -D__lynxos__ =
-D__OSVERSION__=3D3.0.1  -o=20
    taskqueu=20
    e.o taskqueue.cc=20
    ../../../../include/omniORB3/seqtemplates.h: In method `unsigned int =

    _CORBA_Unbo=20
    unded_Sequence_w_FixSizeElement<unsigned =
char,1,1>::_NP_alignedSize(unsigned=20
    int=20
    ) const':=20
    In file included from ../../../../include/omniORB3/GIOP.h:50,=20
                     from =
../../../../include/omniORB3/omniInternal.h:151,=20
                     from ../../../../include/omniORB3/CORBA.h:259,=20
                     from taskqueue.cc:39:=20
    ../../../../include/omniORB3/seqtemplates.h(374) : error: Internal =
compiler=20
    erro=20
    r 40.=20
    ../../../../include/omniORB3/seqtemplates.h(374) : error: Please =
submit a=20
    Proble=20
    m Report to Lynx RTS.=20
    make[3]: *** [taskqueue.o] Error 1=20
    make[2]: *** [export] Error 1=20
    make[1]: *** [export] Error 1=20
    make: *** [export] Error 1 Anyone has any idea? I am using gnu make  =
3.67-94q4 , gcc 2.7-97r1. I am also using python 1.5.2, omniidl and =
omkdepend compiled from sun-solaris 5.6. Thanks,=20
    Paulo

------=_NextPart_000_005F_01C12FB3.F37D9670
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3314.2100" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I've tryed removing that option and =
others and the=20
error is still the same!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I have still the same error while =
trying to=20
cross-compile omniORB3.0.4 for lynxOS 3.0.1 under solaris.</FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A href=3D"mailto:jessie.ragsdale@latuslw.com"=20
  title=3Djessie.ragsdale@latuslw.com>Jessie `c++ is a virus from outer =
space'=20
  Ragsdale</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
  href=3D"mailto:paulo.ismenio@lis2.siemens.pt"=20
  title=3Dpaulo.ismenio@lis2.siemens.pt>Paulo</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, August 27, 2001 =
3:01=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [omniORB] Cross =
compiling=20
  for lynxOS3.0.1</DIV>
  <DIV><BR></DIV>You might try compiling that file without optimization, =
ie,=20
  remove the "-O2" from the <BR>command line for that file.=20
  <P>Jessie=20
  <P>Paulo wrote:=20
  <BLOCKQUOTE TYPE=3D"CITE">
    <STYLE></STYLE>
    <FONT face=3DArial><FONT size=3D-1>Hi all!</FONT></FONT>&nbsp;<FONT=20
    face=3DArial><FONT size=3D-1>I was trying to cross-compile =
omniORB3.0.4 for=20
    lynxOS 3.0.1 under solaris, and got this error:</FONT></FONT> =
<BR><FONT=20
    face=3DArial><FONT size=3D-1>making export in=20
    src/lib/omniORB2/orbcore...</FONT></FONT> <BR><FONT =
face=3DArial><FONT=20
    size=3D-1>/lynx/ppc/3.0.1/ppc/cdk/sunos-xcoff-ppc/usr/bin//g++&nbsp; =
-c=20
    -O2&nbsp; -mthreads&nbsp;&nbsp; -D</FONT></FONT> <BR><FONT =
face=3DArial><FONT=20
    size=3D-1>_REE</FONT></FONT> <BR><FONT face=3DArial><FONT =
size=3D-1>NTRANT=20
    -DUsePthread&nbsp; -I. -I./.. -I./../.. -DUSE_omniORB_logStream=20
    -D_OMNIORB</FONT></FONT> <BR><FONT face=3DArial><FONT=20
    size=3D-1>_LIB</FONT></FONT> <BR><FONT face=3DArial><FONT =
size=3D-1>RARY=20
    -DUnixArchitecture=20
    -DCONFIG_DEFAULT_LOCATION=3D'"/etc/omniORB.cfg</FONT></FONT> =
<BR><FONT=20
    face=3DArial><FONT size=3D-1>' -I.&nbsp; -I.</FONT></FONT> <BR><FONT =

    face=3DArial><FONT size=3D-1>./../../../include -D__powerpc__ =
-D__lynxos__=20
    -D__OSVERSION__=3D3.0.1&nbsp; -o</FONT></FONT> <BR><FONT =
face=3DArial><FONT=20
    size=3D-1>taskqueu</FONT></FONT> <BR><FONT face=3DArial><FONT =
size=3D-1>e.o=20
    taskqueue.cc</FONT></FONT> <BR><FONT face=3DArial><FONT=20
    size=3D-1>../../../../include/omniORB3/seqtemplates.h: In method =
`unsigned=20
    int</FONT></FONT> <BR><FONT face=3DArial><FONT=20
    size=3D-1>_CORBA_Unbo</FONT></FONT> <BR><FONT face=3DArial><FONT=20
    size=3D-1>unded_Sequence_w_FixSizeElement&lt;unsigned=20
    char,1,1&gt;::_NP_alignedSize(unsigned</FONT></FONT> <BR><FONT=20
    face=3DArial><FONT size=3D-1>int</FONT></FONT> <BR><FONT =
face=3DArial><FONT=20
    size=3D-1>) const':</FONT></FONT> <BR><FONT face=3DArial><FONT =
size=3D-1>In file=20
    included from ../../../../include/omniORB3/GIOP.h:50,</FONT></FONT>=20
    <BR><FONT face=3DArial><FONT=20
    =
size=3D-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    from ../../../../include/omniORB3/omniInternal.h:151,</FONT></FONT>=20
    <BR><FONT face=3DArial><FONT=20
    =
size=3D-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    from ../../../../include/omniORB3/CORBA.h:259,</FONT></FONT> =
<BR><FONT=20
    face=3DArial><FONT=20
    =
size=3D-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    from taskqueue.cc:39:</FONT></FONT> <BR><FONT face=3DArial><FONT=20
    size=3D-1>../../../../include/omniORB3/seqtemplates.h(374) : error: =
Internal=20
    compiler</FONT></FONT> <BR><FONT face=3DArial><FONT =
size=3D-1>erro</FONT></FONT>=20
    <BR><FONT face=3DArial><FONT size=3D-1>r 40.</FONT></FONT> <BR><FONT =

    face=3DArial><FONT =
size=3D-1>../../../../include/omniORB3/seqtemplates.h(374) :=20
    error: Please submit a</FONT></FONT> <BR><FONT face=3DArial><FONT=20
    size=3D-1>Proble</FONT></FONT> <BR><FONT face=3DArial><FONT =
size=3D-1>m Report to=20
    Lynx RTS.</FONT></FONT> <BR><FONT face=3DArial><FONT =
size=3D-1>make[3]: ***=20
    [taskqueue.o] Error 1</FONT></FONT> <BR><FONT face=3DArial><FONT=20
    size=3D-1>make[2]: *** [export] Error 1</FONT></FONT> <BR><FONT=20
    face=3DArial><FONT size=3D-1>make[1]: *** [export] Error =
1</FONT></FONT>=20
    <BR><FONT face=3DArial><FONT size=3D-1>make: *** [export] Error=20
    1</FONT></FONT>&nbsp;<FONT face=3DArial><FONT size=3D-1>Anyone has =
any idea? I=20
    am using gnu make&nbsp; 3.67-94q4 , gcc 2.7-97r1. I am also using =
python=20
    1.5.2, omniidl and omkdepend compiled from sun-solaris=20
    5.6.</FONT></FONT>&nbsp;<FONT face=3DArial><FONT =
size=3D-1>Thanks,</FONT></FONT>=20
    <BR><FONT face=3DArial><FONT=20
size=3D-1>Paulo</FONT></FONT></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_005F_01C12FB3.F37D9670--