[omniORB] crosscompiling omniorb 3 for embedded linux ppc405 -
recipe and problem
Dan Kegel
dank@kegel.com
Mon, 07 Jan 2002 21:03:44 -0800
Duncan Grisby wrote:
> > my colleague Steve and I are trying out Corba on x86 linux
> > desktops and embedded Hard Hat 2.0 linux on embedded ppc405.
> > He's putting together a recipe for how to compile Omniorb3
> > for both environments and run the omniorb echo example ...
> > http://www.ugcs.caltech.edu/~diffusor/omni-ppc405/omni-ppc405.html
>
> Great! Perhaps you would like to add it to the wiki? ...
Will do.
BTW Steve contributed back a patch which fixed a cross-development
problem in OmniOrb3's build system, but never got a response to his post,
http://marc.theaimsgroup.com/?l=omniorb-list&m=100872863312025&w=2
Can you comment on whether that patch can be accepted into the main tree?
> >We're having a problem, though; the servant dies with an exception
> >if run on the ppc. We don't yet have a debugger on our ppc system
> >-- that's next -- so who knows what the issue is. The client
> >works fine on the ppc, so we're at least partway there.
>
> Try running the server program with -ORBtraceLevel 40. That will print
> lots of debugging information, including details of where the system
> exception you are seeing was thrown from.
Thanks! He's updated his page with the result; in short, it says
/ # ./eg2_impl -ORBtraceLevel 40
omniORB: strand Ripper: start.
omniORB: scavenger : start.
omniORB: gateKeeper is tcpwrapGK 1.0 - based on tcp_wrappers_7.6
omniORB configuration file: /etc/omniORB.cfg either does not exist or is not a file.
omniORB: The omniDynamic library is not linked.
omniORB: Initialising incoming rope factories.
omniORB: throw INITIALIZE from objectAdapter.cc:182
Caught CORBA::SystemException.
Hmm, does that mean I have to set the OMNIORB_USEHOSTNAME_VAR environment variable,
or something?
Suggestions welcome (I *do* plan to get the debugger working
sometime on this platform, honest!)
- Dan