在加载了程序后,发现如下的问题
./prediction_hmm_app: symbol lookup error: ./prediction_hmm_app: undefined symbol: _ZN4holo6common8SensorId23Deserialize4ByteAlignedEPKhj
这个时候是由于没有找到SensorId23Deserialize4ByteAligned这个定义符
1.ldd prediction_hmm_app:查找所有的动态依赖库
2.ldd prediction_hmm_app | grep -i common
-i 忽略大小写
find是文件查找, grep是文件内容查找
3.nm -D libholo_base_common.so.0.1 | grep _ZN4holo6common8SensorId23Deserialize4ByteAlignedEPKhj
版本不匹配的问题,由于当前的prediciton 处于之前的版本,所以没有找到已经被溢出的标识符
4.nm -D libholo_base_.so | grep _ZN4holo6common8SensorId23Deserialize4ByteAlignedEPKhj