Getting linker errors when linking against libunwind for a library in my project
问题 I am running this command -- /usr/bin/c++ CMakeFiles/XYZ.dir/test/XYZ.cpp.o CMakeFiles/XYZ.dir/test/TempDir.cpp.o -o XYZ libXYZMaster.so -lboost_filesystem -lboost_system /usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so -lboost_random -lboost_iostreams -lboost_thread -ldw -lunwind -Wl,-rpath,/home/user885/untitled/build But I get this linker error -- libXYZMaster.so: undefined reference to `_Ux86_64_step' libXYZMaster.so: undefined reference to `_Ux86_64_init_local' libXYZMaster.so: