Hi all,
make[4]: Entering directory '/home/zack/openwrt/build_dir/target-x86_64_musl/busybox-1.31.1'
CC editors/vi.o
editors/vi.c: In function 'char_search':
editors/vi.c:2153:2: error: 're_syntax_options' undeclared (first use in this function)
re_syntax_options = RE_SYNTAX_POSIX_EXTENDED;
^~~~~~~~~~~~~~~~~
editors/vi.c:2153:2: note: each undeclared identifier is reported only once for each function it appears in
editors/vi.c:2153:22: error: 'RE_SYNTAX_POSIX_EXTENDED' undeclared (first use in this function); did you mean 'IF_FEATURE_NAMEIF_EXTENDED'?
re_syntax_options = RE_SYNTAX_POSIX_EXTENDED;
^~~~~~~~~~~~~~~~~~~~~~~~
IF_FEATURE_NAMEIF_EXTENDED
editors/vi.c:2155:50: error: 'RE_ICASE' undeclared (first use in this function); did you mean 'REG_ICASE'?
re_syntax_options = RE_SYNTAX_POSIX_EXTENDED | RE_ICASE;
^~~~~~~~
REG_ICASE
editors/vi.c:2158:8: error: implicit declaration of function 're_compile_pattern'; did you mean 'recursive_action'? [-Werror=implicit-function-declaration]
err = re_compile_pattern(pat, strlen(pat), &preg);
^~~~~~~~~~~~~~~~~~
recursive_action
editors/vi.c:2158:6: error: assignment to 'const char *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
err = re_compile_pattern(pat, strlen(pat), &preg);
^
editors/vi.c:2192:6: error: implicit declaration of function 're_search'; did you mean 'bsearch'? [-Werror=implicit-function-declaration]
i = re_search(&preg, q, size, /*start:*/ 0, range, /*struct re_registers*:*/ NULL);
^~~~~~~~~
bsearch
cc1: all warnings being treated as errors
make[5]: *** [scripts/Makefile.build:198: editors/vi.o] Error 1
make[4]: *** [Makefile:743: editors] Error 2
make[4]: Leaving directory '/home/zack/openwrt/build_dir/target-x86_64_musl/busybox-1.31.1'
make[3]: *** [Makefile:126: /home/zack/openwrt/build_dir/target-x86_64_musl/busybox-1.31.1/.built] Error 2
make[3]: Leaving directory '/home/zack/openwrt/package/utils/busybox'
time: package/utils/busybox/compile#1.38#1.41#2.60
make[2]: *** [package/Makefile:113: package/utils/busybox/compile] Error 2
This seems to be happening for me since the update to busybox 1.31.1: 5b3f0e70a10e551afce27aeb826caaee3889829c
Any ideas?
Thanks.