-
Notifications
You must be signed in to change notification settings - Fork 53
Closed
Description
Hi,
I ran make -j build_franka=1 and encoutered errors. Here is an excerpt:
Scanning dependencies of target zmq-client
[ 82%] Building CXX object CMakeFiles/zmq-client.dir/franka-interface/src/test/test_zmq.cpp.o
[ 82%] Built target yaml-cpp-sandbox
[ 83%] Linking CXX shared library ../../libfranka.so
[ 83%] Built target franka
[ 83%] Linking CXX executable zmq-client
/usr/bin/ld: libshared_protobuf.a(franka_robot_state.pb.cc.o): in function `FrankaGripperStateMessage_Duration::GetMetadata() const':
franka_robot_state.pb.cc:(.text+0x22): undefined reference to `google::protobuf::internal::AssignDescriptors(google::protobuf::internal::DescriptorTable const*, bool)'
/usr/bin/ld: libshared_protobuf.a(franka_robot_state.pb.cc.o): in function `FrankaGripperStateMessage::GetMetadata() const':
franka_robot_state.pb.cc:(.text+0x52): undefined reference to `google::protobuf::internal::AssignDescriptors(google::protobuf::internal::DescriptorTable const*, bool)'
/usr/bin/ld: libshared_protobuf.a(franka_robot_state.pb.cc.o): in function `FrankaRobotStateMessage_Errors::GetMetadata() const':
franka_robot_state.pb.cc:(.text+0x82): undefined reference to `google::protobuf::internal::AssignDescriptors(google::protobuf::internal::DescriptorTable const*, bool)'
/usr/bin/ld: libshared_protobuf.a(franka_robot_state.pb.cc.o): in function `FrankaRobotStateMessage_Duration::GetMetadata() const':
franka_robot_state.pb.cc:(.text+0xb2): undefined reference to `google::protobuf::internal::AssignDescriptors(google::protobuf::internal::DescriptorTable const*, bool)'
...
/usr/bin/ld: libshared_protobuf.a(franka_robot_state.pb.cc.o): in function `char const* google::protobuf::internal::ParseContext::ParseMessage<FrankaRobotStateMessage_Errors>(FrankaRobotStateMessage_Errors*, char const*)':
franka_robot_state.pb.cc:(.text._ZN6google8protobuf8internal12ParseContext12ParseMessageI30FrankaRobotStateMessage_ErrorsEEPKcPT_S6_[_ZN6google8protobuf8internal12ParseContext12ParseMessageI30FrankaRobotStateMessage_ErrorsEEPKcPT_S6_]+0x95): undefined reference to `google::protobuf::internal::ReadSizeFallback(char const*, unsigned int)'
/usr/bin/ld: libshared_protobuf.a(franka_robot_state.pb.cc.o): in function `_GLOBAL__sub_I__FrankaGripperStateMessage_Duration_default_instance_':
franka_robot_state.pb.cc:(.text.startup+0x3a): undefined reference to `google::protobuf::internal::AddDescriptors(google::protobuf::internal::DescriptorTable const*)'
collect2: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/zmq-client.dir/build.make:87: zmq-client] Error 1
make[2]: *** [CMakeFiles/Makefile2:308: CMakeFiles/zmq-client.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 84%] Linking CXX static library libspdlog.a
[ 84%] Built target spdlog
make[1]: *** [Makefile:152: all] Error 2
make: *** [Makefile:42: build] Error 2
Any idea what is causing the issue? Thank you!
Metadata
Metadata
Assignees
Labels
No labels