You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
When I'm trying to compile mineserver in ArchLinux x86_64 envorinoment, I get this:
[rz2k@Derneuca mineserver]$ make all
Linking CXX executable ../bin/mineserver
/usr/bin/ld: CMakeFiles/mineserver.dir/tools.cpp.o: undefined reference to symbol 'clock_gettime@@GLIBC_2.2.5'
/usr/bin/ld: note: 'clock_gettime@@GLIBC_2.2.5' is defined in DSO /usr/lib/librt.so.1 so try adding it to the linker command line
/usr/lib/librt.so.1: could not read symbols: Invalid operation
Hi,
When I'm trying to compile mineserver in ArchLinux x86_64 envorinoment, I get this:
This is easy fixable with:
Thanks EastByte@IRC for hint.
Is it possible to determine if linker needs librt in CMake scripts before compilation and make a workaround?
Thanks for this awesome project,
Best Regards, Dmitriy Beykun.
The text was updated successfully, but these errors were encountered: