On 02/22/2013 10:55 AM, Dwight Engen wrote:
> got link error liblxc.so: undefined reference to `clock_gettime'
> clock_gettime is used by lxclock.c and is in librt, or bionic libc.
> 
> Signed-off-by: Dwight Engen <dwight.en...@oracle.com>

Acked-by: Stéphane Graber <stgra...@ubuntu.com>

And pushed to staging. Thanks.

> ---
>  configure.ac | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/configure.ac b/configure.ac
> index a133d16..88959ff 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -289,6 +289,7 @@ AC_CHECK_FUNCS([fgetln],
>  
>  # Check for some libraries
>  AC_SEARCH_LIBS(sem_open, [rt pthread])
> +AC_SEARCH_LIBS(clock_gettime, [rt])
>  
>  # Check for some standard binaries
>  AC_PROG_GCC_TRADITIONAL
> 


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to