编译wesnorth时发现安装的libboost 1.83报函数缺失问题:
[ 99%] Linking CXX executable ../wesnoth
/usr/bin/ld: /usr/lib/libboost_coroutine.so.1.83.0: undefined reference to `jump_fcontext'
/usr/bin/ld: /usr/lib/libboost_coroutine.so.1.83.0: undefined reference to `make_fcontext'
collect2: 错误:ld 返回 1
make[2]: *** [src/CMakeFiles/wesnoth.dir/build.make:125:wesnoth] 错误 1
make[1]: *** [CMakeFiles/Makefile2:1311:src/CMakeFiles/wesnoth.dir/all] 错误 2
make: *** [Makefile:166:all] 错误 2
查阅资料后发现libboost1.83的unstable版本在riscv64架构也有类似问题,貌似在1.83正式版本已修复。请参考:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059046
如可以,麻烦更新package。