Hello, I wanted to update my build and I get the following error message after starting the build.
/home/stefan.harbich/Downloads/apu/openwrt/build_dir/target-x86_64_musl/linux-x86_64/openvswitch-2.11.3/datapath/linux/compat/include/linux/random.h: In function 'prandom_u32_max':
/home/stefan.harbich/Downloads/apu/openwrt/build_dir/target-x86_64_musl/linux-x86_64/openvswitch-2.11.3/datapath/linux/compat/include/linux/random.h:7:24: error: implicit declaration of function 'random32'; did you mean 'prandom_u32'? [-Werror=implicit-function-declaration]
#define prandom_u32() random32()
^
/home/stefan.harbich/Downloads/apu/openwrt/build_dir/target-x86_64_musl/linux-x86_64/openvswitch-2.11.3/datapath/linux/compat/include/linux/random.h:13:22: note: in expansion of macro 'prandom_u32'
return (u32)(((u64) prandom_u32() * ep_ro) >> 32);
^~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:326: recipe for target '/home/stefan.harbich/Downloads/apu/openwrt/build_dir/target-x86_64_musl/linux-x86_64/openvswitch-2.11.3/datapath/linux/actions.o' failed
make[9]: *** [/home/stefan.harbich/Downloads/apu/openwrt/build_dir/target-x86_64_musl/linux-x86_64/openvswitch-2.11.3/datapath/linux/actions.o] Error 1
Makefile:1550: recipe for target '_module_/home/stefan.harbich/Downloads/apu/openwrt/build_dir/target-x86_64_musl/linux-x86_64/openvswitch-2.11.3/datapath/linux' failed
make[8]: *** [_module_/home/stefan.harbich/Downloads/apu/openwrt/build_dir/target-x86_64_musl/linux-x86_64/openvswitch-2.11.3/datapath/linux] Error 2
make[8]: Leaving directory '/home/stefan.harbich/Downloads/apu/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-4.14.206'
Makefile.main:71: recipe for target 'default' failed
make[7]: *** [default] Error 2
make[7]: Leaving directory '/home/stefan.harbich/Downloads/apu/openwrt/build_dir/target-x86_64_musl/linux-x86_64/openvswitch-2.11.3/datapath/linux'
Makefile:576: recipe for target 'all-recursive' failed
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory '/home/stefan.harbich/Downloads/apu/openwrt/build_dir/target-x86_64_musl/linux-x86_64/openvswitch-2.11.3/datapath'
Makefile:5154: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory '/home/stefan.harbich/Downloads/apu/openwrt/build_dir/target-x86_64_musl/linux-x86_64/openvswitch-2.11.3'
Makefile:2985: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/stefan.harbich/Downloads/apu/openwrt/build_dir/target-x86_64_musl/linux-x86_64/openvswitch-2.11.3'
Makefile:327: recipe for target '/home/stefan.harbich/Downloads/apu/openwrt/build_dir/target-x86_64_musl/linux-x86_64/openvswitch-2.11.3/.built' failed
make[3]: *** [/home/stefan.harbich/Downloads/apu/openwrt/build_dir/target-x86_64_musl/linux-x86_64/openvswitch-2.11.3/.built] Error 2
make[3]: Leaving directory '/home/stefan.harbich/Downloads/apu/openwrt/feeds/packages/net/openvswitch'
time: package/feeds/packages/openvswitch/compile#70.74#20.94#87.68
package/Makefile:111: recipe for target 'package/feeds/packages/openvswitch/compile' failed
make[2]: *** [package/feeds/packages/openvswitch/compile] Error 2
make[2]: Leaving directory '/home/stefan.harbich/Downloads/apu/openwrt'
package/Makefile:107: recipe for target '/home/stefan.harbich/Downloads/apu/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile' failed
make[1]: *** [/home/stefan.harbich/Downloads/apu/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/stefan.harbich/Downloads/apu/openwrt'
/home/stefan.harbich/Downloads/apu/openwrt/include/toplevel.mk:225: recipe for target 'world' failed
make: *** [world] Error 2
How to fix the problem?
Greetings from Stefan Harbich