Re: Cross-Compiled ORBit2 has Errors in Glib






Did you fix all of the compiler "warnings" when you compiled glib?

-Dave



                                                                                                                                     
                      <lgust@verizon.ne                                                                                              
                      t>                       To:       <orbit-list@gnome.org>                                                      
                      Sent by:                 cc:                                                                                   
                      orbit-list-admin@        Subject:  Cross-Compiled ORBit2 has Errors in Glib                                    
                      gnome.org                                                                                                      
                                                                                                                                     
                                                                                                                                     
                      11/11/2003 10:23                                                                                               
                      PM                                                                                                             
                                                                                                                                     
                                                                                                                                     




Has anyone seen a similar problem to the Segmentation fault described
below? Do you have any ideas of how I might solve it?

I have cross compiled ORBit2 and the dependent packages to run on an ARM
processor out of a RAM disk. I cross compiled the following packages:

glib-2.0.7.tar.gz
libIDL-0.8.2.gz
popt-1.6.3.tar.gz
linc-1.0.3.tar.gz
ORBit2-2.7.6.tar.gz
orbitcpp-1.3.7.tar.gz

I cross compiled the sample echo program. When I execute the server on the
ARM processor, it terminates with a segmentation fault and I get a list of
the following messages displayed:

(process:623): GLib-GObject-WARNING **: specified class size for type
`GParamChar' is smaller than the parent type's `GParam' class size

(process:623): GLib-GObject-WARNING **: specified class size for type
`GParamUChar' is smaller than the parent type's `GParam' class size

AND MANY MORE

(process:623): GLib-GObject-WARNING **: specified class size for type
`LinkServer' is smaller than the parent type's `GObject' class size

(process:623): GLib-GObject-CRITICAL **: file ../../glib-2.3.0
/gobject/gtype.c: line 2253 (g_type_register_static): assertion
`parent_type > 0' failed

(process:623): GLib-GObject-CRITICAL **: file ../../glib-2.3.0
/gobject/gobject.c: line 812 (g_object_new): assertion `G_TYPE_IS_OBJECT
(object_type)' failed
Segmentation fault

This error appears to originate in the call to

orb = CORBA_ORB_init(&argc, argv, "orbit-local-orb", &ev);

Regards,
Larry S. Gustafson



_______________________________________________
orbit-list mailing list
orbit-list@gnome.org
http://mail.gnome.org/mailman/listinfo/orbit-list






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]