<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello strace developers,<div><br></div><div>We need strace on our Samsung S2 T710 Android tablet, and I tried to cross-compile it on our Dell XPS-13 (Ubuntu 14.04 LTS) laptop. I went for <font face="Courier">android-ndk-r13b-linux-x86_64.zip</font>, which is in</div><div><br><div><a href="https://developer.android.com/ndk/downloads/index.html">https://developer.android.com/ndk/downloads/index.html</a></div><div><br></div><div>and brought it up according to </div><div><br></div><div><a href="http://nickdesaulniers.github.io/blog/2016/07/01/android-cli/">http://nickdesaulniers.github.io/blog/2016/07/01/android-cli/</a></div><div><br></div><div>(except for the source fetch, which was just a download). OK. Then I downloaded<font face="Courier"> strace-4.15.tar.xz </font>from sourceforge and followed Muzso</div><div><br></div><div><a href="http://muzso.hu/2012/04/21/how-to-compile-strace-for-use-on-an-android-phone-running-an-arm-cpu">http://muzso.hu/2012/04/21/how-to-compile-strace-for-use-on-an-android-phone-running-an-arm-cpu</a></div></div><div><br></div><div>except that I fixed the names and substituted<font face="Courier"> aarch64-linux </font>for<font face="Courier"> arm-linux </font>in the<font face="Courier"> ./configure</font>, which worked. (I used<font face="Courier"> aarch64-linux </font>instead of<font face="Courier"> arm-linux </font>because our device CPU is an Exynos 5433, which is an ARMx8-A.)</div><div><br></div><div>The<font face="Courier"> make </font>failed with error</div><div><br></div><div><div><font face="Courier"># error struct flock64 definition not found in <linux/fcntl.h></font></div><div><br></div><div>which is an error discussed nowhere on the web, though I can find<font face="Courier"> struct . . . fcntl.h> </font>in three source files.</div></div><div><br></div><div>Thank you for any help you can give!</div><div><br></div><div>Larry Dickson</div><div>Space Sciences Corporation</div><div><br></div></body></html>