Re: [Q] problem with orbit-idl compile



Hi,

On Thu, 28 Mar 2002, [ks_c_5601-1987] ¿ÀÁÖ¿ë wrote:

> hello
>
> I installed ORBit2-2.3.105 in Redhat linux 7.2.
>
> and I compiled a simple example "echo program" which send a string from client to server.
>
> some message occurred during the compiling .
> -------------------------------------------
> #make
> orbit-idl 2.3.105 compiling
> small mode, show preprocessor errors, passes: stubs skels common headers skel_impl imodule
> -------------------------------------------
>
> and then, I coultn't execute the program with a error message.
> -------------------------------------------
> # ./echo-server
> (process:1833)" ** ERROR **: file poa.c: line 737 (ORBit_POA_create_object): assertion failed:
> (objkd->_length == sizeof (CORBA_unsigned_long) + ORBIT_RAND_DATA_LEN)
> aborting ...
> Aborted
> -------------------------------------------
> Is some relation between message during the compiling  and error message during the executing time?
>
> and how can I address this problem?

	You are trying to use POA::activate_object_with_id on the
RootPOA. The RootPOA uses the SYSTEM_ID policy, so you shouldn't be
trying to assign your own ids to objects. Either use
POA::activate_object or create a child POA that has the USER_ID
policy.

Good Luck,
Mark.




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