eudev-project/eudev

Android Cross Compilation Eudev Error

wzw88486969 opened this issue · 1 comments

bash autogen.sh
 ./configure \
     --prefix=/ \
     --host=armv7-unknown-linux \
     --target=armv7-unknown-linux \
     --enable-static=no  \
     --with-sysroot=/w/android-ndk-r13b/platforms/android-21/arch-arm \
     CC="/w/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc  --sysroot=/w/android-ndk-r13b/platforms/android-21/arch-arm" \
     CFLAGS="-I/w/android-ndk-r13b/sysroot/usr/include -I/w/android-ndk-r13b/sysroot/usr/include/arm-linux-androideabi -I/w/android-ndk-r13b/platforms/android-21/arch-arm -I/home/eden/build/kernal/common/include/uapi -I/home/eden/build/kernal/common/include" \
     CXX="/w/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/w/android-ndk-r13b/platforms/android-21/arch-arm" \
     CPPFLAGS="-I/w/android-ndk-r13b/sysroot/usr/include -I/w/android-ndk-r13b/sysroot/usr/include/arm-linux-androideabi -I/w/android-ndk-r13b/platforms/android-21/arch-arm -I/home/eden/build/kernal/common/include/uapi -I/home/eden/build/kernal/common/include"


checking arpa/inet.h usability... no
checking arpa/inet.h presence... yes
configure: WARNING: arpa/inet.h: present but cannot be compiled
configure: WARNING: arpa/inet.h:     check for missing prerequisite headers?
configure: WARNING: arpa/inet.h: see the Autoconf documentation
configure: WARNING: arpa/inet.h:     section "Present But Cannot Be Compiled"
configure: WARNING: arpa/inet.h: proceeding with the compiler's result
configure: WARNING:     ## ----------------------------------------------------- ##
configure: WARNING:     ## Report this to https://github.com/gentoo/eudev/issues ##
configure: WARNING:     ## ----------------------------------------------------- ##
checking for arpa/inet.h... no
configure: error: *** POSIX header not found

Please share the error from config.log