Hi Mohamed,

Here is the patch that enables x86_64 build for Android:
https://gerrit.iotivity.org/gerrit/2201

Thank you for reporting the issue,
Tim


From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]] On Behalf Of Mohamed Seliem
Sent: Monday, August 10, 2015 3:35 AM
To: iotivity-dev at lists.iotivity.org
Subject: [dev] building iotivity for android os. X86_64


Hello all,
i need some help with building the platform for android os. target and x86_64 
architecture.
i tried this command:
scons TARGET_OS=android TARGET_ARCH=x86_64 TARGET_TRANSPORT=IP
and i got this error.
Linking 
out/android/x86_64/release/resource/csdk/connectivity/src/libconnectivity_abstraction.so
out/android/x86_64/release/libc_compat.a(c_compat.c.o):c_compat.c:function 
getpagesize:
error: undefined reference to '__page_size'
out/android/x86_64/release/libc_compat.a(c_compat.c.o):c_compat.c:function 
__getpageshift:
error: undefined reference to '__page_shift'
collect2: error: ld returned 1 exit status
scons: *** 
[out/android/x86_64/release/resource/csdk/connectivity/src/libconnectivity_abstraction.so]
 Error 1
scons: building terminated because of errors.

obviously, it is linking problem (libconnectivity_abstraction.so).
can anyone help with this.

p.s.  i successfully compiled the platform for linux os. , also for android but 
for  armebai-v7a arch.
Thanks

--
Eng.Mohamed Seliem
E-mail: mseliem11 at gmail.com<mailto:mseliem11 at gmail.com>
Mob. +201145011025
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150813/e51d4fa3/attachment.html>

Reply via email to