zhuguoqiang / rfc5766-turn-server

Automatically exported from code.google.com/p/rfc5766-turn-server
0 stars 0 forks source link

Make fails due to bad CFLAGS #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download turnserver-1.5.2.6
2. ./configure
3. make

What is the expected output? 

Built turnserver

What do you see instead?

/usr/bin/ld: note: 'clock_gettime@@GLIBC_2.2.5' is defined in DSO 
/lib64/librt.so.1 so try adding it to the linker command line
/lib64/librt.so.1: could not read symbols: Invalid operation

What version of the product are you using? On what operating system?
turnserver-1.5.2.6 
Amazon linux 2012.09

Please provide any additional information below.

Adding '-lrt' to CFLAGS resolves the issue.

Original issue reported on code.google.com by d...@unfed.biz on 27 Feb 2013 at 7:45

GoogleCodeExporter commented 8 years ago
OK, thanks for the reporting. This is easy to fix.

Original comment by mom040...@gmail.com on 27 Feb 2013 at 8:31

GoogleCodeExporter commented 8 years ago
Fixed

Original comment by mom040...@gmail.com on 27 Feb 2013 at 9:49

GoogleCodeExporter commented 8 years ago
Thanks!

Original comment by d...@unfed.biz on 27 Feb 2013 at 11:36