Hi folks!
I'm having trouble building gettext-full as a hostpkg.
I use the current HEAD of OpenWRT's github repo: 9519a62. My host system is Debian Testing (now Stable aka Bookworm).
Did anyone of you come across the same issue? Or does someone know how to fix this?
I already tried a make distclean
.
make package/lib/gettext-full/hostpkg/compile V=s
as well as make V=s
return the following error:
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -DLIBXML_STATIC -I./libcroco -DDEPENDS_ON_LIBICO
NV=1 -I/media/raid/software/openwrt/c2600/staging_dir/host/include -I/media/raid/software/openwrt/c2600/staging_dir/hostpkg/i
nclude -I/media/raid/software/openwrt/c2600/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/host/include -O2 -I/media
/raid/software/openwrt/c2600/staging_dir/host/include -I/media/raid/software/openwrt/c2600/staging_dir/hostpkg/include -I/med
ia/raid/software/openwrt/c2600/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/host/include -DPIC -fPIC -c gl_array_li
st.c
In file included from gl_array_list.h:21,
from gl_array_list.c:21:
gl_list.h:114:15: error: expected declaration specifiers or '...' before '*' token
114 | typedef bool (*gl_listelement_equals_fn) (const void *elt1, const void *elt2);
| ^
gl_list.h:518:33: error: unknown type name 'gl_listelement_equals_fn'; did you mean 'gl_listelement_compar_fn'?
518 | gl_listelement_equals_fn equals_fn,
| ^~~~~~~~~~~~~~~~~~~~~~~~
| gl_listelement_compar_fn
gl_list.h:521:33: error: unknown type name 'bool'
521 | bool allow_duplicates);
| ^~~~
gl_list.h:22:1: note: 'bool' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'?
21 | #include <stddef.h>
+++ |+#include <stdbool.h> 22 |
Cheers,
Alex