Embedded Connectivity
Intel network controllers, Firmware, and drivers support systems
881 Discussions

The eepromAccessTool didn't compile in the Android 13

Jason_du
Beginner
494 Views

Hi  Intel FAE,

    将eepromAccessTool加载到Android 13,编译出现如下错误提示log,请帮忙告知解决方法

   The eepromAccessTool didn't compile in the Android 13, Please help inform us of the solution,log:

build/make/core/Makefile:534: warning: ignoring old commands for target `out/target/product/kona/vendor_dlkm/lib/modules/smcinvoke_dlkm.ko'
build/make/core/Makefile:534: warning: overriding commands for target `out/target/product/kona/vendor_dlkm/lib/modules/qseecom_dlkm.ko'
build/make/core/Makefile:534: warning: ignoring old commands for target `out/target/product/kona/vendor_dlkm/lib/modules/qseecom_dlkm.ko'
build/make/core/Makefile:534: warning: overriding commands for target `out/target/product/kona/vendor_dlkm/lib/modules/msm_kgsl.ko'
build/make/core/Makefile:534: warning: ignoring old commands for target `out/target/product/kona/vendor_dlkm/lib/modules/msm_kgsl.ko'
out/target/product/kona/obj/CONFIG/kati_packaging/dist.mk was modified, regenerating...
[ 98% 348/353] //external/eepromaccesstool:eepromaccesstool clang PciEeprom.c
FAILED: out/soong/.intermediates/external/eepromaccesstool/eepromaccesstool/android_arm64_armv8-a/obj/external/eepromaccesstool/PciEeprom.o
PWD=/proc/self/cwd vendor/qcom/proprietary/llvm-arm-toolchain-ship/14/bin/clang -c -Werror=implicit-function-declaration -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Wu
nreachable-code-loop-increment -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fdebug-default-version=5 -fno-strict-aliasing -Werror=date-time -Werror=pragma-pack -Werror=p
ragma-pack-suspicious-include -Werror=string-plus-int -Werror=unreachable-code-loop-increment -D__compiler_offsetof=__builtin_offsetof -faddrsig -fcommon -Werror=int-conversion -fexperimental-new-pass-ma
nager -Wno-reserved-id-macro -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-sign-compare -Wno-defaulted-function-deleted -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-gnu-design
ator -Wno-gnu-folding-constant -Wunguarded-availability -D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__ -ffp-contract=off -fdebug-prefix-map=/proc/self/cwd= -ftrivial-auto-var-init=zero -enable-trivial-auto-v
ar-init-zero-knowing-it-will-be-removed-from-clang -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2
-Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=format-security -nostdlibinc -fdebug-info-for-profiling -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-po
inter-arithmetic -Wno-null-dereference -Wno-pointer-compare -Wno-xor-used-as-pow -Wno-final-dtor-non-final-class -Wno-psabi -Wno-null-pointer-subtraction -Wno-string-concatenation -march=armv8-a -target
aarch64-linux-android10000 -fPIE -Iexternal/eepromaccesstool/include -Iexternal/eepromaccesstool -D__LIBC_API__=10000 -D__LIBM_API__=10000 -D__LIBDL_API__=10000 -Iexternal/libcxxabi/include -Iexternal/
libcxx/include -Ibionic/libc/async_safe/include -Isystem/logging/liblog/include -Ibionic/libc/system_properties/include -Isystem/core/property_service/libpropertyinfoparser/include -isystem bionic/libc/i
nclude -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -Wall -Werror -std=gnu11 -Isystem/core
/include -Isystem/logging/liblog/include -Isystem/media/audio/include -Ihardware/libhardware/include -Ihardware/libhardware_legacy/include -Ihardware/ril/include -Iframeworks/native/include -Iframeworks/
native/opengl/include -Iframeworks/av/include -Werror=bool-operation -Werror=implicit-int-float-conversion -Werror=int-in-bool-context -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=str
ing-compare -Werror=xor-used-as-pow -Wno-void-pointer-to-enum-cast -Wno-void-pointer-to-int-cast -Wno-pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compa
re -Wno-tautological-type-limit-compare -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-sizeof-array-div -Wno-tautological-overlap-compare -Wno-deprecated-copy -Wno-range-loop-construct -W
no-misleading-indentation -Wno-zero-as-null-pointer-constant -Wno-deprecated-anon-enum-enum-conversion -Wno-string-compare -Wno-pessimizing-move -Wno-non-c-typedef-for-linkage -Wno-align-mismatch -Wno-er
ror=unused-but-set-variable -Wno-error=unused-but-set-parameter -Wno-reorder-init-list -Wno-implicit-fallthrough -Wno-c99-designator -Wno-implicit-int-float-conversion -Wno-int-in-bool-context -Wno-alloc
a -Wno-dangling-gsl -Wno-pointer-compare -Wno-final-dtor-non-final-class -Wno-incomplete-setjmp-declaration -Wno-sizeof-array-div -Wno-xor-used-as-pow -Wno-c++17-extensions -flax-vector-conversions=all -
Wno-tautological-overlap-compare -Wno-range-loop-analysis -Wno-invalid-partial-specialization -Wno-deprecated-copy -Wno-misleading-indentation -Wno-zero-as-null-pointer-constant -Wno-deprecated-enum-enum
-conversion -Wno-deprecated-anon-enum-enum-conversion -Wno-bool-operation -Wno-unused-comparison -Wno-string-compare -Wno-wrong-info -Wno-thread-safety-analysis -Wno-unsequenced -Wno-unknown-warning-opti
on -Wno-unused-variable -Wno-unused-value -Wno-unused-parameter -Wno-non-c-typedef-for-linkage -Wno-typedef-redefinition -Wno-format -Wno-void-pointer-to-int-cast -Wno-pointer-to-int-cast -Wno-string-con
catenation -Wno-void-pointer-to-enum-cast -Wno-incompatible-pointer-types -Wno-format-invalid-specifier-fcommon -Wno-self-assign -Wno-format -Wno-unused-label -Wno-pointer-sign -Wno-writable-strings -Wn
o-missing-declarations -Wno-reorder-ctor -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-but-set-parameter -Wno-bitwise-instead-of-logical -Wno-reorder-init-list -Wno-implicit-fallthrough
-Wno-c99-designator -Wno-implicit-int-float-conversion -Wno-int-in-bool-context -Wno-alloca -Wno-dangling-gsl -Wno-pointer-compare -Wno-final-dtor-non-final-class -Wno-incomplete-setjmp-declaration -Wno-
sizeof-array-div -Wno-xor-used-as-pow -fsplit-lto-unit -Wno-c++17-extensions -flax-vector-conversions=all -Wno-tautological-overlap-compare -Wno-range-loop-analysis -Wno-invalid-partial-specialization -
Wno-deprecated-copy -Wno-misleading-indentation -Wno-zero-as-null-pointer-constant -Wno-deprecated-enum-enum-conversion -Wno-deprecated-anon-enum-enum-conversion -Wno-bool-operation -Wno-unused-compariso
n -Wno-string-compare -Wno-wrong-info -Wno-thread-safety-analysis -Wno-unsequenced -Wno-unknown-warning-option -Wno-unused-variable -Wno-unused-value -Wno-unused-parameter -Wno-non-c-typedef-for-linkage
-Wno-typedef-redefinition -Wno-format -Wno-void-pointer-to-int-cast -Wno-pointer-to-int-cast -Wno-string-concatenation -Wno-void-pointer-to-enum-cast -Wno-incompatible-pointer-types -Wno-format-invalid-
specifier-fcommon -Wno-self-assign -Wno-format -Wno-unused-label -Wno-pointer-sign -Wno-writable-strings -Wno-missing-declarations -Wno-reorder-ctor -Wno-unused-function -Wno-unused-but-set-variable -Wno
-unused-but-set-parameter -Wno-null-pointer-subtraction -Wno-overriding-t-option -Wno-array-bounds -Wno-fortify-source -Wno-branch-protection -MD -MF out/soong/.intermediates/external/eepromaccesstool/ee
promaccesstool/android_arm64_armv8-a/obj/external/eepromaccesstool/PciEeprom.o.d -o out/soong/.intermediates/external/eepromaccesstool/eepromaccesstool/android_arm64_armv8-a/obj/external/eepromaccesstool
/PciEeprom.o external/eepromaccesstool/PciEeprom.c
external/eepromaccesstool/PciEeprom.c:67:10: fatal error: 'bits/sockaddr.h' file not found
#include <bits/sockaddr.h>
^~~~~~~~~~~~~~~~~
1 error generated.
14:08:34 ninja failed with: exit status 1

0 Kudos
1 Reply
Diego_INTEL
Moderator
462 Views

Hello @Jason_du,

 

Thank you for contacting Intel Embedded Community.

 

I don't find any information about Android being supported, if you have tried the Eeprom Access Tool and didn't work then there isn't much we can do at the moment, you will have to try with one of the supported OS, my apologies.

 

I'm sharing a list of the supported Operating Systems for the for Intel® Ethernet Controllers:

https://www.intel.com/content/www/us/en/support/articles/000055236/ethernet-products/gigabit-ethernet-controllers-up-to-2-5gbe.html

 

Best regards,

 

@Diego_INTEL 

0 Kudos
Reply