robopeak / rplidar_ros

BSD 2-Clause "Simplified" License
453 stars 370 forks source link

solving linking issue: CMakeFiles/rplidarNode.dir/sdk/src/arch/linux/timer.cpp.o: undefined reference to symbol 'clock_gettime@@GLIBC_2.4' in rpi2 #23

Closed pabloinigoblasco closed 8 years ago

pabloinigoblasco commented 8 years ago

There is a linking error for this code on rpi2 and in theory may appear in other ARM-based systems. It is solved in this pull request.

kintzhao commented 8 years ago

I test it Ok at Raspberry Pi2 (ubuntu14.04). which platform you run rplidar on?

kintzhao commented 8 years ago

i will close this PR. i will reopen it if you have any other message.