Re: [ORBit] no contents by orbit-idl?



> HIii everyone..
> 	When I was trying to build ORBit 0.2.1 on my FreeBSD 3.0 , 
> 	It happens that:

I've just maked ORBit 0.2 port for the official port so I can tell you
how to avoid to below error. And please tell me where to get the new
version of that, ORBit-0.2.1 ...


> In file included from ../ORBitutil/machine_endian.h:4,
>                  from iiop-endian.h:6,
>                  from iiop-endian.c:1:
> /usr/include/machine/types.h:51: parse error before `vm_ooffset_t'
> /usr/include/machine/types.h:51: warning: data definition has no type or
> storage
>  class
> /usr/include/machine/types.h:65: parse error before `int64_t'
> /usr/include/machine/types.h:65: warning: data definition has no type or
> storage
>  class In file included from ../ORBitutil/machine_endian.h:4,
>                  from iiop-endian.h:6,
>                  from iiop-endian.c:1:
> /usr/include/machine/types.h:51: parse error before `vm_ooffset_t'
> /usr/include/machine/types.h:51: warning: data definition has no type or
> storage
>  class
> /usr/include/machine/types.h:65: parse error before `int64_t'
> /usr/include/machine/types.h:65: warning: data definition has no type or
> storage
>  class 
> 	and I solved this with using <sys/types.h> instead if <machine>in
> 	src/ORBitutil/machine_endian.h

Yes, insert #include <sys/types.h> is the best solutions...

> 	and then , I met..
> orbit_poa.c:32: alloca.h: No such file or directory
> 
> 	and uses "allocators.h" in src/orb/orbit_poa.c to overcome..
> 
> 	However , not knowing why , when it comes to test....
> 	it showed ..

Hmm... this error didn't occured for me, ORBit 0.2 ...

> creating test-dynamic
> ../src/idl-compiler/orbit-idl echo.idl
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/orb -I../src -I../src/orb
> -I../src -I/
> usr/local/include/glib  -g -O2 -c echo-client.c
> usage: indent file [ outfile ] [ options ]
> usage: indent file [ outfile ] [ options ]
> usage: indent file [ outfile ] [ options ]
> usage: indent file [ outfile ] [ options ]
> usage: indent file [ outfile ] [ options ]
> echo-client.c:5: parse error before `echo_client'

Use GNU indent instead of FreeBSD native indent.
Please refer this port skelton about how to do that...

--------------
Yukihiro Nakai



orbit-0.2-19980814.tar.gz



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