Re: Cross-Compiled ORBit2 has Errors in Glib
- From: Michael Meeks <michael ximian com>
- To: lgust verizon net
- Cc: orbit <orbit-list gnome org>
- Subject: Re: Cross-Compiled ORBit2 has Errors in Glib
- Date: Thu, 13 Nov 2003 13:31:48 +0000
Hi Larry,
On Wed, 2003-11-12 at 04:23, lgust@verizon.net wrote:
> Has anyone seen a similar problem to the Segmentation fault described below?
Yes - sometimes when you don't do a g_type_init this sort of thing
happens - but we do that in linc2/src/linc.c so ...
> Do you have any ideas of how I might solve it?
Get a stack trace from the first warning (break point in g_logv) and
have a dig around. I suspect it may be related to GType sizes. The GType
type has to be a pointer type size - and there are a number of int <->
pointer type cast things going on in the background. Possibly that's
running into ARM's cunning integer handling (?).
> This error appears to originate in the call to
>
> orb = CORBA_ORB_init(&argc, argv, "orbit-local-orb", &ev);
Right; we need a trace really. clearly everything works fine here :-)
Another thing that may cause you grief, and is crucial to get right for
the ORB to work is:
ORBit2/include/orbit/orbit-config.h
includes a load of ORBIT_ALIGNOF_CORBA_FLOAT - and that sort of thing,
that is highly platform specific, and has to be right for ORBit2 to work
at all on your architecture.
HTH,
Michael.
--
michael@ximian.com <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]