Re: [orbitcpp-list] Can't compile
Status: Beta
Brought to you by:
philipd
From: <MHL...@t-...> - 2001-08-30 17:18:22
|
Am 30.08.2001 11:51 schrieb(en) Andreas Tretow: > Hi Everybody, > > I would appreciate any help or pointers as to what my problem with > compilation could be. > My setup: RH 7.1 (standard compiler 2.96.81 and gcc 2.95.3, same > problems with each version) > # rpm -qa | grep -i orbit > ORBit-devel-0.5.8-ximian.2 > ORBit-0.5.8-ximian.2 > > I get the following output: > [...] > gcc -DHAVE_CONFIG_H -I. -I. -I../../../orb -I../../.. -I../../.. > -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include -g > -O0 -Wall -W -c everything-common.c > everything-common.c:622: `TC_CORBA_sequence_CORBA_any_struct' undeclared > here (not in a function) [...] This is weird! I do remember a thread on orbit-list before version 0.5.8 was announced that sounded like the following patch solving your problem would be applied. However looking at my own brand-new Linux-installation I don't see anything has changed: In file .../include/orb/corba_sequences.h put the following lines in /* ... */: #define _CORBA_sequence_CORBA_any_defined typedef struct CORBA_sequence_CORBA_any_struct CORBA_AnySeq; typedef struct CORBA_sequence_CORBA_any_struct CORBA_sequence_CORBA_any; The section sais that CORBA_sequence_CORBA_any is defined but this is very untrue at least for the typecode. So later on the automatically (by the idl-compiler) generated stubs that define the typecode and implement CORBA_sequence_CORBA_any are not compiled in. That's why eventually the compiler mocks. Phil: Didn't you port the test "everything" to plain orbit? Does it pass there? Cu, Martin P.S.: I'm deeply sorry and ask you to apologize my having annoyed others on the list with wrong information ("do you really have ORBit 0.5.8 installed?") |