[omniORB] omni3.0.4 on HPUX - more probs

Kevin Williams KWilliams@visionael.com
Mon, 3 Dec 2001 10:13:29 -0800


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C17C26.35D61AB0
Content-Type: text/plain;
	charset="iso-8859-1"

More information...  Looks like our 2.7.1 omniORB was built with GCC.  Also,
I made a mistake when testing aCC-built C++ libraries linked into GCC-built
C++ programs - doesn't work, even when using the native HPUX linker.

This whole process is making me feel like a complete newbie. <sigh>

Anyhow, it looks like my original problem has returned - I've gotta build
omniORB 3.0.4 on HPUX 10.20 using GCC and when I try, the _omniidlmodule.so
(or even .sl ) shared library is not being built for some reason.  Perhaps
someone has a mk/platforms/hppa_hpux_10.20.mk that works with GCC - or
perhaps someone can point me in the right direction to build that shared
library manually.  Or hell, just send me a _omniidlmodule.so built using GCC
2.95.2 on HPUX.  ANYTHING! <grin>

Thanks,
-- Kevin Williams
   Visionael Corporation
   kwilliams@visionael.com


-----Original Message-----
From: Kevin Williams [mailto:zak@supernova.org]
Sent: Monday, December 03, 2001 12:05 PM
Subject: [omniORB] omni3.0.4 on HPUX - more probs


Alright, I finally got the ORB to compile on HPUX by using the native aCC
compiler instead of GCC.  The problem I am having now is linking my final
application (compiled with GCC).  I've written a minimal echo-esque test
project that compiles and links fine with aCC, but which gives me a ton
of undefined symbols when I try to use GCC.  When someone first suggested
that this would work, I was skeptical - but I wrote myself a small library
and compiled with aCC then linked with a program compiled with GCC and
THAT worked okay.  I'm only having problems with the ORB libraries that
were built using aCC...

I am using the native HPUX ld to link and I am linking against the static
omniORB libraries.  My program was built with g++ version 2.95.2 and the
ORB with HPUX 10.20's native aCC.

Is this a lost cause?  Our application must be built using GCC - I can't
get omni3.0.4 to build using GCC on HPUX 10.20.  Is there some other
option for me?

Dunno if I mentioned this before...  We currently have a working copy
of omniORB2.7.1 on this machine that links with our GCC compiled app
without problems.  No one here knows how that ORB was built, but it
does work... ;)  But, we HAVE to move to 3.0.4 - in fact, it's working
great on all of our other platforms!

Hope someone can help!
-Kevin

------_=_NextPart_001_01C17C26.35D61AB0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [omniORB] omni3.0.4 on HPUX - more probs</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>More information...&nbsp; Looks like our 2.7.1 =
omniORB was built with GCC.&nbsp; Also, I made a mistake when testing =
aCC-built C++ libraries linked into GCC-built C++ programs - doesn't =
work, even when using the native HPUX linker.</FONT></P>

<P><FONT SIZE=3D2>This whole process is making me feel like a complete =
newbie. &lt;sigh&gt;</FONT>
</P>

<P><FONT SIZE=3D2>Anyhow, it looks like my original problem has =
returned - I've gotta build omniORB 3.0.4 on HPUX 10.20 using GCC and =
when I try, the _omniidlmodule.so (or even .sl ) shared library is not =
being built for some reason.&nbsp; Perhaps someone has a =
mk/platforms/hppa_hpux_10.20.mk that works with GCC - or perhaps =
someone can point me in the right direction to build that shared =
library manually.&nbsp; Or hell, just send me a _omniidlmodule.so built =
using GCC 2.95.2 on HPUX.&nbsp; ANYTHING! &lt;grin&gt;</FONT></P>

<P><FONT SIZE=3D2>Thanks,</FONT>
<BR><FONT SIZE=3D2>-- Kevin Williams</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; Visionael Corporation</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; kwilliams@visionael.com</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Kevin Williams [<A =
HREF=3D"mailto:zak@supernova.org">mailto:zak@supernova.org</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Monday, December 03, 2001 12:05 PM</FONT>
<BR><FONT SIZE=3D2>Subject: [omniORB] omni3.0.4 on HPUX - more =
probs</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Alright, I finally got the ORB to compile on HPUX by =
using the native aCC</FONT>
<BR><FONT SIZE=3D2>compiler instead of GCC.&nbsp; The problem I am =
having now is linking my final</FONT>
<BR><FONT SIZE=3D2>application (compiled with GCC).&nbsp; I've written =
a minimal echo-esque test</FONT>
<BR><FONT SIZE=3D2>project that compiles and links fine with aCC, but =
which gives me a ton</FONT>
<BR><FONT SIZE=3D2>of undefined symbols when I try to use GCC.&nbsp; =
When someone first suggested</FONT>
<BR><FONT SIZE=3D2>that this would work, I was skeptical - but I wrote =
myself a small library</FONT>
<BR><FONT SIZE=3D2>and compiled with aCC then linked with a program =
compiled with GCC and</FONT>
<BR><FONT SIZE=3D2>THAT worked okay.&nbsp; I'm only having problems =
with the ORB libraries that</FONT>
<BR><FONT SIZE=3D2>were built using aCC...</FONT>
</P>

<P><FONT SIZE=3D2>I am using the native HPUX ld to link and I am =
linking against the static</FONT>
<BR><FONT SIZE=3D2>omniORB libraries.&nbsp; My program was built with =
g++ version 2.95.2 and the</FONT>
<BR><FONT SIZE=3D2>ORB with HPUX 10.20's native aCC.</FONT>
</P>

<P><FONT SIZE=3D2>Is this a lost cause?&nbsp; Our application must be =
built using GCC - I can't</FONT>
<BR><FONT SIZE=3D2>get omni3.0.4 to build using GCC on HPUX =
10.20.&nbsp; Is there some other</FONT>
<BR><FONT SIZE=3D2>option for me?</FONT>
</P>

<P><FONT SIZE=3D2>Dunno if I mentioned this before...&nbsp; We =
currently have a working copy</FONT>
<BR><FONT SIZE=3D2>of omniORB2.7.1 on this machine that links with our =
GCC compiled app</FONT>
<BR><FONT SIZE=3D2>without problems.&nbsp; No one here knows how that =
ORB was built, but it</FONT>
<BR><FONT SIZE=3D2>does work... ;)&nbsp; But, we HAVE to move to 3.0.4 =
- in fact, it's working</FONT>
<BR><FONT SIZE=3D2>great on all of our other platforms!</FONT>
</P>

<P><FONT SIZE=3D2>Hope someone can help!</FONT>
<BR><FONT SIZE=3D2>-Kevin</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C17C26.35D61AB0--