Hello again.
I'm afraid I overlooked this message earlier.
In these 4 lines I have the following value for "reserved" and "magic":
CORBA_octet reserved[957777707011];
CORBA_char magic[957777707012];
Could this be set in compilation time? I looked in the compacted
source code indeed values are like 3 and 4.
I think this file may be (re)generated from an IDL file - probably
/src/orb/orb-core/iop-defs.idl - much in the same way as you will
generate files when building your CORBA (ORBit2) application. Not sure
why you get these values, but *maybe* you can figure out what's going on
by inspecting the above mentioned file, along with Makefile commands
involving "orbit-idl-2" and the filename...
- Toralf
Btw, my compilation command is this:
./configure --prefix=/usr --libdir=/usr/lib32 \
--disable-static CC='gcc -m32' \
--build=i686-unknown-linux-gnu
make
2011/1/26 Toralf Lund <[email protected] <mailto:[email protected]>>
rafael ff1 wrote:
Hi all,
I'm trying to create a lib32 package for Orbit2 for Archlinux
64 bit, but I'm getting the following compilation error and I
just haven't a clue of what it means! Can some one help me out?
I somewhat doubt it, but have you checked the actual code the
compiler complains about, i.e. lines 1398, 1429, 1617 and 1781 in
include/orbit/orb-core/iop-defs.h?
In my versions I see declarations of 3- or 4-element arrays, which
doesn't seem too large...
- Toralf
Thanks in advance.
/bin/sh ../../../libtool --tag=CC --mode=compile gcc -m32
-DHAVE_CONFIG_H -I. -I../../.. -I. -I. -I../../../include
-I../../../include/orbit/orb-core -I../../../include
-I../../../include/orbit/orb-core
-DORBIT_TYPELIB_DIR=\""/usr/lib32/orbit-2.0"\"
-DORBIT2_INTERNAL_API -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -I../../../linc2/include
-I../../../linc2/include -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -march=x86-64 -mtune=generic
-O2 -pipe -Werror-implicit-function-declaration -MT
orbit-interface-common.lo -MD -MP -MF
.deps/orbit-interface-common.Tpo -c -o
orbit-interface-common.lo orbit-interface-common.c
libtool: compile: gcc -m32 -DHAVE_CONFIG_H -I. -I../../.. -I.
-I. -I../../../include -I../../../include/orbit/orb-core
-I../../../include -I../../../include/orbit/orb-core
-DORBIT_TYPELIB_DIR=\"/usr/lib32/orbit-2.0\"
-DORBIT2_INTERNAL_API -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -I../../../linc2/include
-I../../../linc2/include -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -march=x86-64 -mtune=generic -O2
-pipe -Werror-implicit-function-declaration -MT
orbit-interface-common.lo -MD -MP -MF
.deps/orbit-interface-common.Tpo -c orbit-interface-common.c
-fPIC -DPIC -o .libs/orbit-interface-common.o
In file included from
../../../include/orbit/GIOP/giop-types.h:11:0,
from ../../../include/orbit/GIOP/giop.h:7,
from ../../../include/orbit/orbit.h:15,
from
../../../include/orbit/orb-core/orbit-interface.h:738,
from orbit-interface-common.c:9:
../../../include/orbit/orb-core/iop-defs.h:1398:12: error:
size of array 'magic' is too large
../../../include/orbit/orb-core/iop-defs.h:1429:12: error:
size of array 'magic' is too large
../../../include/orbit/orb-core/iop-defs.h:1617:13: error:
size of array 'reserved' is too large
../../../include/orbit/orb-core/iop-defs.h:1781:13: error:
size of array 'reserved' is too large
make[5]: *** [orbit-interface-common.lo] Error 1
make[5]: Leaving directory
`/home/rafael/builds/lib32-orbit2/src/ORBit2-2.14.19/src/orb/orb-core'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/home/rafael/builds/lib32-orbit2/src/ORBit2-2.14.19/src/orb/orb-core'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/rafael/builds/lib32-orbit2/src/ORBit2-2.14.19/src/orb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/rafael/builds/lib32-orbit2/src/ORBit2-2.14.19/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/rafael/builds/lib32-orbit2/src/ORBit2-2.14.19'
make: *** [all] Error 2
Aborting...
This e-mail, including any attachments and response string, may
contain proprietary information which is confidential and may be
legally privileged. It is for the intended recipient only. If you
are not the intended recipient or transmission error has
misdirected this e-mail, please notify the author by return e-mail
and delete this message and any attachment immediately. If you are
not the intended recipient you must not use, disclose, distribute,
forward, copy, print or rely on this e-mail in any way except as
permitted by the author.
_______________________________________________
orbit-list mailing list
[email protected] <mailto:[email protected]>
http://mail.gnome.org/mailman/listinfo/orbit-list
This e-mail, including any attachments and response string, may contain
proprietary information which is confidential and may be legally privileged. It
is for the intended recipient only. If you are not the intended recipient or
transmission error has misdirected this e-mail, please notify the author by
return e-mail and delete this message and any attachment immediately. If you
are not the intended recipient you must not use, disclose, distribute, forward,
copy, print or rely on this e-mail in any way except as permitted by the author.
_______________________________________________
orbit-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/orbit-list