Re: orbit-idl-2 ... Anyone?



Thank you for your response,

 The reason I ended up with this attempt at IDL is the problem of not
being able to compile the ORBit2 package, as reported earlier. Here the
system bombs out as presented below. The GIOP.idl has statements much
like the one I used in the test - can you suggest how this can be if the
example I made is not proper IDL? Can you attach your version of 
src/idl/interop/GIOP.idl for me to test?

 Regards Jan...

>head -40 ../../idl/interop/GIOP.idl |tail -1
     char                        magic [4];

>../../../src/idl-compiler/orbit-idl-2 -I../../../src/idl/CORBA_PIDL				-I../../../src/idl/CORBA					-I../../../src/idl/misc				
	-I../../../src/idl/interop					--noskels --nodefskels --nostubs
--noidata --noheaders		--define=Object=OObject
--define=TypeCode=TTypeCode	        --showcpperrors --deps
./.deps/iop-defs.idl.P iop-defs.idl 
orbit-idl 2.3.109 compiling
 small mode, show preprocessor errors, passes: common skel_impl imodule

../../../src/idl/interop/GIOP.idl:40: Error: Zero array size is illegal
../../../src/idl/interop/GIOP.idl:40: Error: Missing value in dimension
1 of array `GIOP::MessageHeader_1_0::magic'
../../../src/idl/interop/GIOP.idl:49: Error: Zero array size is illegal
../../../src/idl/interop/GIOP.idl:49: Error: Missing value in dimension
1 of array `GIOP::MessageHeader_1_1::magic'
../../../src/idl/interop/GIOP.idl:74: Error: Zero array size is illegal
../../../src/idl/interop/GIOP.idl:74: Error: Missing value in dimension
1 of array `GIOP::RequestHeader_1_1::reserved'
../../../src/idl/interop/GIOP.idl:97: Error: Zero array size is illegal
../../../src/idl/interop/GIOP.idl:97: Error: Missing value in dimension
1 of array `GIOP::RequestHeader_1_2::reserved'

** (process:6992): WARNING **: iop-defs.idl compilation failed


tor, 2002-05-23 kl. 22:30 skrev Diego Sevilla Ruiz:
> Hi!
> 
> On Thu, May 23, 2002 at 10:13:14PM +0200, Jan Vittrup Hansen wrote:
> 
> | Hi,
> | 
> |  Still strugling. Dang. Now I made a small example. I don't get it.
> | Please anyone - have mercy! What can be at fault? Still running vicius
> | scripts, still no outside lib pollution according to strace :(
> | 
> |   regards, Jan...
> | 
> | >cat hop.idl
> | module test 
> | {
> |     struct leg
> | 	{
> | 		char hep[2];
> |     };
> | };
> | 
> 
> This is not valid IDL.
> 
> You should use something like:
> 
> typedef array<char,2> CharArray2;
> 
> struct leg {
> 	CharArray2 hep;
> };
> 
> 	Best regards.
> 	diego.
> 
> -- 
> Diego Sevilla Ruiz  http://ditec.um.es/~dsevilla  dsevilla@um.es  \    /\
> Dpto. Ingeniería y Tecnología de Computadores http://ditec.um.es   )  ( ')
> Visiting Extreme! Computing Lab       http://extreme.indiana.edu  (  /  )
> Indiana University, Bloomington               http://www.iub.edu   \(__)|





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