[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] tests: Link virusbmock with probes



On 02/10/2017 02:04 PM, John Ferlan wrote:
> Seeing similar error to commit id '997be5c27' with the inability
> to find the libvirt_event_poll_purge_timeout_semaphore symbol
> causing a virusbtest failure.
> 
> Signed-off-by: John Ferlan <jferlan redhat com>
> ---
> 
>  This is a really strange one... I applied Michal's patches, the error
> occurred. I rebuilt cleanly and the error went away. This morning after
> apply the top of tree, the error returns. Just changing the Makefile.am
> doesn't always "clean" up the error, but after a make clean and rebuild
> the error goes away.  Perhaps has to do with some build dependency on
> the virusbmock that virusbtest has that somehow isn't being recognized
> in the Makefile.am... But I'm not sure what magic incantation needs to
> be levied at the Makefile.am in order to tell it to do the right thing!
> 
>  tests/Makefile.am | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index 7149a86..32a7282 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -1204,6 +1204,7 @@ virusbmock_la_SOURCES = virusbmock.c
>  virusbmock_la_CFLAGS = $(AM_CFLAGS)
>  virusbmock_la_LDFLAGS = $(MOCKLIBS_LDFLAGS)
>  virusbmock_la_LIBADD = $(MOCKLIBS_LIBS) \
> +	$(PROBES_O) \
>  	../src/libvirt_util.la
>  
>  virnetdevbandwidthmock_la_SOURCES = \
> 

ACK.

I've installed systemtap and can confirm this fixes the problem.

Michal


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]