Re: (CORBA_ORB_init): assertion failed:
- From: anil kumar <anilk cdotd ernet in>
- To: mark skynet ie, Michael Meeks <michael ximian com>
- Cc: orbit-list gnome org
- Subject: Re: (CORBA_ORB_init): assertion failed:
- Date: Thu, 24 Jan 2002 19:45:02 +0500 (GMT+0500)
hello ,
Thanks for your help in solving the problem.I was trying for last 2
days to solve the problem.
Actually as suggested i checked config.log and found that the
glib-1.3.12 i had build was not in my $LD_LIBRARY_PATH .So When
configure was running conftest it was getting Error "
./conftest: error while loading shared libraries: libgthread-1.3.so.12:
cannot load shared object
file: No such file or directory
"
Now i have following Entry in orbit-config.h
/*
* Alignment of CORBA types mapped to C.
* These have *nothing* to do with CDR alignment.
*/
#define ORBIT_ALIGNOF_CORBA_OCTET 1
#define ORBIT_ALIGNOF_CORBA_BOOLEAN 1
#define ORBIT_ALIGNOF_CORBA_CHAR 1
#define ORBIT_ALIGNOF_CORBA_WCHAR 2
#define ORBIT_ALIGNOF_CORBA_SHORT 2
#define ORBIT_ALIGNOF_CORBA_LONG 4
#define ORBIT_ALIGNOF_CORBA_LONG_LONG 4
#define ORBIT_ALIGNOF_CORBA_FLOAT 4
#define ORBIT_ALIGNOF_CORBA_DOUBLE 4
#define ORBIT_ALIGNOF_CORBA_LONG_DOUBLE 4
#define ORBIT_ALIGNOF_CORBA_STRUCT 1
#define ORBIT_ALIGNOF_CORBA_POINTER 4
#endif
Instead Of Earlier
#define ORBIT_ALIGNOF_CORBA_OCTET 0
#define ORBIT_ALIGNOF_CORBA_BOOLEAN 0
#define ORBIT_ALIGNOF_CORBA_CHAR 0
#define ORBIT_ALIGNOF_CORBA_WCHAR 0
#define ORBIT_ALIGNOF_CORBA_SHORT 0
#define ORBIT_ALIGNOF_CORBA_LONG 0
#define ORBIT_ALIGNOF_CORBA_LONG_LONG 0
#define ORBIT_ALIGNOF_CORBA_FLOAT 0
#define ORBIT_ALIGNOF_CORBA_DOUBLE 0
#define ORBIT_ALIGNOF_CORBA_LONG_DOUBLE 0
#define ORBIT_ALIGNOF_CORBA_STRUCT 0
#define ORBIT_ALIGNOF_CORBA_POINTER 0
regards
Anil
On 24 Jan 2002, Michael Meeks wrote:
> Hi Anil,
>
> On Thu, 2002-01-24 at 05:25, anil kumar wrote:
> > (process:14415): ** ERROR **: file corba-orb.c: line 114 (CORBA_ORB_init):
> > assertion failed: (ORBIT_ALIGNOF_CORBA_POINTER > 2)
> > aborting...
> > Trace/BPT trap (core dumped)
>
> So - somewhere configure went very badly wrong; what does
>
> ORBit2/include/orbit/orbit-config.h say ?
>
> Mine ( x86 ) says:
>
> #define ORBIT_ALIGNOF_CORBA_OCTET 1
> #define ORBIT_ALIGNOF_CORBA_BOOLEAN 1
> #define ORBIT_ALIGNOF_CORBA_CHAR 1
> #define ORBIT_ALIGNOF_CORBA_WCHAR 2
> #define ORBIT_ALIGNOF_CORBA_SHORT 2
> #define ORBIT_ALIGNOF_CORBA_LONG 4
> #define ORBIT_ALIGNOF_CORBA_LONG_LONG 4
> #define ORBIT_ALIGNOF_CORBA_FLOAT 4
> #define ORBIT_ALIGNOF_CORBA_DOUBLE 4
> #define ORBIT_ALIGNOF_CORBA_LONG_DOUBLE 4
> #define ORBIT_ALIGNOF_CORBA_STRUCT 1
> #define ORBIT_ALIGNOF_CORBA_POINTER 4
>
> I'd be highly surprised if your DOUBLE was aligned less than 2, what
> CPU / .architecture are you using ?
>
> Regards,
>
> Michael.
>
> --
> mmeeks@gnu.org <><, Pseudo Engineer, itinerant idiot
>
> _______________________________________________
> 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]