On 28.11.23 17:00, e9hack wrote:
Hi,
since commit 'libubox: update to Git HEAD (2023-11-27)', I've trouble to
compile libubox:
[43/46] Building C object CMakeFiles/jshn.dir/jshn.c.o
[44/46] Linking C executable jshn
FAILED: jshn
: && /data/src/LEDE/RT-AX53U-5.15.x/staging_dir/host/bin/gcc -O2
-I/data/src/LEDE/RT-AX53U-5.15.x/staging_dir/host/include
-I/data/src/LEDE/RT-AX53U-5.15.x/staging_dir/hostpkg/include
-I/data/src/LEDE/RT-AX53U-5.15.x/staging_dir/target-mipsel_1004kc_musl/host/include -DNDEBUG
-L/data/src/LEDE/RT-AX53U-5.15.x/staging_dir/host/lib
-L/data/src/LEDE/RT-AX53U-5.15.x/staging_dir/hostpkg/lib
-L/data/src/LEDE/RT-AX53U-5.15.x/staging_dir/target-mipsel_1004kc_musl/host/lib -rdynamic
CMakeFiles/jshn.dir/jshn.c.o -o jshn
-Wl,-rpath,/data/src/LEDE/RT-AX53U-5.15.x/build_dir/hostpkg/libubox-2023-11-27-d4c3066e:
libblobmsg_json.so -Wl,-Bstatic -ljson-c -Wl,-Bdynamic libubox.so && :
/usr/bin/ld: libubox.so: undefined reference to `shm_unlink'
/usr/bin/ld: libubox.so: undefined reference to `shm_open'
collect2: error: ld returned 1 exit status
[45/46] Building C object CMakeFiles/json_script.dir/json_script.c.o
ninja: build stopped: subcommand failed.
make[2]: *** [Makefile:117:
/data/src/LEDE/RT-AX53U-5.15.x/build_dir/hostpkg/libubox-2023-11-27-d4c3066e/.built]
Error 1
make[2]: Leaving directory '/data/src/LEDE/RT-AX53U-5.15.x/package/libs/libubox'
Fixed now. Thanks for reporting and sorry for the noise.
- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel