Skip to content

NDK compilation fails due to missing wordexp.h #440

Description

@sergiud

Trying to build the library using NDK 22b results in

<boost-prefix>/src/boost/libs/process/src/shell.cpp:23:10: fatal error: 'wordexp.h' file not found
#include <wordexp.h>
         ^~~~~~~~~~~
1 error generated.

    "ccache" "/devel/android-ndk-r22b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++"   -fvisibility-inlines-hidden -funwind-tables -no-canonical-prefixes -fexceptions -frtti -stdlib=libc++ --target=x86_64-none-linux-android30 -O3 -Wall -fvisibility=hidden -Wno-inline -m64 -fPIC  -DBOOST_ALL_NO_LIB=1 -DBOOST_ASIO_NO_DEPRECATED -DBOOST_ATOMIC_NO_LIB=1 -DBOOST_ATOMIC_STATIC_LINK=1 -DBOOST_COBALT_USE_STD_PMR=1 -DBOOST_CONTEXT_NO_LIB=1 -DBOOST_DISABLE_ASSERTS -DBOOST_FILESYSTEM_NO_LIB=1 -DBOOST_FILESYSTEM_STATIC_LINK=1 -DBOOST_PROCESS_SOURCE=1 -DBOOST_SYSTEM_NO_LIB=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DDATE_TIME_INLINE -DNDEBUG   -I"." -I"<boost-prefix>/src/boost/libs/asio/include" -I"<boost-prefix>/src/boost/libs/assert/include" -I"<boost-prefix>/src/boost/libs/atomic/include" -I"<boost-prefix>/src/boost/libs/container_hash/include" -I"<boost-prefix>/src/boost/libs/context/include" -I"<boost-prefix>/src/boost/libs/core/include" -I"<boost-prefix>/src/boost/libs/describe/include" -I"<boost-prefix>/src/boost/libs/detail/include" -I"<boost-prefix>/src/boost/libs/filesystem/include" -I"<boost-prefix>/src/boost/libs/function_types/include" -I"<boost-prefix>/src/boost/libs/iterator/include" -I"<boost-prefix>/src/boost/libs/move/include" -I"<boost-prefix>/src/boost/libs/mp11/include" -I"<boost-prefix>/src/boost/libs/optional/include" -I"<boost-prefix>/src/boost/libs/predef/include" -I"<boost-prefix>/src/boost/libs/process/include" -I"<boost-prefix>/src/boost/libs/scope/include" -I"<boost-prefix>/src/boost/libs/smart_ptr/include" -I"<boost-prefix>/src/boost/libs/system/include" -I"<boost-prefix>/src/boost/libs/throw_exception/include" -I"<boost-prefix>/src/boost/libs/type_index/include" -I"<boost-prefix>/src/boost/libs/variant2/include" -I"<boost-prefix>/src/boost/libs/winapi/include"  -c -o "bin.v2/libs/process/build/dcce20e52ac102e835142ce4ad677986/shell.o" "<boost-prefix>/src/boost/libs/process/src/shell.cpp"

Possibly related to #391.

Boost 1.87.0.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions