#21741: Busybox vi build breaks when FEATURE_VI_REGEX_SEARCH enabled
------------------------------+---------------------------------------
Reporter: jmomo@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Designated Driver (Trunk)
Component: base system | Version: Trunk
Keywords: busybox vi regex |
------------------------------+---------------------------------------
The build is breaking for me when the busybox vi option "Enable regex in
search and replace"(FEATURE_VI_REGEX_SEARCH) is set.
Based off r48548 / 3c298f89-4303-0410-b956-a3cf2f4a3e73
--
CC editors/vi.o
editors/vi.c: In function 'char_search':
editors/vi.c:1893:2: error: 're_syntax_options' undeclared (first use in
this function)
re_syntax_options = RE_SYNTAX_POSIX_EXTENDED;
^
editors/vi.c:1893:2: note: each undeclared identifier is reported only
once for each function it appears in
editors/vi.c:1893:22: error: 'RE_SYNTAX_POSIX_EXTENDED' undeclared (first
use in this function)
re_syntax_options = RE_SYNTAX_POSIX_EXTENDED;
^
editors/vi.c:1895:50: error: 'RE_ICASE' undeclared (first use in this
function)
re_syntax_options = RE_SYNTAX_POSIX_EXTENDED | RE_ICASE;
^
editors/vi.c:1898:8: warning: implicit declaration of function
're_compile_pattern' [-Wimplicit-function-declaration]
err = re_compile_pattern(pat, strlen(pat), &preg);
^
editors/vi.c:1898:6: warning: assignment makes pointer from integer
without a cast [-Wint-conversion]
err = re_compile_pattern(pat, strlen(pat), &preg);
^
editors/vi.c:1926:6: warning: implicit declaration of function 're_search'
[-Wimplicit-function-declaration]
i = re_search(&preg, q, size, /*start:*/ 0, range, /*struct
re_registers*:*/ NULL);
^
scripts/Makefile.build:197: recipe for target 'editors/vi.o' failed
make[5]: *** [editors/vi.o] Error 1
Makefile:741: recipe for target 'editors' failed
make[4]: *** [editors] Error 2
make[4]: Leaving directory
'/home/user/proj/openwrt/openwrt-20160128172126-1/build_dir/target-
mips_34kc_musl-1.1.12/busybox-1.24.1'
Makefile:121: recipe for target
'/home/user/proj/openwrt/openwrt-20160128172126-1/build_dir/target-
mips_34kc_musl-1.1.12/busybox-1.24.1/.built' failed
make[3]: *** [/home/user/proj/openwrt/openwrt-20160128172126-1/build_dir
/target-mips_34kc_musl-1.1.12/busybox-1.24.1/.built] Error 2
make[3]: Leaving directory
'/home/user/proj/openwrt/openwrt-20160128172126-1/package/utils/busybox'
package/Makefile:191: recipe for target 'package/utils/busybox/compile'
failed
make[2]: *** [package/utils/busybox/compile] Error 2
make[2]: Leaving directory
'/home/user/proj/openwrt/openwrt-20160128172126-1'
package/Makefile:188: recipe for target
'/home/user/proj/openwrt/openwrt-20160128172126-1/staging_dir/target-
mips_34kc_musl-1.1.12/stamp/.package_compile' failed
make[1]: *** [/home/user/proj/openwrt/openwrt-20160128172126-1/staging_dir
/target-mips_34kc_musl-1.1.12/stamp/.package_compile] Error 2
make[1]: Leaving directory
'/home/user/proj/openwrt/openwrt-20160128172126-1'
/home/user/proj/openwrt/openwrt-20160128172126-1/include/toplevel.mk:191:
recipe for target 'world' failed
make: *** [world] Error 2
Command exited with non-zero status 2
--
Ticket URL: <https://dev.openwrt.org/ticket/21741>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets