Having th following error when crosscompiling for the RPi:
Code
/home/ijr/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/armv7ve-libreelec-linux-gnueabi-gcc -march=armv7ve -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a7 -mfloat-abi=hard -mfpu=neon-vfpv4 -fomit-frame-pointer -Wall -pipe -Os -flto -ffat-lto-objects -fPIC -I/home/ijr/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libcap-2.25/.armv7ve-libreelec-linux-gnueabi/libcap/../libcap/include/uapi -I/home/ijr/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libcap-2.25/.armv7ve-libreelec-linux-gnueabi/libcap/../libcap/include -c cap_file.c -o cap_file.o
In file included from <command-line>:32:0:
./_caps_output.gperf:71:80: error: unknown type name 'size_t'
gperf_case_strncmp (register const char *s1, register const char *s2, register size_t n)
^~~~~~
./_caps_output.gperf:96:53: error: unknown type name 'size_t'
__cap_hash_name (register const char *str, register size_t len)
^~~~~~
./_caps_output.gperf:200:55: error: unknown type name 'size_t'
__cap_lookup_name (register const char *str, register size_t len)
^~~~~~
./_caps_output.gperf:200:1: error: conflicting types for '__cap_lookup_name'
__cap_lookup_name (register const char *str, register size_t len)
^~~~~~~~~~~~~~~~~
./_caps_output.gperf:33:29: note: previous declaration of '__cap_lookup_name' was here
const struct __cap_token_s *__cap_lookup_name(const char *, unsigned int);
^~~~~~~~~~~~~~~~~
make: *** [Makefile:63: cap_text.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/ijr/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libcap-2.25/.armv7ve-libreelec-linux-gnueabi/libcap'
Display More
can anyone help?