rebuild alljoyn for beaglebone

asked 2015-06-17 15:20:18 -0700

dvescovi gravatar image

I have been trying to crosscompile alljoyn for the beaglebone target. I have installed the openssl-1.0.1i source and the alljon 15.04.00a source.

Most everything builds but I am stuck with this link error:

scons: Reading SConscript files ... Building bindings: cpp, c Building services: BULLSEYE_BIN not specified Using OpenSSL crypto GTEST_DIR not specified skipping common unit test build BULLSEYE_BIN not specified GTEST_DIR not specified skipping About Service unit test build GTEST_DIR not specified skipping alljoyn_core unit test build GTEST_DIR not specified skipping alljoyn_c unit test build scons: done reading SConscript files. scons: Building targets ... [LINK-SH] build/linux/arm/debug/obj/alljoyn_core/liballjoyn.so /usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld: /home/alljoyn/deps/openssl/lib/libcrypto.a(cryptlib.o): relocation R_ARM_THM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC /home/alljoyn/deps/openssl/lib/libcrypto.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status scons: * [build/linux/arm/debug/obj/alljoyn_core/liballjoyn.so] Error 1 scons: building terminated because of errors. root@ubuntu:/home/alljoyn/src/alljoyn-15.04.00a-src#

I also had a warning when building the openssl lib that it does not support "shared lib" under ARM at this time so it built the "non-shared" version. I think this might have something to do with the issue.

Any idea what might be going on and how to fix it?

edit retag flag offensive close merge delete

Comments

...more I am building under Ubuntu 14.04 host.

dvescovi ( 2015-06-17 15:23:06 -0700 )edit

you might try on the core mailing list. https://lists.allseenalliance.org/mailman/listinfo/allseen-core

ry.jones ( 2015-10-04 19:25:47 -0700 )edit