Re: Crosscompiling ORbit2 for ARM9



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Hi Giraut,

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.

Cross compiling should be done in two steps:
1. Compile Orbit2 native for your host system
2. Cross compile Orbit2, but tweak the environment to use the orbit-idl-2 executable from step 1.
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.

Hope that helps, Frank

Hope that helps,
giraut benoit wrote:
| Hello
|
| I have a error during the compilation of Orbit2 in a scratchbox context :
| The orbit-interface-common.c is missing so the compilation fail.
|
| Did someone get this error before ?
|
| Thx benoit
|
|
| /bin/sh ../../../libtool --tag=CC   --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      -g -O2 -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
|  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  -fPIC -DPIC -o .libs/orbit-interface-common.o
| sbox-arm-linux-gcc: orbit-interface-common.c: No such file or directory
| sbox-arm-linux-gcc: no input files
| make[5]: *** [orbit-interface-common.lo] Error 1
| make[5]: Leaving directory `/home/benoit/ORBit2-2.14.13/src/orb/orb-core'
| make[4]: *** [all] Error 2
| make[4]: Leaving directory `/home/benoit/ORBit2-2.14.13/src/orb/orb-core'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory `/home/benoit/ORBit2-2.14.13/src/orb'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory `/home/benoit/ORBit2-2.14.13/src'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/benoit/ORBit2-2.14.13'
| make: *** [all] Error 2
|

|
| -------------------------
|
| _______________________________________________
| orbit-list mailing list
| orbit-list gnome org
| http://mail.gnome.org/mailman/listinfo/orbit-list

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFIgK4i99BSmbIl7S0RAsEXAKCVCNtJ3MPJ7Z0ufV/1axvlvBmbVQCdEhlJ
TEq4b2W2bM0W5svyQvvaFw4=
=7Jq/
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]