Re: compile error: corba-defs-common.c



Michael,

OK,

I did find . -name '.deps' -exec rm -RF {} \;

I also removed the "--noskels --nodefskels --nostubs --noidata --noheaders"
options in all the Makefiles where I could find them.

I also went into libIDL's and added a $ at the end of the pattern for
cpp_other - I wonder if the reason for the IDL compiler complaint is
because of the #ident that Solaris' cc -E puts at the end of the file.

I now get a bit further, compiling orbit-interface-common.c:

"../../../include/orbit/orb-core/corba-defs.h", line 8229: syntax error
before or at: PortableServer_ServantBase__epv
"../../../include/orbit/orb-core/corba-defs.h", line 8229: cannot recover
from previous errors

Looks like the idl files in src/idl/misc need to be compiled first, but I
can't find a Makefile to do this.  Going into that directory and running
make install gives this result:
make[1]: Entering directory '.....src/idl/misc'
make[1]: Nothing to be done for 'install-exec-am'.
make[1]: Nothing to be done for 'install-data-am'.
make[1]: Leaving directory '......src/idl/misc'

Any other ideas?

Hamish




Michael Meeks <michael@ximian.com>@gnome.org on 05/03/2003 10:01:52

Sent by:    orbit-list-admin@gnome.org


To:    Hamish Blair <Hamish.Blair@marconi.com>
cc:    orbit <orbit-list@gnome.org>

Subject:    Re: compile error: corba-defs-common.c

Hi Hamish,

             Just a stab in the dark - can you set your LANG to 'C', do a
make
clean, find -name '.deps' -exec rm -Rf {} \; and a make ? somehow our
deps generation is getting a i18n-ized 'none' string into it - for
reasons I havn't had time to investigate recently.

             May help,

             Regards,

                         Michael.

On Tue, 2003-03-04 at 11:49, Hamish Blair wrote:
> On Thu, 2002-01-31 at 15:43, Guido Guenther wrote:
> > I'm trying to build ORBit2-2.3.103. It fails with:
> >
> > gcc: corba-defs-common.c: No such file or directory (in
> src/orb/orb-core).
>
> I'm getting this problem too.  But I notice that earlier in the log I get
> this message:
>
> ../../../src/idl-compiler/orbit-idl-2 -I../../../src/idl/CORBA_PIDL
> -I../../../src/idl/CORBA -I../../../src/idl/misc
-I../../../src/idl/interop
> -I. --noskels --nodefskels --nostubs --noidata --noheaders
> --define=Object=OObject --define=TypeCode=TTypeCode --showcpperrors
--deps
> ./.deps/corba-defs.idl.P corba-defs.idl
> orbit-idl-2 2.6.0 compiling
>   mode, show preprocessor errors, passes: common skel_impl imodule
>
> corba-defs.idl:27: Error: parse error, unexpected TOK_SRCFILE, expecting
> TOK_ENUM or TOK_STRUCT or TOK_UNION
>
> ** (process:6939): WARNING **: corba-defs.idl compilation failed
>
> ** (process:6939): WARNING **: corba-defs.idl compilation failed
>
> How can orbit-idl-2 be fixed to parse these system IDL files?
>
>
>
>
>
> _______________________________________________
> orbit-list mailing list
> orbit-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/orbit-list
--
 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]