On 02/18/2013 06:23 PM, Stéphane Graber wrote:
> dpkg spotted that we're not explicitly linking against pthread even though
> we use some of its symbols (sem_*).

uh ? wait.

We shouldn't link against the lib pthread.

I don't think sem_* is a symbol coming from the pthread library.

Could you give the output of dpkg ?

>
> Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
> ---
>  src/lxc/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am
> index 8974ca9..a0077aa 100644
> --- a/src/lxc/Makefile.am
> +++ b/src/lxc/Makefile.am
> @@ -115,7 +115,7 @@ liblxc_so_LDFLAGS = \
>  liblxc_so_LDADD = $(CAP_LIBS) $(APPARMOR_LIBS) $(SECCOMP_LIBS)
>  
>  if !IS_BIONIC
> -liblxc_so_LDADD += -lutil -lrt
> +liblxc_so_LDADD += -lutil -lrt -lpthread
>  endif
>  
>  bin_SCRIPTS = \


------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to