将cmake项目链接到poco库时出现以下错误:
/usr/bin/ld: /usr/local/lib/libPocoUtil.so.60: undefined reference to symbol '_ZN4Poco4JSON6Object3setERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7Dynamic3VarE'
/usr/local/lib/libPocoJSON.so.60: error adding symbols: DSO missing from command line
coll
大家好,我正在为RISCV安装工具:
根据文件:
我配置了de
export RISCV=/opt/riscv
export PATH=$PATH:$RISCV/bin
在我安装工具链和qemu之后
当我编译linux时,我运行以下命令:
cd linux
git checkout v5.4.0
make ARCH=riscv CROSS_COMPILE=riscv64-unknown-linux-gnu- defconfig
但我犯了这些错误:
*** Default configuration is based on 'defconfig' scripts/Kcon
我试图在Kubuntu 12.04中编译一个程序(不是我写的),但失败了,错误如下:
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libwx_baseu_xml-2.8.so: undefined reference to symbol 'XML_SetUserData'
/usr/bin/ld: note: 'XML_SetUserData' is defined in DSO /usr/lib/x86_64-linux-gnu/libexpat.so so try adding it to the linker comman