Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Cross Compilation Eudev Error #252

Closed
wzw88486969 opened this issue Jul 28, 2023 · 1 comment
Closed

Android Cross Compilation Eudev Error #252

wzw88486969 opened this issue Jul 28, 2023 · 1 comment

Comments

@wzw88486969
Copy link

wzw88486969 commented Jul 28, 2023

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
@bbonev
Copy link
Member

bbonev commented Jul 28, 2023

Please share the error from config.log

@bbonev bbonev closed this as completed Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants