linux下model_check工具编译失败
envgap__Tencent__TNN-135
01 / FAILURE SIGNATURE
As reported upstream
../../libTNN.so.0.1.0.0: undefined reference to `dlopen'
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
7690986a00024603d10eda0aa4a9e15cb7cbca72- Manifest
platforms/linux/CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
Tencent/TNN #135 · read the original issue
在 platform/linux目录下执行 ./build_model_check.sh 会报错: [100%] Linking CXX executable ../../model_check ../../libTNN.so.0.1.0.0: undefined reference to `dlopen' ../../libTNN.so.0.1.0.0: undefined reference to `dlclose' ../../libTNN.so.0.1.0.0: undefined reference to `dlsym' collect2: error: ld returned 1 exit status tools/model_check/CMakeFiles/model_check.dir/build.make:114: recipe for target 'model_check' failed make[2]: *** [model_check] Error 1 CMakeFiles/Makefile2:238: recipe for target 'tools/model_check/CMakeFiles/model_check.dir/all' failed make[1]: *** [tools/model_check/CMakeFiles/model_check.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]