Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to change glibc linked to?

Hi, I always get this error:
/usr/bin/ld: CMakeFiles/mechanum_steering_node.dir/__/drive/interface/SocketCAN.cpp.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
When I add Thread as REQUIRED_COMPONENTS and target_link_libraries it works again for this specific package. How can I solve this globally?

How to change glibc linked to?

Hi, I always get this error:
/usr/bin/ld: CMakeFiles/mechanum_steering_node.dir/__/drive/interface/SocketCAN.cpp.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
When I add Thread as REQUIRED_COMPONENTS and target_link_libraries it works again for this specific package. How can I solve this globally?

How to change glibc linked to?

Hi, I always get this error:

 /usr/bin/ld: CMakeFiles/mechanum_steering_node.dir/__/drive/interface/SocketCAN.cpp.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
 

When I add Thread as REQUIRED_COMPONENTS and target_link_libraries it works again for this specific package. How can I solve this globally?