Hello,

When compiling strongswan-5.1.0 on Fedora18, I get following error:

/usr/bin/ld: malloc_speed.o: undefined reference to symbol
'clock_gettime@@GLIBC_2.2'
/usr/bin/ld: note: 'clock_gettime@@GLIBC_2.2' is defined in DSO
/lib/librt.so.1 so try adding it to the linker command line
/lib/librt.so.1: could not read symbols: Invalid operation collect2: error:
ld returned 1 exit status make[2]: *** [malloc_speed] Error 1

I had to use the attached patch to get it compiled.

Thanks
Avesh

Attachment: malloc-speed-lrt.patch
Description: Binary data

_______________________________________________
Dev mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/dev

Reply via email to