Giter Club home page Giter Club logo

adb's People

Contributors

prife 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

adb's Issues

cross compile fail

Dear Sir,
I follow the build step to build for arm64 on x86 Linux machine.
When I executed cmake --build build-arm64 --config Release, it's failure as following log.
Have any suggestion for me? thanks

[100%] Linking CXX executable adb
ld.lld: error: relocation R_AARCH64_ABS64 cannot be used against local symbol; recompile with -fPIC

defined in /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a(err.c.o)
referenced by err.c
err.c.o:(kLibraryNames) in archive /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a

ld.lld: error: relocation R_AARCH64_ABS64 cannot be used against local symbol; recompile with -fPIC

defined in /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a(err.c.o)
referenced by err.c
err.c.o:(kLibraryNames) in archive /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a

ld.lld: error: relocation R_AARCH64_ABS64 cannot be used against local symbol; recompile with -fPIC

defined in /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a(err.c.o)
referenced by err.c
err.c.o:(kLibraryNames) in archive /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a

ld.lld: error: relocation R_AARCH64_ABS64 cannot be used against local symbol; recompile with -fPIC

defined in /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a(err.c.o)
referenced by err.c
err.c.o:(kLibraryNames) in archive /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a

ld.lld: error: relocation R_AARCH64_ABS64 cannot be used against local symbol; recompile with -fPIC

defined in /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a(err.c.o)
referenced by err.c
err.c.o:(kLibraryNames) in archive /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a

ld.lld: error: relocation R_AARCH64_ABS64 cannot be used against local symbol; recompile with -fPIC

defined in /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a(err.c.o)
referenced by err.c
err.c.o:(kLibraryNames) in archive /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a

ld.lld: error: relocation R_AARCH64_ABS64 cannot be used against local symbol; recompile with -fPIC

defined in /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a(err.c.o)
referenced by err.c
err.c.o:(kLibraryNames) in archive /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a

ld.lld: error: relocation R_AARCH64_ABS64 cannot be used against local symbol; recompile with -fPIC

defined in /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a(err.c.o)
referenced by err.c
err.c.o:(kLibraryNames) in archive /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a

ld.lld: error: relocation R_AARCH64_ABS64 cannot be used against local symbol; recompile with -fPIC

defined in /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a(err.c.o)
referenced by err.c
err.c.o:(kLibraryNames) in archive /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a

ld.lld: error: relocation R_AARCH64_ABS64 cannot be used against local symbol; recompile with -fPIC

defined in /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a(err.c.o)
referenced by err.c
err.c.o:(kLibraryNames) in archive /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a

ld.lld: error: relocation R_AARCH64_ABS64 cannot be used against local symbol; recompile with -fPIC

defined in /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a(err.c.o)
referenced by err.c
err.c.o:(kLibraryNames) in archive /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a

ld.lld: error: relocation R_AARCH64_ABS64 cannot be used against local symbol; recompile with -fPIC

defined in /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a(err.c.o)
referenced by err.c
err.c.o:(kLibraryNames) in archive /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a

ld.lld: error: relocation R_AARCH64_ABS64 cannot be used against local symbol; recompile with -fPIC

defined in /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a(err.c.o)
referenced by err.c
err.c.o:(kLibraryNames) in archive /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a

ld.lld: error: relocation R_AARCH64_ABS64 cannot be used against local symbol; recompile with -fPIC

defined in /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a(err.c.o)
referenced by err.c
err.c.o:(kLibraryNames) in archive /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a

ld.lld: error: relocation R_AARCH64_ABS64 cannot be used against local symbol; recompile with -fPIC

defined in /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a(err.c.o)
referenced by err.c
err.c.o:(kLibraryNames) in archive /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a

ld.lld: error: relocation R_AARCH64_ABS64 cannot be used against local symbol; recompile with -fPIC

defined in /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a(err.c.o)
referenced by err.c
err.c.o:(kLibraryNames) in archive /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a

ld.lld: error: relocation R_AARCH64_ABS64 cannot be used against local symbol; recompile with -fPIC

defined in /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a(err.c.o)
referenced by err.c
err.c.o:(kLibraryNames) in archive /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a

ld.lld: error: relocation R_AARCH64_ABS64 cannot be used against local symbol; recompile with -fPIC

defined in /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a(err.c.o)
referenced by err.c
err.c.o:(kLibraryNames) in archive /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a

ld.lld: error: relocation R_AARCH64_ABS64 cannot be used against local symbol; recompile with -fPIC

defined in /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a(err.c.o)
referenced by err.c
err.c.o:(kLibraryNames) in archive /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a

ld.lld: error: relocation R_AARCH64_ABS64 cannot be used against local symbol; recompile with -fPIC

defined in /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a(err.c.o)
referenced by err.c
err.c.o:(kLibraryNames) in archive /home/yan/adb_tool/adb/prebuilt/linux/aarch64/libcrypto.a

ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [src/CMakeFiles/adb.dir/build.make:606: src/adb] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:367: src/CMakeFiles/adb.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2

adb connect fail

When connect to remote device ,i get an invalid pointer error after read_key_file

❯ adb connect frps:8555
* daemon not running; starting now at tcp:5037
ADB server didn't ACK
Full server startup log: /tmp/adb.1000.log
Server had pid: 618514
--- adb starting (pid 618514) ---
adb I 10-17 01:08:31 618514 618514 main.cpp:56] Android Debug Bridge version 1.0.40
adb I 10-17 01:08:31 618514 618514 main.cpp:56] Version 28.0.1-SOONG BUILD NUMBER PLACEHOLDER
adb I 10-17 01:08:31 618514 618514 main.cpp:56] Wetest branch:master rev:bfb2c9e+ tag:v1.0.40
adb I 10-17 01:08:31 618514 618514 main.cpp:56] Installed as /home/coder/android/platform-tools/adb
adb I 10-17 01:08:31 618514 618514 main.cpp:56] 
adb I 10-17 01:08:31 618514 618514 auth.cpp:421] adb_auth_init...
adb I 10-17 01:08:31 618514 618514 auth.cpp:174] read_key_file '/home/coder/.android/adbkey'...
free(): invalid pointer

* failed to start daemon
error: cannot connect to daemon

System: Debian 11
Arch: Arm64
GLIBC: 2.31

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.