[orbitcpp-list] [ orbitcpp-Support Requests-452143 ] Error while compiling
Status: Beta
Brought to you by:
philipd
|
From: <no...@so...> - 2001-12-08 07:05:11
|
Support Requests item #452143, was opened at 2001-08-17 09:23 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=200646&aid=452143&group_id=646 Category: None Group: None Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Sam Couter (eddiesam) Summary: Error while compiling Initial Comment: The configure script works perfectly but I 've an error while compiling. I use Suse 7.2 and I've installed the orbit and orbit-devel packages from the distrib. It seems that my version of orbit is 0.5.7 Here is what returned make: Making all in compiler make[1]: Entering directory `/var/tmp/orbitcpp- 0.30.1/compiler' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/orbitcpp- 0.30.1/compiler' Making all in orb make[1]: Entering directory `/var/tmp/orbitcpp- 0.30.1/orb' make[1]: Leaving directory `/var/tmp/orbitcpp- 0.30.1/orb' Making all in services make[1]: Entering directory `/var/tmp/orbitcpp- 0.30.1/services' Making all in name make[2]: Entering directory `/var/tmp/orbitcpp- 0.30.1/services/name' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/orbitcpp- 0.30.1/services/name' make[2]: Entering directory `/var/tmp/orbitcpp- 0.30.1/services' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/var/tmp/orbitcpp- 0.30.1/services' make[1]: Leaving directory `/var/tmp/orbitcpp- 0.30.1/services' Making all in test make[1]: Entering directory `/var/tmp/orbitcpp- 0.30.1/test' Making all in everything make[2]: Entering directory `/var/tmp/orbitcpp- 0.30.1/test/everything' Making all in generated make[3]: Entering directory `/var/tmp/orbitcpp- 0.30.1/test/everything/generated' 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 make[3]: Leaving directory `/var/tmp/orbitcpp- 0.30.1/test/everything/generated' make[2]: Leaving directory `/var/tmp/orbitcpp- 0.30.1/test/everything' make[1]: Leaving directory `/var/tmp/orbitcpp- 0.30.1/test' everything-common.c:622: `TC_CORBA_sequence_CORBA_any_struct' undeclared here (not in a function) everything-common.c:622: initializer element is not constant everything-common.c:622: (near initialization for `anon_subtypes_array128[0]') everything-common.c: In function `test_FixedLengthStruct__free': everything-common.c:2616: warning: unused parameter `dat' everything-common.c:2617: warning: unused parameter `free_strings' everything-common.c: In function `test_VariableLengthStruct__free': everything-common.c:2637: warning: unused parameter `dat' everything-common.c: In function `test_CompoundStruct__free': everything-common.c:2662: warning: unused parameter `dat' everything-common.c: In function `CORBA_sequence_CORBA_string__free': everything-common.c:2702: warning: unused parameter `dat' everything-common.c: In function `CORBA_sequence_test_CompoundStruct__free': everything-common.c:2766: warning: unused parameter `dat' everything-common.c: In function `CORBA_sequence_CORBA_long__free': everything-common.c:2832: warning: unused parameter `dat' everything-common.c: In function `CORBA_sequence_test_StrSeq__free': everything-common.c:2957: warning: unused parameter `dat' everything-common.c: In function `test_AnySeq__free': everything-common.c:3062: warning: implicit declaration of function `CORBA_sequence_CORBA_any__free' everything-common.c:3062: warning: return makes pointer from integer without a cast everything-common.c: In function `test_AnySeq__alloc': everything-common.c:3068: warning: implicit declaration of function `CORBA_sequence_CORBA_any__alloc' everything-common.c:3068: warning: return makes pointer from integer without a cast everything-common.c: In function `test_StructWithSequenceInIt__free': everything-common.c:3124: warning: unused parameter `dat' everything-common.c: In function `test_TestException__free': everything-common.c:3201: warning: unused parameter `dat' everything-common.c: In function `test_TestStruct2__free': everything-common.c:3234: warning: unused parameter `dat' everything-common.c: In function `test_TestException2__free': everything-common.c:3258: warning: unused parameter `dat' everything-common.c: In function `test_LongArray__free': everything-common.c:3283: warning: unused parameter `dat' everything-common.c:3283: warning: unused parameter `free_strings' everything-common.c: In function `test_StrArray__free': everything-common.c:3301: warning: unused parameter `dat' everything-common.c: In function `test_StrArrayMultiDimensional__free': everything-common.c:3327: warning: unused parameter `dat' everything-common.c: In function `test_VariableLengthStructArray__free': everything-common.c:3360: warning: unused parameter `dat' everything-common.c: In function `test_FixedLengthUnion__free': everything-common.c:3394: warning: unused parameter `dat' everything-common.c:3395: warning: unused parameter `free_strings' everything-common.c: In function `test_VariableLengthUnion__free': everything-common.c:3480: warning: unused parameter `dat' everything-common.c: In function `test_EnumUnion__free': everything-common.c:3525: warning: unused parameter `dat' everything-common.c:3525: warning: unused parameter `free_strings' everything-common.c: In function `test_BooleanUnion__free': everything-common.c:3553: warning: unused parameter `dat' everything-common.c: In function `test_StrArray2__free': everything-common.c:3585: warning: unused parameter `dat' everything-common.c: In function `test_ArrayUnion__free': everything-common.c:3611: warning: unused parameter `dat' everything-common.c: In function `FixedLengthStruct__free': everything-common.c:3643: warning: unused parameter `dat' everything-common.c:3644: warning: unused parameter `free_strings' everything-common.c: In function `VariableLengthStruct__free': everything-common.c:3664: warning: unused parameter `dat' everything-common.c: In function `CompoundStruct__free': everything-common.c:3689: warning: unused parameter `dat' everything-common.c: In function `CORBA_sequence_CompoundStruct__free': everything-common.c:3792: warning: unused parameter `dat' everything-common.c: In function `CORBA_sequence_StrSeq__free': everything-common.c:3980: warning: unused parameter `dat' everything-common.c: In function `StructWithSequenceInIt__free': everything-common.c:4081: warning: unused parameter `dat' everything-common.c: In function `TestException__free': everything-common.c:4158: warning: unused parameter `dat' everything-common.c: In function `LongArray__free': everything-common.c:4190: warning: unused parameter `dat' everything-common.c:4190: warning: unused parameter `free_strings' everything-common.c: In function `StrArray__free': everything-common.c:4207: warning: unused parameter `dat' everything-common.c: In function `StrArrayMultiDimensional__free': everything-common.c:4231: warning: unused parameter `dat' everything-common.c: In function `VariableLengthStructArray__free': everything-common.c:4264: warning: unused parameter `dat' everything-common.c: In function `FixedLengthUnion__free': everything-common.c:4297: warning: unused parameter `dat' everything-common.c:4297: warning: unused parameter `free_strings' everything-common.c: In function `VariableLengthUnion__free': everything-common.c:4382: warning: unused parameter `dat' everything-common.c: In function `EnumUnion__free': everything-common.c:4427: warning: unused parameter `dat' everything-common.c:4427: warning: unused parameter `free_strings' everything-common.c: In function `BooleanUnion__free': everything-common.c:4454: warning: unused parameter `dat' everything-common.c: In function `StrArray2__free': everything-common.c:4485: warning: unused parameter `dat' everything-common.c: In function `ArrayUnion__free': everything-common.c:4509: warning: unused parameter `dat' make[3]: *** [everything-common.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 ---------------------------------------------------------------------- >Comment By: Sam Couter (eddiesam) Date: 2001-12-07 23:05 Message: Logged In: YES user_id=14486 I can't reproduce this. In the everything-common.c I have just generated, TC_CORBA_sequence_CORBA_any_struct is defined on lines 573 and 598 before being used on line 622. It being defined twice is probably a bug, but in ORBit, not ORBit-C++. Since this report is anonymous, I will close it if I do not receive more information about it. ---------------------------------------------------------------------- Comment By: Thibault Debatty (taibo) Date: 2001-09-10 12:49 Message: Logged In: YES user_id=320925 No !! I had to use an older version of orbit cpp. Sorry ---------------------------------------------------------------------- Comment By: Cecil Watson (cesman) Date: 2001-09-10 12:24 Message: Logged In: YES user_id=234924 Has this been resolved yet? If so, how? I have the same problem w/ Redhat 7.1. It is an out of the box install on a SMP PIII 650. Thanks in advance, Cecil ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=200646&aid=452143&group_id=646 |