Hi,
I am building the libreELEC-AML image from a clean environment and I am getting unresolved symbols and conflicting types. Any idea on what is going wrong ?
Environment setup:
$ git clone https://github.com/dtechsrv/LibreELEC-AML libreELEC-AML
$ cd libreELEC-AML
$ git status
On branch master Your branch is up to date with 'origin/master'. nothing to commit, working tree clean
Build command (it's the only option for s905):
$ PROJECT=S905 ARCH=aarch64 DEVICE=KI-Plus make image
Lots of errors similar to this:
[ 242/2142] Compiling IDL librpc/idl/initshutdown.idl
build.LibreELEC-KI-Plus.aarch64-9.2.8.3/samba-4.9.18/librpc/idl/auth.idl:107: error: Unable to determine origin of type
'struct cli_credentials'
Conflicting types error leading to make failure:
[ 321/2142] Compiling IDL source4/librpc/idl/irpc.idl
make[1]: Entering directory 'libreELEC-AML/build.LibreELEC-KI-Plus.aarch64-9.2.8.3/u-boot-tools-aml-2016.03'
/usr/include/libfdt_env.h:27:30: error: conflicting types for 'fdt64_t'
27 | typedef uint64_t FDT_BITWISE fdt64_t;
| ^~~~~~~
In file included from <command-line>:
././include/libfdt_env.h:19:16: note: previous declaration of 'fdt64_t' was here
19 | typedef __be64 fdt64_t;
| ^~~~~~~
So header files from /usr/include/ are conflicting with ./build.LibreELEC-KI-Plus.aarch64-9.2.8.3/u-boot-tools-aml-2016.03/include/
By the way I am able to build from this https://github.com/LibreELEC/LibreELEC.tv but my box is not supported so I'm trying LibreELEC-AML.
Regards.