Code Monkey home page Code Monkey logo

Comments (2)

sheerlox avatar sheerlox commented on June 6, 2024

adding #include <limits.h> to adb/tls/tls_connection.cpp fixed the issue, investigate why it wasn't required on my laptop (might also explain how Google uses std:: features without including them (e.g. atomic & functional, see patch_adb_source target)

from adb-standalone-build.

sheerlox avatar sheerlox commented on June 6, 2024

this might be because the installed Debian distro doesn't ship libstdc++-11-dev &libgcc-11-dev, max availables version is 10.

some more infos:

$ uname -a
Linux raspberrypi 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT 2023 aarch64 GNU/Linux

$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye

$ apt list --installed | grep -e libgcc- -e libstdc++- -e cmake -e clang -e libudev-dev -e libc6-dev -e golang-go -e pkg-config -e libunwind-dev -e autoconf -e libtool

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

autoconf/stable,stable,now 2.69-14 all [installed]
clang-11/stable,now 1:11.0.1-2 arm64 [installed,automatic]
clang/stable,now 1:11.0-51+nmu5 arm64 [installed]
cmake-data/stable,stable,now 3.18.4-2+rpt1+rpi1+deb11u1 all [installed,automatic]
cmake/stable,now 3.18.4-2+rpt1+rpi1+deb11u1 arm64 [installed]
golang-go/stable,now 2:1.15~1 arm64 [installed]
libc6-dev/stable,now 2.31-13+rpt2+rpi1+deb11u5 arm64 [installed,automatic]
libclang-common-11-dev/stable,now 1:11.0.1-2 arm64 [installed,automatic]
libclang-cpp11/stable,now 1:11.0.1-2 arm64 [installed,automatic]
libclang1-11/stable,now 1:11.0.1-2 arm64 [installed,automatic]
libgcc-10-dev/stable,now 10.2.1-6 arm64 [installed,automatic]
libgcc-s1/stable,now 10.2.1-6 arm64 [installed]
libstdc++-10-dev/stable,now 10.2.1-6 arm64 [installed,automatic]
libtool/stable,stable,now 2.4.6-15 all [installed]
libudev-dev/stable,now 247.3-7+deb11u1 arm64 [installed]
libunwind-dev/stable,now 1.3.2-2 arm64 [installed]
pkg-config/stable,now 0.29.2-1 arm64 [installed]

from adb-standalone-build.

Related Issues (2)

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.