Re: [Libguestfs] [PATCH 4/4] java: Link with gnulib to resolve missing hash_free symbol.

Pino Toscano
2018-08-22T10:56:47Z

On Tuesday, 14 August 2018 15:42:13 CEST Richard W.M. Jones
wrote:
> ---
>  java/Makefile.am | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/java/Makefile.am b/java/Makefile.am
> index 81c20f266..1bad9a853 100644
> --- a/java/Makefile.am
> +++ b/java/Makefile.am
> @@ -122,7 +122,8 @@ libguestfs_jni_la_CFLAGS = \
>  libguestfs_jni_la_LIBADD = \
>  	$(top_builddir)/common/structs/libstructs.la \
>  	$(top_builddir)/common/utils/libutils.la \
> -	$(top_builddir)/lib/libguestfs.la
> +	$(top_builddir)/lib/libguestfs.la \
> +	$(top_builddir)/gnulib/lib/libgnu.la

Hmm what's the exact error in this case? On which platform?
The java binding does not explicitly use the hash stuff from gnulib.

--
Pino Toscano