Git Product home page Git Product logo

fb-adb's Introduction

fb-adb is a tool for interacting with Android systems. It does much of what adb does, but with better remote shell support and, hopefully, fewer bugs. Differences between adb and fb-adb are that fb-adb:

  • is binary clean (no LF -> CRLF mangling)
  • transmits and updates window size
  • distinguishes standard output and standard error
  • properly muxes streams with independent flow control
  • allows for ssh-like pty allocation control
  • propagates program exit status instead of always exiting with status 0
  • properly escapes program arguments
  • kills remote program
  • provides a generic facility to elevate to root without re-escaping

DOWNLOADS

You can use Homebrew to install fb-adb binaries:

brew install fb-adb

BUILDING

An out-of-tree build is required. You'll need a copy of the Android NDK: tell configure about it by setting the ANDROID_NDK environment variable to your NDK path or by using the --with-android-ndk argument to the configure script.

For example:

./autogen.sh
export ANDROID_NDK=/path/to/android-ndk
mkdir build
cd build
../configure
make

If building on Mac, you need gmake to build. You can use Homebrew to get it:

brew install homebrew/core/make

on earlier systems this was:

brew tap homebrew/dupes
brew install homebrew/dupes/make

and then use gmake instead of make.

RUNNING

The fb-adb executable itself has no dependencies other than the adb executable, which must be on PATH. Generally, you can use fb-adb just like adb; fb-adb forwards unknown commands to adb. fb-adb supports the same device-selection options that adb does.

fb-adb shell is the fancy shell command that supports the features described above. Run fb-adb shell -h for additional options.

EXAMPLES

  • Capture a screenshot from device and write it locally to a timestamped file:

    fb-adb rcmd screencap -p > screenshot-$(timestamp).png

  • Dump database.db of the com.bar.foo app:

    fb-adb rcmd -u com.bar.foo sqlite3 /data/data/com.bar.foo/databases/database.db .d

  • Open remote shell as the user com.bar.foo:

    fb-adb shell -u com.bar.foo

fb-adb's People

Contributors

burntbrunch avatar c-ryan747 avatar dalinaum avatar dcolascione avatar dlitz avatar facebook-github-bot avatar jamesgpearce avatar jbeich avatar mzlee avatar niedzielski avatar rajyengi avatar sas avatar simpleton avatar tophyr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fb-adb's Issues

Error installing with Homebrew

Last 15 lines from /Users/stepangoncarov/Library/Logs/Homebrew/fb-adb/03.make:
mv -f .deps/timestamp.Tpo .deps/timestamp.Po
mv -f .deps/net.Tpo .deps/net.Po
mv -f .deps/util.Tpo .deps/util.Po
mv -f .deps/lz4.Tpo .deps/lz4.Po
rm -f libfb-adb.a
i686-linux-android-gcc-ar cru libfb-adb.a adb.o adbenc.o argv.o channel.o chat.o child.o cmd_stub.o cmd_logw.o core.o dbg.o fb-adb.o ringbuf.o strutil.o termbits.o util.o xmkraw.o net.o lz4.o xenviron.o  
i686-linux-android-gcc-ranlib libfb-adb.a
i686-linux-android-gcc -fvisibility=hidden -std=gnu99  -flto -I/Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home/include/darwin  -flto  -o fb-adb  timestamp.o  libfb-adb.a -llog 
/tmp/cc5drzqn.ltrans11.ltrans.o:cc5drzqn.ltrans11.o:function logw_wrapper_main: error: undefined reference to 'shex_wrapper'
collect2: error: ld returned 1 exit status
make[4]: *** [fb-adb] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Could not install fb-adb via brew

I got the following error during installation.

$ brew install fb-adb
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.

stubs.s

Seems stubs.s is not used anymore? If so, please remove it.

logw command is confusing

logw has a naming conflict with the Android SDK, where it means "log with warning priority". I suggest renaming the command to logwrite or something else.

Can I build in windows?many errors!

In ununtu,I have finished compiling。
But in windows,build with many errors。
Some one build sucess with windows?(fb-adb.exe)

I usb cygwin and android-ndk,build with error:

../fdrecorder.c: In function 'fdrecorder_new':
../fdrecorder.c:127:53: error: 'O_ASYNC' undeclared (first use in this function)
xF_SETFL(fdr->pipe[0], xF_GETFL(fdr->pipe[0]) | O_ASYNC | O_NONBLOCK);
^
../fdrecorder.c:127:53: note: each undeclared identifier is reported only once for each function it appears in
../fdrecorder.c: At top level:
cc1: warning: unrecognized command line option "-Wno-initializer-overrides"
Makefile:690: recipe for target 'fdrecorder.o' failed
make[1]: *** [fdrecorder.o] Error 1
make[1]: Leaving directory '/home/GAOXIAN/fb-adb-master/build'
Makefile:753: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Someone know how to confirm??

fb-adb incompatible with Android 2.3.4 or Busybox

Built on OSX 1.9 without any problems. Confirmed fb-adb works fine with stock Android 4.2.2 emulator.

Problem arises when using on Android 2.3.4 with Busybox v1.21.0.

./fb-adb shell                                                                                                                                                                                                                                                         
fb-adb shell: [child] expected 0x65 e, found 0x1b .

build error, < could not find Android cross-compiler for i686-pc-linux-android>

configure: error: could not find Android cross-compiler for i686-pc-linux-android
configure: error: ../../stub-x86/configure failed for stub-x86


log

pythia % ../configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking dependency style of gcc -std=gnu99... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for ranlib... ranlib
checking for ar... ar
checking the archiver (ar) interface... ar
checking for ppoll... yes
checking for signalfd4... no
checking for dup3... yes
checking for mkostemp... yes
checking for kqueue... no
checking for pipe2... yes
checking for ptsname... yes
Checking enabled? no
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
=== configuring in stub-x86 (/home/huxin/Documents/fb-adb-master/build/stub-x86)
configure: running /bin/bash ../../stub-x86/configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=../../stub-x86
checking build system type... x86_64-unknown-linux-gnu
checking host system type... i686-pc-linux-android
Configuring native NDK toolchain for android-21/x86
WARNING: The shell running this script isn't bash. Although we try to avoid bashism in scripts, things can happen.
Auto-config: --toolchain=x86-4.6
Copying prebuilt binaries...
Copying sysroot headers and libraries...
Copying c++ runtime headers and libraries...
/opt/android-ndk-r10c/build/tools/make-standalone-toolchain.sh: 730: /opt/android-ndk-r10c/build/tools/make-standalone-toolchain.sh: Syntax error: redirection unexpected
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i686-linux-android-strip... no
checking for strip... strip
configure: WARNING: using cross tools not prefixed with host triplet
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for i686-linux-android-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking dependency style of gcc -std=gnu99... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for i686-linux-android-ranlib... no
checking for ranlib... ranlib
checking for i686-linux-android-ar... no
checking for i686-linux-android-lib... no
checking for i686-linux-android-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking for ppoll... yes
checking for signalfd4... no
checking for dup3... yes
checking for mkostemp... yes
checking for kqueue... no
checking for pipe2... yes
checking for ptsname... yes
configure: error: could not find Android cross-compiler for i686-pc-linux-android
configure: error: ../../stub-x86/configure failed for stub-x86

According to
#6

add --system=linux-x86_64 in configure.ac
does not help, got the same error

According to
#3

should I downgrade ndk? my current ndk is android-ndk-r10c
the thing is, I do not find where to download an older version yet.

Exit code not propagated when instrumentation test fails

Running an instrumentation test still returns 0 exit code when the test fails. Am I missing something here?

fb-adb shell am instrument -w -r   -e package com.xxxxxx.android.espresso.notification -e debug false com.xxxxxx.android.test/android.support.test.runner.AndroidJUnitRunner

<Truncated output>

Caused by: junit.framework.AssertionFailedError: Unable to send a test notification
    at junit.framework.Assert.fail(Assert.java:50)
    at com.xxxxxx.android.espresso.notification.PushNotificationTest$2.call(PushNotificationTest.java:84)
    at com.xxxxxx.android.espresso.notification.PushNotificationTest$2.call(PushNotificationTest.java:80)
    at rx.internal.util.ActionSubscriber.onError(ActionSubscriber.java:44)
    at rx.observers.SafeSubscriber._onError(SafeSubscriber.java:157)
    at rx.observers.SafeSubscriber.onError(SafeSubscriber.java:120)
    at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.checkTerminated(OperatorObserveOn.java:264)
    at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.call(OperatorObserveOn.java:207)
    at rx.android.schedulers.LooperScheduler$ScheduledAction.run(LooperScheduler.java:107)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:148)
    at android.app.ActivityThread.main(ActivityThread.java:5417)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

INSTRUMENTATION_STATUS: current=1
INSTRUMENTATION_STATUS_CODE: -2
INSTRUMENTATION_RESULT: shortMsg=junit.framework.AssertionFailedError
INSTRUMENTATION_RESULT: longMsg=junit.framework.AssertionFailedError: Unable to send a test notification
INSTRUMENTATION_CODE: 0

$ echo $?
0

build instructions don't work on Mac

This is what I get. It works fine on Ubuntu though.

Making all in stub-x86
Making all in stub-arm
Making all in stub-x86-pic
Making all in stub-arm-pic
/Library/Developer/CommandLineTools/usr/bin/make -C stub-x86/ FB_ADB_RECURSIVE=1 libfb-adb.a.stripped
i686-linux-android-gcc -DPACKAGE_NAME="fb-adb" -DPACKAGE_TARNAME="fb-adb" -DPACKAGE_VERSION="1.99.99-4" -DPACKAGE_STRING="fb-adb\ 1.99.99-4" -DPACKAGE_BUGREPORT="[email protected]" -DPACKAGE_URL="" -DPACKAGE="fb-adb" -DVERSION="1.99.99-4" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DSIZEOF_OFF_T=4 -DHAVE_MACHINE_ENDIAN_H=1 -DHAVE_ENDIAN_H=1 -DHAVE_FEATURES_H=1 -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_FTRUNCATE64=1 -DHAVE_REALPATH=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DHAVE_STRUCT_DIRENT_D_TYPE=1 -I. -I../../stub-x86/.. -I. -DSHA2_USE_INTTYPES_H=1 -DFBADB_STUB=1 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -Wno-free-nonheap-object -Wno-initializer-overrides -g -O2 -MT adb.o -MD -MP -MF .deps/adb.Tpo -c -o adb.o ../../stub-x86/../adb.c
i686-linux-android-gcc: error trying to exec 'cc1': execvp: No such file or directory
make[2]: *** [adb.o] Error 1
make[1]: *** [stub-x86/.update-lib] Error 2
make: *** [all-recursive] Error 1

EV_RECEIPT maybe missing on other BSDs

fb-adb fails to build on DragonFly (and NetBSD) with

fs.c: In function 'xppoll':
fs.c:540:35: error: 'EV_RECEIPT' undeclared (first use in this function)
             kev->flags = EV_ADD | EV_RECEIPT;
                                   ^
fs.c:540:35: note: each undeclared identifier is reported only once for each function it appears in

After poking source:

  • EV_RECEIPT is available on FreeBSD (since 8.1) and OS X (since 10.5)
  • ppoll() is available on Linux, Solaris (circa 2010), OpenBSD (since 5.4) and FreeBSD (since 10.2)

@jrmarino, @tnn2, do you think DragonFly or NetBSD folks are interested in implementing either of those?

Cannot build on Ubuntu 14.04.1

I encounter the following errors when trying to build according to the prescribed instructions:

checking whether the C compiler works... no
configure: error: in `<redacted>/fb-adb/build/stub-x86':
configure: error: C compiler cannot create executables
See `config.log' for more details
configure: error: ../../stub-x86/configure failed for stub-x86

Error executing shell

When i try to execute any command i get the following error:

fb-adb sh: trouble starting adb stub: WARNING: linker: /data/local/tmp/fb-adb.11dcc27b1fade8b291ff: unused DT entry: type 0x6ffffffe arg 0x1458

any ideas?

Installing apk does not work

I've successfully built fb-adb on my Ubuntu 17.04.

As far as I can see most commands work fine (I've tried 'shell', 'logcat-json', 'ping' and a few others).

But when I try to install an apk with the command:

fb-adb install <apk-name>

I just get the error message:

fb-adb: unknown command install

Needless to say, adb install <apk-name> works just fine.

Build failure

autoreconf -i && mkdir build && cd build && ../configure --with-android-ndk=/home/fuzion24/bin/android_ndk/

Results in:

config.status: creating Makefile
config.status: executing depfiles commands
=== configuring in stub-x86 (/home/fuzion24/Development/external/fb-adb/build/stub-x86)
configure: running /bin/bash ../../stub-x86/configure --disable-option-checking '--prefix=/usr/local'  '--with-android-ndk=/home/fuzion24/bin/android_ndk/' --cache-file=/dev/null --srcdir=../../stub-x86
/home/fuzion24/Development/external/fb-adb/build/stub-x86/../../stub-x86/../stub-config.sh: 13: /home/fuzion24/Development/external/fb-adb/build/stub-x86/../../stub-x86/../stub-config.sh: declare: not found
/home/fuzion24/Development/external/fb-adb/build/stub-x86/../../stub-x86/../stub-config.sh: 17: /home/fuzion24/Development/external/fb-adb/build/stub-x86/../../stub-x86/../stub-config.sh: Syntax error: word unexpected (expecting ")")
configure: error: ../../stub-x86/configure failed for stub-x86

Maybe a build readme would help?

fb-adb fails when overwriting device copy

I'm not sure what the scenario that caused it was but it seems I ended up with a copy of fb-adb in /data/local/tmp/fb-adb. fb-adb shell printed out the following error:

fb-adb shell: moving fb-adb to final location failed: mv: overwrite '/data/local/tmp/fb-adb' (Y/n):mv: bad '/data/local/tmp/fb-adb.6CFEB2B64BC7B6EE2F36': No such file or directory

I removed the /data/local/tmp/fb-adb copy using ADB and was able to run fb-adb fine thereafter. I don't know how to repro as it happened only once on an API 23 emulator.

fb-adb shell gives confusing error message

$ fb-adb shell ls
fb-adb shell: adb error: failed to copy '/tmp/fb-adb-ovCQRP' to '/data/local/tmp/fb-adb.bc60fb8f679fc9509d17': Permission denied

I'm seeing this on a Nexus 5 running Lollipop userdebug build. It happens when the phone is partially off. When I touch the power button I see a battern icon, with an animation indicating it is charging. Surprisingly, "adb shell" works. But fb-adb shell gives the above error message.

Turn on the device and everything works again. So it's not terribly high pri.

fput doesn't work

(also I believe the docs are incorrect: "Retrieve a file from device." Probably should be "Store a file on the device")

This is what I get when I use it:

$ fb-adb fput /tmp/libkeyboard.so /data/local/tmp/foo.so
fb-adb fput: execvpe("/proc/self/exe"): No such file or directory

Missing binaries for 10.12 on Brew

The advice in README.md to run just brew install fb-adb is no longer valid.

Brew can't compile fb-adb right now due to Homebrew/homebrew-core#7325 (which is posted here as #52).

There's no (binary) bottle for 10.12 (Sierra) either. See https://github.com/Homebrew/homebrew-core/blob/master/Formula/fb-adb.rb.

Temporary Workaround

nitro:build dave$ brew install --force-bottle fb-adb
==> Downloading https://homebrew.bintray.com/bottles/fb-adb-1.4.4.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring fb-adb-1.4.4.el_capitan.bottle.tar.gz
==> Using the sandbox
==> echo Y | android update sdk --no-ui --filter platform-tools
🍺  /usr/local/Cellar/fb-adb/1.4.4: 6 files, 298K
nitro:build dave$ brew install android-platform-tools
==> Using the sandbox
==> Downloading https://dl.google.com/android/repository/platform-tools_r25.0.3-darwin.zip
Already downloaded: /Users/dave/Library/Caches/Homebrew/android-platform-tools-25.0.3.zip
🍺  /usr/local/Cellar/android-platform-tools/25.0.3: 5 files, 3.3M, built in 1 second

brew install fb-adb error on macOS 10.12.1

~ $ brew install fb-adb
==> Using the sandbox
==> Downloading https://github.com/facebook/fb-adb/archive/1.4.4.tar.gz
Already downloaded: /Users/zhaoying/Library/Caches/Homebrew/fb-adb-1.4.4.tar.gz
==> ./autogen.sh
==> ../configure --prefix=/usr/local/Cellar/fb-adb/1.4.4
Last 15 lines from /Users/zhaoying/Library/Logs/Homebrew/fb-adb/02.configure:
checking the archiver (ar) interface... ar
checking for ppoll... no
checking for signalfd4... no
checking for dup3... no
checking for mkostemp... yes
checking for kqueue... yes
checking for pipe2... no
checking for ptsname... yes
checking for accept4... no
checking for fopencookie... no
checking for funopen... yes
checking for clock_gettime... yes
checking for execvpe... no
configure: error: could not find Android cross-compiler for i686-pc-linux-android
configure: error: ../../stub-x86/configure failed for stub-x86

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
https://github.com/Homebrew/homebrew-core/issues

The whole configure log from /Library/Logs/Homebrew/fb-adb/02.configure is here:
https://gist.github.com/liontree/8835fcb64b3147ef825dac31568bc4ab

Anybody could help me? Thanks:-)

Does fb-adb have a release version?

I just uploaded a pull request on Homebrew. mistydemeo said:

Okay. We're not accepting software without stable releases at this point in time. Please feel free to resubmit once it's matured and is issuing releases though! Thanks for the submission!

Does fb-adb have a stable release?

Error: APK content must be streamed

When I trying to install the apk I am seeing "Error: APK content must be streamed" error
$ adb install –r test_app.apk
Failed to install test_app.apk: Error: APK content must be streamed

fb-adb shell = tcsetattr(0): Invalid argument

I build fb-adb on linux/amd64 revision b931596

$ ./fb-adb shell
fb-adb shell: trouble starting adb stub: fb-adb.8703cf1f99e6dda7228b stub: tcsetattr(0): Invalid argument

and no shell, adb shell works fine on my machine.
I tryied to connect to nexus 5.

`make all` does not work out of the box on OSX

The stub toolchains are not automatically picked up while building on OSX which causes the compilation to basically fail immediately. Adding 'toolchain/bin' to my PATH and running the individual build commands does work.

__system_property_* are deprecated, not available on new platforms

Lollipop introduced support for 64bit platforms (aarch64, x86_64, mips64). According to android/platform_ndk#143627 <sys/system_properties.h> can no longer be used: ABI hidden in libc.so but not libc.a. For one, 4a9648e leads to

/tmp/ccVrqi5L.ltrans2.ltrans.o: In function `api_level':
util.c:1391: undefined reference to `__system_property_get'
/tmp/ccVrqi5L.ltrans3.ltrans.o: In function `compat_property_foreach.lto_priv.74':
cmd_getprop.c:193: undefined reference to `__system_property_find_nth'
/tmp/ccVrqi5L.ltrans3.ltrans.o: In function `property_compare':
cmd_getprop.c:123: undefined reference to `__system_property_read'
cmd_getprop.c:124: undefined reference to `__system_property_read'
/tmp/ccVrqi5L.ltrans8.ltrans.o: In function `getprop_main':
cmd_getprop.c:312: undefined reference to `__system_property_find'
cmd_getprop.c:315: undefined reference to `__system_property_read'
cmd_getprop.c:312: undefined reference to `__system_property_find'
cmd_getprop.c:315: undefined reference to `__system_property_read'
cmd_getprop.c:288: undefined reference to `__system_property_read'
/tmp/ccVrqi5L.ltrans14.ltrans.o: In function `make_abi_mask':
cmd_stub.c:649: undefined reference to `__system_property_find'
cmd_stub.c:651: undefined reference to `__system_property_read'
cmd_stub.c:654: undefined reference to `__system_property_find'
cmd_stub.c:656: undefined reference to `__system_property_read'
cmd_stub.c:660: undefined reference to `__system_property_find'
cmd_stub.c:662: undefined reference to `__system_property_read'
collect2: error: ld returned 1 exit status

1.4.1 Build fails on OS X Yosemite

I just built on my laptap (Macbook Pro, OS X Yosemite). I got the folling error message.

$ make
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT adb.o -MD -MP -MF .deps/adb.Tpo -c -o adb.o ../adb.c
mv -f .deps/adb.Tpo .deps/adb.Po
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT adbenc.o -MD -MP -MF .deps/adbenc.Tpo -c -o adbenc.o ../adbenc.c
mv -f .deps/adbenc.Tpo .deps/adbenc.Po
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT argv.o -MD -MP -MF .deps/argv.Tpo -c -o argv.o ../argv.c
mv -f .deps/argv.Tpo .deps/argv.Po
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT channel.o -MD -MP -MF .deps/channel.Tpo -c -o channel.o ../channel.c
mv -f .deps/channel.Tpo .deps/channel.Po
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT chat.o -MD -MP -MF .deps/chat.Tpo -c -o chat.o ../chat.c
mv -f .deps/chat.Tpo .deps/chat.Po
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT child.o -MD -MP -MF .deps/child.Tpo -c -o child.o ../child.c
mv -f .deps/child.Tpo .deps/child.Po
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT cmd_stub.o -MD -MP -MF .deps/cmd_stub.Tpo -c -o cmd_stub.o ../cmd_stub.c
../cmd_stub.c:289:33: warning: comparison of constant 18446744073709551615 with expression of type 'uint32_t' (aka 'unsigned int') is always
      false [-Wtautological-constant-out-of-range-compare]
            if (ej->name_length == SIZE_MAX || ej->value_length == SIZE_MAX)
                ~~~~~~~~~~~~~~~ ^  ~~~~~~~~
../cmd_stub.c:289:65: warning: comparison of constant 18446744073709551615 with expression of type 'uint32_t' (aka 'unsigned int') is always
      false [-Wtautological-constant-out-of-range-compare]
            if (ej->name_length == SIZE_MAX || ej->value_length == SIZE_MAX)
                                               ~~~~~~~~~~~~~~~~ ^  ~~~~~~~~
../cmd_stub.c:324:34: warning: comparison of constant 18446744073709551615 with expression of type 'uint32_t' (aka 'unsigned int') is always
      false [-Wtautological-constant-out-of-range-compare]
            if (uej->name_length == SIZE_MAX)
                ~~~~~~~~~~~~~~~~ ^  ~~~~~~~~
../cmd_stub.c:505:29: warning: implicit declaration of function 'make_addr_unix_abstract' is invalid in C99
      [-Wimplicit-function-declaration]
    xbind(listening_socket, make_addr_unix_abstract(
                            ^
../cmd_stub.c:505:29: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const struct addr *'
      [-Wint-conversion]
    xbind(listening_socket, make_addr_unix_abstract(
                            ^~~~~~~~~~~~~~~~~~~~~~~~
../net.h:51:39: note: passing argument to parameter 'addr' here
void xbind(int fd, const struct addr* addr);
                                      ^
5 warnings generated.
mv -f .deps/cmd_stub.Tpo .deps/cmd_stub.Po
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT cmd_logw.o -MD -MP -MF .deps/cmd_logw.Tpo -c -o cmd_logw.o ../cmd_logw.c
mv -f .deps/cmd_logw.Tpo .deps/cmd_logw.Po
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT core.o -MD -MP -MF .deps/core.Tpo -c -o core.o ../core.c
mv -f .deps/core.Tpo .deps/core.Po
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT dbg.o -MD -MP -MF .deps/dbg.Tpo -c -o dbg.o ../dbg.c
mv -f .deps/dbg.Tpo .deps/dbg.Po
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT fb-adb.o -MD -MP -MF .deps/fb-adb.Tpo -c -o fb-adb.o ../fb-adb.c
mv -f .deps/fb-adb.Tpo .deps/fb-adb.Po
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT ringbuf.o -MD -MP -MF .deps/ringbuf.Tpo -c -o ringbuf.o ../ringbuf.c
mv -f .deps/ringbuf.Tpo .deps/ringbuf.Po
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT strutil.o -MD -MP -MF .deps/strutil.Tpo -c -o strutil.o ../strutil.c
mv -f .deps/strutil.Tpo .deps/strutil.Po
/usr/bin/sed -Ef ../termnames.sed ../termnames.h.in >termnames.h
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT termbits.o -MD -MP -MF .deps/termbits.Tpo -c -o termbits.o ../termbits.c
mv -f .deps/termbits.Tpo .deps/termbits.Po
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o ../util.c
mv -f .deps/util.Tpo .deps/util.Po
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT xmkraw.o -MD -MP -MF .deps/xmkraw.Tpo -c -o xmkraw.o ../xmkraw.c
mv -f .deps/xmkraw.Tpo .deps/xmkraw.Po
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT net.o -MD -MP -MF .deps/net.Tpo -c -o net.o ../net.c
mv -f .deps/net.Tpo .deps/net.Po
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT lz4.o -MD -MP -MF .deps/lz4.Tpo -c -o lz4.o ../lz4.c
mv -f .deps/lz4.Tpo .deps/lz4.Po
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT xenviron.o -MD -MP -MF .deps/xenviron.Tpo -c -o xenviron.o ../xenviron.c
mv -f .deps/xenviron.Tpo .deps/xenviron.Po
rm -f cmd_shex_usage.inc
/usr/local/bin/xxd -i <../cmd_shex_usage.txt > cmd_shex_usage.inc
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT cmd_shex.o -MD -MP -MF .deps/cmd_shex.Tpo -c -o cmd_shex.o ../cmd_shex.c
mv -f .deps/cmd_shex.Tpo .deps/cmd_shex.Po
rm -f libfb-adb.a
ar cru libfb-adb.a adb.o adbenc.o argv.o channel.o chat.o child.o cmd_stub.o cmd_logw.o core.o dbg.o fb-adb.o ringbuf.o strutil.o termbits.o util.o xmkraw.o net.o lz4.o xenviron.o cmd_shex.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libfb-adb.a(dbg.o) has no symbols
ranlib libfb-adb.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libfb-adb.a(dbg.o) has no symbols
/usr/bin/sed -e "s/BUILD_TIME/`date +%s`/" ../timestamp.c.in > timestamp.c
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in stub-x86
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C .. timestamp.c
make[3]: `timestamp.c' is up to date.
cp -fp ../timestamp.c timestamp.c
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT adb.o -MD -MP -MF .deps/adb.Tpo -c -o adb.o ../../stub-x86/../adb.c
mv -f .deps/adb.Tpo .deps/adb.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT adbenc.o -MD -MP -MF .deps/adbenc.Tpo -c -o adbenc.o ../../stub-x86/../adbenc.c
mv -f .deps/adbenc.Tpo .deps/adbenc.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT argv.o -MD -MP -MF .deps/argv.Tpo -c -o argv.o ../../stub-x86/../argv.c
mv -f .deps/argv.Tpo .deps/argv.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT channel.o -MD -MP -MF .deps/channel.Tpo -c -o channel.o ../../stub-x86/../channel.c
mv -f .deps/channel.Tpo .deps/channel.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT chat.o -MD -MP -MF .deps/chat.Tpo -c -o chat.o ../../stub-x86/../chat.c
mv -f .deps/chat.Tpo .deps/chat.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT child.o -MD -MP -MF .deps/child.Tpo -c -o child.o ../../stub-x86/../child.c
mv -f .deps/child.Tpo .deps/child.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT cmd_stub.o -MD -MP -MF .deps/cmd_stub.Tpo -c -o cmd_stub.o ../../stub-x86/../cmd_stub.c
mv -f .deps/cmd_stub.Tpo .deps/cmd_stub.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT cmd_logw.o -MD -MP -MF .deps/cmd_logw.Tpo -c -o cmd_logw.o ../../stub-x86/../cmd_logw.c
mv -f .deps/cmd_logw.Tpo .deps/cmd_logw.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT core.o -MD -MP -MF .deps/core.Tpo -c -o core.o ../../stub-x86/../core.c
mv -f .deps/core.Tpo .deps/core.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT dbg.o -MD -MP -MF .deps/dbg.Tpo -c -o dbg.o ../../stub-x86/../dbg.c
mv -f .deps/dbg.Tpo .deps/dbg.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT fb-adb.o -MD -MP -MF .deps/fb-adb.Tpo -c -o fb-adb.o ../../stub-x86/../fb-adb.c
mv -f .deps/fb-adb.Tpo .deps/fb-adb.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT ringbuf.o -MD -MP -MF .deps/ringbuf.Tpo -c -o ringbuf.o ../../stub-x86/../ringbuf.c
mv -f .deps/ringbuf.Tpo .deps/ringbuf.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT strutil.o -MD -MP -MF .deps/strutil.Tpo -c -o strutil.o ../../stub-x86/../strutil.c
mv -f .deps/strutil.Tpo .deps/strutil.Po
/usr/bin/sed -Ef ../../stub-x86/../termnames.sed ../../stub-x86/../termnames.h.in >termnames.h
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT termbits.o -MD -MP -MF .deps/termbits.Tpo -c -o termbits.o ../../stub-x86/../termbits.c
mv -f .deps/termbits.Tpo .deps/termbits.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o ../../stub-x86/../util.c
mv -f .deps/util.Tpo .deps/util.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT xmkraw.o -MD -MP -MF .deps/xmkraw.Tpo -c -o xmkraw.o ../../stub-x86/../xmkraw.c
mv -f .deps/xmkraw.Tpo .deps/xmkraw.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT net.o -MD -MP -MF .deps/net.Tpo -c -o net.o ../../stub-x86/../net.c
mv -f .deps/net.Tpo .deps/net.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT lz4.o -MD -MP -MF .deps/lz4.Tpo -c -o lz4.o ../../stub-x86/../lz4.c
mv -f .deps/lz4.Tpo .deps/lz4.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT xenviron.o -MD -MP -MF .deps/xenviron.Tpo -c -o xenviron.o ../../stub-x86/../xenviron.c
mv -f .deps/xenviron.Tpo .deps/xenviron.Po
rm -f libfb-adb.a
i686-linux-android-gcc-ar cru libfb-adb.a adb.o adbenc.o argv.o channel.o chat.o child.o cmd_stub.o cmd_logw.o core.o dbg.o fb-adb.o ringbuf.o strutil.o termbits.o util.o xmkraw.o net.o lz4.o xenviron.o
i686-linux-android-gcc-ranlib libfb-adb.a
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C .. timestamp.c
make[5]: `timestamp.c' is up to date.
cp -fp ../timestamp.c timestamp.c
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT timestamp.o -MD -MP -MF .deps/timestamp.Tpo -c -o timestamp.o timestamp.c
mv -f .deps/timestamp.Tpo .deps/timestamp.Po
i686-linux-android-gcc -fvisibility=hidden -std=gnu99  -flto -g -O2  -flto  -o fb-adb  timestamp.o  libfb-adb.a -llog
i686-linux-android-strip -o stub fb-adb
Making all in stub-arm
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C .. timestamp.c
make[3]: `timestamp.c' is up to date.
cp -fp ../timestamp.c timestamp.c
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT adb.o -MD -MP -MF .deps/adb.Tpo -c -o adb.o ../../stub-arm/../adb.c
mv -f .deps/adb.Tpo .deps/adb.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT adbenc.o -MD -MP -MF .deps/adbenc.Tpo -c -o adbenc.o ../../stub-arm/../adbenc.c
mv -f .deps/adbenc.Tpo .deps/adbenc.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT argv.o -MD -MP -MF .deps/argv.Tpo -c -o argv.o ../../stub-arm/../argv.c
mv -f .deps/argv.Tpo .deps/argv.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT channel.o -MD -MP -MF .deps/channel.Tpo -c -o channel.o ../../stub-arm/../channel.c
mv -f .deps/channel.Tpo .deps/channel.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT chat.o -MD -MP -MF .deps/chat.Tpo -c -o chat.o ../../stub-arm/../chat.c
mv -f .deps/chat.Tpo .deps/chat.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT child.o -MD -MP -MF .deps/child.Tpo -c -o child.o ../../stub-arm/../child.c
mv -f .deps/child.Tpo .deps/child.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT cmd_stub.o -MD -MP -MF .deps/cmd_stub.Tpo -c -o cmd_stub.o ../../stub-arm/../cmd_stub.c
mv -f .deps/cmd_stub.Tpo .deps/cmd_stub.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT cmd_logw.o -MD -MP -MF .deps/cmd_logw.Tpo -c -o cmd_logw.o ../../stub-arm/../cmd_logw.c
mv -f .deps/cmd_logw.Tpo .deps/cmd_logw.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT core.o -MD -MP -MF .deps/core.Tpo -c -o core.o ../../stub-arm/../core.c
mv -f .deps/core.Tpo .deps/core.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT dbg.o -MD -MP -MF .deps/dbg.Tpo -c -o dbg.o ../../stub-arm/../dbg.c
mv -f .deps/dbg.Tpo .deps/dbg.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT fb-adb.o -MD -MP -MF .deps/fb-adb.Tpo -c -o fb-adb.o ../../stub-arm/../fb-adb.c
mv -f .deps/fb-adb.Tpo .deps/fb-adb.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT ringbuf.o -MD -MP -MF .deps/ringbuf.Tpo -c -o ringbuf.o ../../stub-arm/../ringbuf.c
mv -f .deps/ringbuf.Tpo .deps/ringbuf.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT strutil.o -MD -MP -MF .deps/strutil.Tpo -c -o strutil.o ../../stub-arm/../strutil.c
mv -f .deps/strutil.Tpo .deps/strutil.Po
/usr/bin/sed -Ef ../../stub-arm/../termnames.sed ../../stub-arm/../termnames.h.in >termnames.h
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT termbits.o -MD -MP -MF .deps/termbits.Tpo -c -o termbits.o ../../stub-arm/../termbits.c
mv -f .deps/termbits.Tpo .deps/termbits.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o ../../stub-arm/../util.c
mv -f .deps/util.Tpo .deps/util.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT xmkraw.o -MD -MP -MF .deps/xmkraw.Tpo -c -o xmkraw.o ../../stub-arm/../xmkraw.c
mv -f .deps/xmkraw.Tpo .deps/xmkraw.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT net.o -MD -MP -MF .deps/net.Tpo -c -o net.o ../../stub-arm/../net.c
mv -f .deps/net.Tpo .deps/net.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT lz4.o -MD -MP -MF .deps/lz4.Tpo -c -o lz4.o ../../stub-arm/../lz4.c
mv -f .deps/lz4.Tpo .deps/lz4.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT xenviron.o -MD -MP -MF .deps/xenviron.Tpo -c -o xenviron.o ../../stub-arm/../xenviron.c
mv -f .deps/xenviron.Tpo .deps/xenviron.Po
rm -f libfb-adb.a
arm-linux-androideabi-gcc-ar cru libfb-adb.a adb.o adbenc.o argv.o channel.o chat.o child.o cmd_stub.o cmd_logw.o core.o dbg.o fb-adb.o ringbuf.o strutil.o termbits.o util.o xmkraw.o net.o lz4.o xenviron.o
arm-linux-androideabi-gcc-ranlib libfb-adb.a
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C .. timestamp.c
make[5]: `timestamp.c' is up to date.
cp -fp ../timestamp.c timestamp.c
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99  -flto -g -O2 -MT timestamp.o -MD -MP -MF .deps/timestamp.Tpo -c -o timestamp.o timestamp.c
mv -f .deps/timestamp.Tpo .deps/timestamp.Po
arm-linux-androideabi-gcc -fvisibility=hidden -std=gnu99  -flto -g -O2  -flto  -o fb-adb  timestamp.o  libfb-adb.a -llog
arm-linux-androideabi-strip -o stub fb-adb
Making all in stub-x86-pic
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C .. timestamp.c
make[3]: `timestamp.c' is up to date.
cp -fp ../timestamp.c timestamp.c
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT adb.o -MD -MP -MF .deps/adb.Tpo -c -o adb.o ../../stub-x86-pic/../adb.c
mv -f .deps/adb.Tpo .deps/adb.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT adbenc.o -MD -MP -MF .deps/adbenc.Tpo -c -o adbenc.o ../../stub-x86-pic/../adbenc.c
mv -f .deps/adbenc.Tpo .deps/adbenc.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT argv.o -MD -MP -MF .deps/argv.Tpo -c -o argv.o ../../stub-x86-pic/../argv.c
mv -f .deps/argv.Tpo .deps/argv.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT channel.o -MD -MP -MF .deps/channel.Tpo -c -o channel.o ../../stub-x86-pic/../channel.c
mv -f .deps/channel.Tpo .deps/channel.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT chat.o -MD -MP -MF .deps/chat.Tpo -c -o chat.o ../../stub-x86-pic/../chat.c
mv -f .deps/chat.Tpo .deps/chat.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT child.o -MD -MP -MF .deps/child.Tpo -c -o child.o ../../stub-x86-pic/../child.c
mv -f .deps/child.Tpo .deps/child.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT cmd_stub.o -MD -MP -MF .deps/cmd_stub.Tpo -c -o cmd_stub.o ../../stub-x86-pic/../cmd_stub.c
mv -f .deps/cmd_stub.Tpo .deps/cmd_stub.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT cmd_logw.o -MD -MP -MF .deps/cmd_logw.Tpo -c -o cmd_logw.o ../../stub-x86-pic/../cmd_logw.c
mv -f .deps/cmd_logw.Tpo .deps/cmd_logw.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT core.o -MD -MP -MF .deps/core.Tpo -c -o core.o ../../stub-x86-pic/../core.c
mv -f .deps/core.Tpo .deps/core.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT dbg.o -MD -MP -MF .deps/dbg.Tpo -c -o dbg.o ../../stub-x86-pic/../dbg.c
mv -f .deps/dbg.Tpo .deps/dbg.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT fb-adb.o -MD -MP -MF .deps/fb-adb.Tpo -c -o fb-adb.o ../../stub-x86-pic/../fb-adb.c
mv -f .deps/fb-adb.Tpo .deps/fb-adb.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT ringbuf.o -MD -MP -MF .deps/ringbuf.Tpo -c -o ringbuf.o ../../stub-x86-pic/../ringbuf.c
mv -f .deps/ringbuf.Tpo .deps/ringbuf.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT strutil.o -MD -MP -MF .deps/strutil.Tpo -c -o strutil.o ../../stub-x86-pic/../strutil.c
mv -f .deps/strutil.Tpo .deps/strutil.Po
/usr/bin/sed -Ef ../../stub-x86-pic/../termnames.sed ../../stub-x86-pic/../termnames.h.in >termnames.h
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT termbits.o -MD -MP -MF .deps/termbits.Tpo -c -o termbits.o ../../stub-x86-pic/../termbits.c
mv -f .deps/termbits.Tpo .deps/termbits.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o ../../stub-x86-pic/../util.c
mv -f .deps/util.Tpo .deps/util.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT xmkraw.o -MD -MP -MF .deps/xmkraw.Tpo -c -o xmkraw.o ../../stub-x86-pic/../xmkraw.c
mv -f .deps/xmkraw.Tpo .deps/xmkraw.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT net.o -MD -MP -MF .deps/net.Tpo -c -o net.o ../../stub-x86-pic/../net.c
mv -f .deps/net.Tpo .deps/net.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT lz4.o -MD -MP -MF .deps/lz4.Tpo -c -o lz4.o ../../stub-x86-pic/../lz4.c
mv -f .deps/lz4.Tpo .deps/lz4.Po
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT xenviron.o -MD -MP -MF .deps/xenviron.Tpo -c -o xenviron.o ../../stub-x86-pic/../xenviron.c
mv -f .deps/xenviron.Tpo .deps/xenviron.Po
rm -f libfb-adb.a
i686-linux-android-gcc-ar cru libfb-adb.a adb.o adbenc.o argv.o channel.o chat.o child.o cmd_stub.o cmd_logw.o core.o dbg.o fb-adb.o ringbuf.o strutil.o termbits.o util.o xmkraw.o net.o lz4.o xenviron.o
i686-linux-android-gcc-ranlib libfb-adb.a
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C .. timestamp.c
make[5]: `timestamp.c' is up to date.
cp -fp ../timestamp.c timestamp.c
i686-linux-android-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-x86-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT timestamp.o -MD -MP -MF .deps/timestamp.Tpo -c -o timestamp.o timestamp.c
mv -f .deps/timestamp.Tpo .deps/timestamp.Po
i686-linux-android-gcc -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -fPIC -pie -flto  -o fb-adb  timestamp.o  libfb-adb.a -llog
i686-linux-android-strip -o stub fb-adb
Making all in stub-arm-pic
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C .. timestamp.c
make[3]: `timestamp.c' is up to date.
cp -fp ../timestamp.c timestamp.c
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT adb.o -MD -MP -MF .deps/adb.Tpo -c -o adb.o ../../stub-arm-pic/../adb.c
mv -f .deps/adb.Tpo .deps/adb.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT adbenc.o -MD -MP -MF .deps/adbenc.Tpo -c -o adbenc.o ../../stub-arm-pic/../adbenc.c
mv -f .deps/adbenc.Tpo .deps/adbenc.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT argv.o -MD -MP -MF .deps/argv.Tpo -c -o argv.o ../../stub-arm-pic/../argv.c
mv -f .deps/argv.Tpo .deps/argv.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT channel.o -MD -MP -MF .deps/channel.Tpo -c -o channel.o ../../stub-arm-pic/../channel.c
mv -f .deps/channel.Tpo .deps/channel.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT chat.o -MD -MP -MF .deps/chat.Tpo -c -o chat.o ../../stub-arm-pic/../chat.c
mv -f .deps/chat.Tpo .deps/chat.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT child.o -MD -MP -MF .deps/child.Tpo -c -o child.o ../../stub-arm-pic/../child.c
mv -f .deps/child.Tpo .deps/child.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT cmd_stub.o -MD -MP -MF .deps/cmd_stub.Tpo -c -o cmd_stub.o ../../stub-arm-pic/../cmd_stub.c
mv -f .deps/cmd_stub.Tpo .deps/cmd_stub.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT cmd_logw.o -MD -MP -MF .deps/cmd_logw.Tpo -c -o cmd_logw.o ../../stub-arm-pic/../cmd_logw.c
mv -f .deps/cmd_logw.Tpo .deps/cmd_logw.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT core.o -MD -MP -MF .deps/core.Tpo -c -o core.o ../../stub-arm-pic/../core.c
mv -f .deps/core.Tpo .deps/core.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT dbg.o -MD -MP -MF .deps/dbg.Tpo -c -o dbg.o ../../stub-arm-pic/../dbg.c
mv -f .deps/dbg.Tpo .deps/dbg.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT fb-adb.o -MD -MP -MF .deps/fb-adb.Tpo -c -o fb-adb.o ../../stub-arm-pic/../fb-adb.c
mv -f .deps/fb-adb.Tpo .deps/fb-adb.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT ringbuf.o -MD -MP -MF .deps/ringbuf.Tpo -c -o ringbuf.o ../../stub-arm-pic/../ringbuf.c
mv -f .deps/ringbuf.Tpo .deps/ringbuf.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT strutil.o -MD -MP -MF .deps/strutil.Tpo -c -o strutil.o ../../stub-arm-pic/../strutil.c
mv -f .deps/strutil.Tpo .deps/strutil.Po
/usr/bin/sed -Ef ../../stub-arm-pic/../termnames.sed ../../stub-arm-pic/../termnames.h.in >termnames.h
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT termbits.o -MD -MP -MF .deps/termbits.Tpo -c -o termbits.o ../../stub-arm-pic/../termbits.c
mv -f .deps/termbits.Tpo .deps/termbits.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o ../../stub-arm-pic/../util.c
mv -f .deps/util.Tpo .deps/util.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT xmkraw.o -MD -MP -MF .deps/xmkraw.Tpo -c -o xmkraw.o ../../stub-arm-pic/../xmkraw.c
mv -f .deps/xmkraw.Tpo .deps/xmkraw.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT net.o -MD -MP -MF .deps/net.Tpo -c -o net.o ../../stub-arm-pic/../net.c
mv -f .deps/net.Tpo .deps/net.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT lz4.o -MD -MP -MF .deps/lz4.Tpo -c -o lz4.o ../../stub-arm-pic/../lz4.c
mv -f .deps/lz4.Tpo .deps/lz4.Po
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT xenviron.o -MD -MP -MF .deps/xenviron.Tpo -c -o xenviron.o ../../stub-arm-pic/../xenviron.c
mv -f .deps/xenviron.Tpo .deps/xenviron.Po
rm -f libfb-adb.a
arm-linux-androideabi-gcc-ar cru libfb-adb.a adb.o adbenc.o argv.o channel.o chat.o child.o cmd_stub.o cmd_logw.o core.o dbg.o fb-adb.o ringbuf.o strutil.o termbits.o util.o xmkraw.o net.o lz4.o xenviron.o
arm-linux-androideabi-gcc-ranlib libfb-adb.a
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C .. timestamp.c
make[5]: `timestamp.c' is up to date.
cp -fp ../timestamp.c timestamp.c
arm-linux-androideabi-gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -DHAVE_CLOCK_GETTIME=1 -I. -I../../stub-arm-pic/..  -I. -DFBADB_STUB=1  -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -MT timestamp.o -MD -MP -MF .deps/timestamp.Tpo -c -o timestamp.o timestamp.c
mv -f .deps/timestamp.Tpo .deps/timestamp.Po
arm-linux-androideabi-gcc -fvisibility=hidden -std=gnu99 -fPIC -flto -g -O2 -fPIC -pie -flto  -o fb-adb  timestamp.o  libfb-adb.a -llog
arm-linux-androideabi-strip -o stub fb-adb
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT timestamp.o -MD -MP -MF .deps/timestamp.Tpo -c -o timestamp.o timestamp.c
mv -f .deps/timestamp.Tpo .deps/timestamp.Po
XXD="/usr/local/bin/xxd" ../mkstubsc.sh stub-x86/stub stub-arm/stub stub-x86-pic/stub stub-arm-pic/stub > stubs.c
gcc -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"fb-adb\ 1.4.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.4.1\" -DHAVE_KQUEUE=1 -DHAVE_PTSNAME=1 -DHAVE_FUNOPEN=1 -I. -I..  -I.  -DFBADB_MAIN=1 -Wall -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DNDEBUG=1 -fvisibility=hidden -std=gnu99   -g -O2 -MT stubs.o -MD -MP -MF .deps/stubs.Tpo -c -o stubs.o stubs.c
mv -f .deps/stubs.Tpo .deps/stubs.Po
gcc -fvisibility=hidden -std=gnu99   -g -O2    -o fb-adb  timestamp.o stubs.o libfb-adb.a
Undefined symbols for architecture x86_64:
  "_make_addr_unix_abstract", referenced from:
      _stub_main_trampoline in libfb-adb.a(cmd_stub.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [fb-adb] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

How can I sove this problem?

Error: No formulae found in taps

HelloWorlddeiMac:~ helloworld$ brew install fb-adb
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
No changes to formulae.

Error: No available formula with the name "fb-adb"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
HelloWorlddeiMac:~ helloworld$

fb-adb shell sometimes fail with "shell: error in stub: fork: Try again"

In an attempt to work around https://issuetracker.google.com/issues/73230216, I replaced the use of adb with fb-adb in the supplied script

#!/bin/bash

while : ; do
        OUTPUT=$(fb-adb -e shell 'echo -n exitcode')
        if [[ ! "$OUTPUT" =~ "exitcode" ]]; then
                echo "invalid adb output: $OUTPUT"
                break
        fi
done

Then I started the emulator (an android-26 x86_64 image) and ran the 6 copies of the shell script. After a few minutes, fb-adb fails with:

fb-adb shell: error in stub: fork: Try again

Merge to AOSP

This fork is super useful, adding new features and significantly improving on functionality in the original upstream ADB. It would be wonderful if these changes were merged back to the source so it's trivial to download via the SDK manager. Although it is not an explicit goal of this project, merging upstream is a written objective for the Facebook ProGuard fork:

The goal of this fork is to remain bit-for-bit compatible with upstream, and to ideally get these patches into upstream proguard.

This ticket is to request that changes in this fork be merged back to AOSP so all users may benefit.

environment variables don't work with rdex

I'm getting this error with rdex:
E/AndroidRuntime(15136): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load keyboard from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/local/tmp/rdex/keyboard_apk.jar"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]]: findLibrary returned null

The path I tried to set with -Y"LD_LIBRARY_PATH=..." doesn't show up in nativeLibraryDirectories above, so I think this is a problem with rdex. It does work with fb-adb shell, so I'm guessing this is a problem with rdex.

fb-adb Ignores SIGINT

fb-adb does not respond SIGINT. Previous versions (I'm not sure which) gracefully terminated similar to stock AOSP ADB.

Repro steps

  1. Attach two or more devices.

  2. Execute fb-adb install -r foo.apk.

  3. Observe that the following lines are repeated on the terminal every second:

    error: more than one device/emulator
    - waiting for device -
    
  4. Press control-C.

  5. Observe that the process continues running.

  6. Press control-Z and SIGKILL the process.

r10c ptsname Compile Error

When performing a standard build, the following error occurs:

...
...
...
mv -f .deps/chat.Tpo .deps/chat.Po
i686-linux-android-gcc -std=gnu99 -DPACKAGE_NAME=\"fb-adb\" -DPACKAGE_TARNAME=\"fb-adb\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"fb-adb\ 1.0\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fb-adb\" -DVERSION=\"1.0\" -DHAVE_PPOLL=1 -DHAVE_DUP3=1 -DHAVE_PIPE2=1 -DHAVE_PTSNAME=1 -I. -I../../stub-x86/..  -I. -Wall -Werror -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DBUILD_STUB=1 -DNDEBUG=1 -flto  -g -O2 -Wno-format -MT child.o -MD -MP -MF .deps/child.Tpo -c -o child.o ../../stub-x86/../child.c
../../stub-x86/../child.c: In function 'child_start':
../../stub-x86/../child.c:121:47: error: call to 'ptsname' declared with attribute warning: ptsname is not thread-safe; use ptsname_r instead [-Werror]
cc1: all warnings being treated as errors

This is a new issue on Mac using the r10c NDK. It worked fine on r10b.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.