Re: Crosscompiling ORbit2 for ARM9

Frank Rehberger <[email protected]> Fri, 18 Jul 2008 16:52:28 +0200
Newsgroups gmane.comp.gnome.orbit.general
Message-ID <[email protected]>
--===============0522105551==
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA1 <br>
&nbsp;<br>
Hi Giraut,<br>
<br>
it is a while ago I cross compiled orbit, but probably this is related
to the generated code from IDL files, such as "orbit-interface.idl" The
cross compiled orbit-idl executable will not be able to do the job on
your host-system. You will need to define native orbit-idl compiler on
your host-system, to do the idl-code-generation job to generate the
code from IDL files for your target system.<br>
<br>
Cross compiling should be done in two steps:<br>
1. Compile Orbit2 native for your host system<br>
2. Cross compile Orbit2, but tweak the environment to use the
orbit-idl-2 executable from step 1.<br>
2(alternative). It might also help to copy the generated files form
step 1 into x-compile workspace, but not sure if this might do AFAICS,
the generated code should be generic, not depending on endianess.<br>
<br>
Hope that helps, Frank<br>
<br>
Hope that helps,<br>
giraut benoit wrote:<br>
| Hello<br>
|<br>
| I have a error during the compilation of Orbit2 in a scratchbox
context :<br>
| The orbit-interface-common.c is missing so the compilation fail.<br>
|<br>
| Did someone get this error before ?<br>
|<br>
| Thx benoit<br>
|<br>
|<br>
| /bin/sh ../../../libtool --tag=CC&nbsp;&nbsp; --mode=compile gcc
-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/local/lib/orbit-2.0"\"
-DORBIT2_INTERNAL_API -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -DG_DISABLE_DEPRECATED -I../../../linc2/include
-I../../../linc2/include -pthread -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -g -O2
-Werror-implicit-function-declaration&nbsp; -MT orbit-interface-common.lo
-MD -MP -MF .deps/orbit-interface-common.Tpo -c -o
orbit-interface-common.lo orbit-interface-common.c<br>
|&nbsp; gcc -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/local/lib/orbit-2.0\" -DORBIT2_INTERNAL_API
-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-DG_DISABLE_DEPRECATED -I../../../linc2/include
-I../../../linc2/include -pthread -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -g -O2
-Werror-implicit-function-declaration -MT orbit-interface-common.lo -MD
-MP -MF .deps/orbit-interface-common.Tpo -c orbit-interface-common.c&nbsp;
-fPIC -DPIC -o .libs/orbit-interface-common.o<br>
| sbox-arm-linux-gcc: orbit-interface-common.c: No such file or
directory<br>
| sbox-arm-linux-gcc: no input files<br>
| make[5]: *** [orbit-interface-common.lo] Error 1<br>
| make[5]: Leaving directory
`/home/benoit/ORBit2-2.14.13/src/orb/orb-core'<br>
| make[4]: *** [all] Error 2<br>
| make[4]: Leaving directory
`/home/benoit/ORBit2-2.14.13/src/orb/orb-core'<br>
| make[3]: *** [all-recursive] Error 1<br>
| make[3]: Leaving directory `/home/benoit/ORBit2-2.14.13/src/orb'<br>
| make[2]: *** [all-recursive] Error 1<br>
| make[2]: Leaving directory `/home/benoit/ORBit2-2.14.13/src'<br>
| make[1]: *** [all-recursive] Error 1<br>
| make[1]: Leaving directory `/home/benoit/ORBit2-2.14.13'<br>
| make: *** [all] Error 2<br>
|<br>
<br>
|<br>
| -------------------------<br>
|<br>
| _______________________________________________<br>
| orbit-list mailing list<br>
| <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a><br>
| <a class="moz-txt-link-freetext" href="http://mail.gnome.org/mailman/listinfo/orbit-list">http://mail.gnome.org/mailman/listinfo/orbit-list</a><br>
<br>
-----BEGIN PGP SIGNATURE----- <br>
Version: GnuPG v1.2.2 (MingW32) <br>
Comment: Using GnuPG with Mozilla - <a class="moz-txt-link-freetext" href="http://enigmail.mozdev.org">http://enigmail.mozdev.org</a> <br>
&nbsp;<br>
iD8DBQFIgK4i99BSmbIl7S0RAsEXAKCVCNtJ3MPJ7Z0ufV/1axvlvBmbVQCdEhlJ <br>
TEq4b2W2bM0W5svyQvvaFw4= <br>
=7Jq/ <br>
-----END PGP SIGNATURE----- <br>
<br>
</body>
</html>

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