[vlc-devel] [PATCH] sndio: Link with math library.

Tristan Matthews tmatth at videolan.org
Sat Aug 20 00:30:03 CEST 2016


Hi,

On Fri, Aug 19, 2016 at 3:25 PM, Vinson Lee <vlee at freedesktop.org> wrote:

> This patch fixes this build error.
>
> audio_output/.libs/sndio.o: In function `VolumeSet':
> modules/audio_output/sndio.c:271: undefined reference to `lroundf'
>
>
Thanks for the patch, but I actually just landed the same fix:
http://git.videolan.org/?p=vlc.git;a=commit;h=34dc732bad34fcfaab713f6de250dcaec83c03a3

Best,
Tristan


> Signed-off-by: Vinson Lee <vlee at freedesktop.org>
> ---
>  modules/audio_output/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/modules/audio_output/Makefile.am b/modules/audio_output/
> Makefile.am
> index ec31a06..4a6d0b7 100644
> --- a/modules/audio_output/Makefile.am
> +++ b/modules/audio_output/Makefile.am
> @@ -86,7 +86,7 @@ aout_LTLIBRARIES += libkai_plugin.la
>  endif
>
>  libsndio_plugin_la_SOURCES = audio_output/sndio.c
> -libsndio_plugin_la_LIBADD = -lsndio
> +libsndio_plugin_la_LIBADD = -lsndio $(LIBM)
>  if HAVE_SNDIO
>  aout_LTLIBRARIES += libsndio_plugin.la
>  endif
> --
> 2.8.1
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160819/dd60d0bf/attachment.html>


More information about the vlc-devel mailing list