Re: Compilation error attempt for lib32

rafael ff1 <[email protected]> Mon, 7 Feb 2011 03:39:10 -0200
Newsgroups gmane.comp.gnome.orbit.general
Message-ID <[email protected]>
--===============1564823960==
Content-Type: multipart/alternative; boundary=0016363b8528bcbee6049baaa657

--0016363b8528bcbee6049baaa657
Content-Type: text/plain; charset=ISO-8859-1

I made it work by adding the option "--with-idl-compiler=/usr/bin/orbit-idl-2"
to ./configure. I tried that because I have libIDL installed and
thatOrbit normally
uses a internal IDL.

Makefile and "orbit-idl-2" commands and file didn't provide me much
information, probably because I just can't understand.. lol

Thanks

2011/2/3 Toralf Lund <[email protected]>

> 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
>

--0016363b8528bcbee6049baaa657
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf-8"><s=
pan class=3D"Apple-style-span" style=3D"border-collapse: collapse; font-fam=
ily: arial, sans-serif; font-size: 13px; ">I=A0made it work by adding the o=
ption &quot;--with-idl-compiler=3D/usr/bin/<span class=3D"il" style=3D"back=
ground-image: initial; background-attachment: initial; background-origin: i=
nitial; background-clip: initial; background-color: rgb(255, 255, 204); col=
or: rgb(34, 34, 34); background-position: initial initial; background-repea=
t: initial initial; ">orbit</span>-idl-2&quot; to ./configure. I tried that=
 because I have=A0libIDL installed and that<span class=3D"il" style=3D"back=
ground-image: initial; background-attachment: initial; background-origin: i=
nitial; background-clip: initial; background-color: rgb(255, 255, 204); col=
or: rgb(34, 34, 34); background-position: initial initial; background-repea=
t: initial initial; ">Orbit</span>=A0normally uses a internal IDL.<div>
<br></div><div>Makefile and &quot;<span class=3D"il" style=3D"background-im=
age: initial; background-attachment: initial; background-origin: initial; b=
ackground-clip: initial; background-color: rgb(255, 255, 204); color: rgb(3=
4, 34, 34); background-position: initial initial; background-repeat: initia=
l initial; ">orbit</span>-idl-2&quot; commands and file didn&#39;t provide =
me much information, probably because I just can&#39;t understand.. lol</di=
v>
<div><br></div><div>Thanks</div></span><br><div class=3D"gmail_quote">2011/=
2/3 Toralf Lund <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]=
">[email protected]</a>&gt;</span><br><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello again.<br>
<br>
I&#39;m afraid I overlooked this message earlier.<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
In these 4 lines I have the following value for &quot;reserved&quot; and &q=
uot;magic&quot;:<br>
CORBA_octet reserved[957777707011];<br>
CORBA_char magic[957777707012];<br>
<br>
Could this be set in compilation time? I looked in the compacted source cod=
e indeed values are like 3 and 4.<br>
</blockquote>
I think this file may be (re)generated from an IDL file - probably =A0/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&#39;s going on by inspecting th=
e above mentioned file, along with Makefile commands involving &quot;orbit-=
idl-2&quot; and the filename...<br>

<br>
- Toralf<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
Btw, my compilation command is this:<br>
<br>
./configure --prefix=3D/usr --libdir=3D/usr/lib32 \<br>
 =A0 =A0 =A0 =A0--disable-static CC=3D&#39;gcc -m32&#39; \<br>
 =A0 =A0 =A0 =A0--build=3Di686-unknown-linux-gnu<br>
 =A0make<br>
<br>
<br>
2011/1/26 Toralf Lund &lt;<a href=3D"mailto:[email protected]" target=3D"=
_blank">[email protected]</a> &lt;mailto:<a href=3D"mailto:toralf.lund@pg=
s.com" target=3D"_blank">[email protected]</a>&gt;&gt;<div><div></div><di=
v class=3D"h5">
<br>
<br>
 =A0 =A0rafael ff1 wrote:<br>
<br>
 =A0 =A0 =A0 =A0Hi all,<br>
<br>
 =A0 =A0 =A0 =A0I&#39;m trying to create a lib32 package for Orbit2 for Arc=
hlinux<br>
 =A0 =A0 =A0 =A064 bit, but I&#39;m getting the following compilation error=
 and I<br>
 =A0 =A0 =A0 =A0just haven&#39;t a clue of what it means! Can some one help=
 me out?<br>
<br>
 =A0 =A0I somewhat doubt it, but have you checked the actual code the<br>
 =A0 =A0compiler complains about, i.e. lines 1398, 1429, 1617 and 1781 in<b=
r>
 =A0 =A0include/orbit/orb-core/iop-defs.h?<br>
<br>
 =A0 =A0In my versions I see declarations of 3- or 4-element arrays, which<=
br>
 =A0 =A0doesn&#39;t seem too large...<br>
<br>
 =A0 =A0- Toralf<br>
<br>
<br>
 =A0 =A0 =A0 =A0Thanks in advance.<br>
<br>
<br>
 =A0 =A0 =A0 =A0/bin/sh ../../../libtool --tag=3DCC =A0 --mode=3Dcompile gc=
c -m32<br>
 =A0 =A0 =A0 =A0-DHAVE_CONFIG_H -I. -I../../.. -I. -I. -I../../../include<b=
r>
 =A0 =A0 =A0 =A0-I../../../include/orbit/orb-core -I../../../include<br>
 =A0 =A0 =A0 =A0-I../../../include/orbit/orb-core<br>
 =A0 =A0 =A0 =A0-DORBIT_TYPELIB_DIR=3D\&quot;&quot;/usr/lib32/orbit-2.0&quo=
t;\&quot;<br>
 =A0 =A0 =A0 =A0-DORBIT2_INTERNAL_API -Wall -Wunused -Wmissing-prototypes<b=
r>
 =A0 =A0 =A0 =A0-Wmissing-declarations =A0-I../../../linc2/include<br>
 =A0 =A0 =A0 =A0-I../../../linc2/include -pthread -I/usr/include/glib-2.0<b=
r>
 =A0 =A0 =A0 =A0-I/usr/lib/glib-2.0/include =A0 =A0 =A0-march=3Dx86-64 -mtu=
ne=3Dgeneric<br>
 =A0 =A0 =A0 =A0-O2 -pipe -Werror-implicit-function-declaration =A0-MT<br>
 =A0 =A0 =A0 =A0orbit-interface-common.lo -MD -MP -MF<br>
 =A0 =A0 =A0 =A0.deps/orbit-interface-common.Tpo -c -o<br>
 =A0 =A0 =A0 =A0orbit-interface-common.lo orbit-interface-common.c<br>
 =A0 =A0 =A0 =A0libtool: compile: =A0gcc -m32 -DHAVE_CONFIG_H -I. -I../../.=
. -I.<br>
 =A0 =A0 =A0 =A0-I. -I../../../include -I../../../include/orbit/orb-core<br=
>
 =A0 =A0 =A0 =A0-I../../../include -I../../../include/orbit/orb-core<br>
 =A0 =A0 =A0 =A0-DORBIT_TYPELIB_DIR=3D\&quot;/usr/lib32/orbit-2.0\&quot;<br=
>
 =A0 =A0 =A0 =A0-DORBIT2_INTERNAL_API -Wall -Wunused -Wmissing-prototypes<b=
r>
 =A0 =A0 =A0 =A0-Wmissing-declarations -I../../../linc2/include<br>
 =A0 =A0 =A0 =A0-I../../../linc2/include -pthread -I/usr/include/glib-2.0<b=
r>
 =A0 =A0 =A0 =A0-I/usr/lib/glib-2.0/include -march=3Dx86-64 -mtune=3Dgeneri=
c -O2<br>
 =A0 =A0 =A0 =A0-pipe -Werror-implicit-function-declaration -MT<br>
 =A0 =A0 =A0 =A0orbit-interface-common.lo -MD -MP -MF<br>
 =A0 =A0 =A0 =A0.deps/orbit-interface-common.Tpo -c orbit-interface-common.=
c<br>
 =A0 =A0 =A0 =A0 -fPIC -DPIC -o .libs/orbit-interface-common.o<br>
 =A0 =A0 =A0 =A0In file included from<br>
 =A0 =A0 =A0 =A0../../../include/orbit/GIOP/giop-types.h:11:0,<br>
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0from ../../../include/orbit=
/GIOP/giop.h:7,<br>
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0from ../../../include/orbit=
/orbit.h:15,<br>
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0from<br>
 =A0 =A0 =A0 =A0../../../include/orbit/orb-core/orbit-interface.h:738,<br>
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0from orbit-interface-common=
.c:9:<br>
 =A0 =A0 =A0 =A0../../../include/orbit/orb-core/iop-defs.h:1398:12: error:<=
br>
 =A0 =A0 =A0 =A0size of array &#39;magic&#39; is too large<br>
 =A0 =A0 =A0 =A0../../../include/orbit/orb-core/iop-defs.h:1429:12: error:<=
br>
 =A0 =A0 =A0 =A0size of array &#39;magic&#39; is too large<br>
 =A0 =A0 =A0 =A0../../../include/orbit/orb-core/iop-defs.h:1617:13: error:<=
br>
 =A0 =A0 =A0 =A0size of array &#39;reserved&#39; is too large<br>
 =A0 =A0 =A0 =A0../../../include/orbit/orb-core/iop-defs.h:1781:13: error:<=
br>
 =A0 =A0 =A0 =A0size of array &#39;reserved&#39; is too large<br>
 =A0 =A0 =A0 =A0make[5]: *** [orbit-interface-common.lo] Error 1<br>
 =A0 =A0 =A0 =A0make[5]: Leaving directory<br>
 =A0 =A0 =A0 =A0`/home/rafael/builds/lib32-orbit2/src/ORBit2-2.14.19/src/or=
b/orb-core&#39;<br>
 =A0 =A0 =A0 =A0make[4]: *** [all] Error 2<br>
 =A0 =A0 =A0 =A0make[4]: Leaving directory<br>
 =A0 =A0 =A0 =A0`/home/rafael/builds/lib32-orbit2/src/ORBit2-2.14.19/src/or=
b/orb-core&#39;<br>
 =A0 =A0 =A0 =A0make[3]: *** [all-recursive] Error 1<br>
 =A0 =A0 =A0 =A0make[3]: Leaving directory<br>
 =A0 =A0 =A0 =A0`/home/rafael/builds/lib32-orbit2/src/ORBit2-2.14.19/src/or=
b&#39;<br>
 =A0 =A0 =A0 =A0make[2]: *** [all-recursive] Error 1<br>
 =A0 =A0 =A0 =A0make[2]: Leaving directory<br>
 =A0 =A0 =A0 =A0`/home/rafael/builds/lib32-orbit2/src/ORBit2-2.14.19/src&#3=
9;<br>
 =A0 =A0 =A0 =A0make[1]: *** [all-recursive] Error 1<br>
 =A0 =A0 =A0 =A0make[1]: Leaving directory<br>
 =A0 =A0 =A0 =A0`/home/rafael/builds/lib32-orbit2/src/ORBit2-2.14.19&#39;<b=
r>
 =A0 =A0 =A0 =A0make: *** [all] Error 2<br>
 =A0 =A0 =A0 =A0 =A0 Aborting...<br>
<br>
<br>
<br>
 =A0 =A0This e-mail, including any attachments and response string, may<br>
 =A0 =A0contain proprietary information which is confidential and may be<br=
>
 =A0 =A0legally privileged. It is for the intended recipient only. If you<b=
r>
 =A0 =A0are not the intended recipient or transmission error has<br>
 =A0 =A0misdirected this e-mail, please notify the author by return e-mail<=
br>
 =A0 =A0and delete this message and any attachment immediately. If you are<=
br>
 =A0 =A0not the intended recipient you must not use, disclose, distribute,<=
br>
 =A0 =A0forward, copy, print or rely on this e-mail in any way except as<br=
>
 =A0 =A0permitted by the author.<br>
 =A0 =A0_______________________________________________<br>
 =A0 =A0orbit-list mailing list<br></div></div>
 =A0 =A0<a href=3D"mailto:[email protected]" target=3D"_blank">orbit-lis=
[email protected]</a> &lt;mailto:<a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a>&gt;<div class=3D"im"><br>
 =A0 =A0<a href=3D"http://mail.gnome.org/mailman/listinfo/orbit-list" targe=
t=3D"_blank">http://mail.gnome.org/mailman/listinfo/orbit-list</a><br>
<br>
<br>
</div></blockquote><div><div></div><div class=3D"h5">
<br>
<br>
This e-mail, including any attachments and response string, may contain pro=
prietary information which is confidential and may be legally privileged. I=
t is for the intended recipient only. If you are not the intended recipient=
 or transmission error has misdirected this e-mail, please notify the autho=
r by return e-mail and delete this message and any attachment immediately. =
If you are not the intended recipient you must not use, disclose, distribut=
e, forward, copy, print or rely on this e-mail in any way except as permitt=
ed by the author.<br>

_______________________________________________<br>
orbit-list mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">orbit-list@gnome.=
org</a><br>
<a href=3D"http://mail.gnome.org/mailman/listinfo/orbit-list" target=3D"_bl=
ank">http://mail.gnome.org/mailman/listinfo/orbit-list</a><br>
</div></div></blockquote></div><br>

--0016363b8528bcbee6049baaa657--

--===============1564823960==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
orbit-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/orbit-list
--===============1564823960==--