Applying /builder/shared-workdir/build/sdk/feeds/routing/batmand/patches/0001-Allow-one-to-disable-forking-to-background-in-debug_.patch using plaintext: patching file posix/init.c make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_74kc_musl/batmand-1440' CC batman.o CC originator.o CC schedule.o CC list-batman.o CC allocate.o CC bitarray.o CC hash.o CC profile.o CC ring_buffer.o CC hna.o hna.c: In function 'hna_local_task_add_ip': hna.c:97:103: error: implicit declaration of function 'strerror'; did you mean 'perror'? [-Wimplicit-function-declaration] 97 | debug_output(0, "Error - could not lock hna_chg_list mutex in %s(): %s \n", __func__, strerror(errno)); | ^~~~~~~~ | perror hna.c: In function 'hna_local_task_add_str': hna.c:112:26: error: implicit declaration of function 'strchr' [-Wimplicit-function-declaration] 112 | if ((slash_ptr = strchr(hna_string, '/')) == NULL) { | ^~~~~~ hna.c:31:1: note: include '' or provide a declaration of 'strchr' 30 | #include +++ |+#include 31 | hna.c:112:26: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch] 112 | if ((slash_ptr = strchr(hna_string, '/')) == NULL) { | ^~~~~~ hna.c:112:26: note: include '' or provide a declaration of 'strchr' hna.c: In function 'hna_local_buffer_fill': hna.c:187:17: error: implicit declaration of function 'memmove' [-Wimplicit-function-declaration] 187 | memmove(&hna_buff_local[num_hna_local * 5], (unsigned char *)&hna_local_entry->addr, 4); | ^~~~~~~ hna.c:187:17: note: include '' or provide a declaration of 'memmove' hna.c:187:17: warning: incompatible implicit declaration of built-in function 'memmove' [-Wbuiltin-declaration-mismatch] hna.c:187:17: note: include '' or provide a declaration of 'memmove' hna.c: In function 'hna_buff_delete': hna.c:480:25: warning: incompatible implicit declaration of built-in function 'memmove' [-Wbuiltin-declaration-mismatch] 480 | memmove(&buf[i], &buf[num_elements - 1], sizeof(struct hna_element)); | ^~~~~~~ hna.c:480:25: note: include '' or provide a declaration of 'memmove' make[4]: *** [Makefile:90: hna.o] Error 1 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_74kc_musl/batmand-1440' make[3]: *** [Makefile:64: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_74kc_musl/batmand-1440/.built] Error 2 time: package/feeds/routing/batmand/compile#1.39#0.41#1.84