[MPlayer-users] r29242 fails to compile

Stephen J. Butler stephen.butler at gmail.com
Sun May 3 05:17:23 CEST 2009


2009/5/2 Masaru Nomiya <nomiya at galaxy.dti.ne.jp>:
> Hello,
>
> In the Message;
>
>  Subject    : [MPlayer-users] r29242 fails to compile
>  Message-ID : <200905030332.53005.rvm3000 at ya.com>
>  Date & Time: Sun, 3 May 2009 03:32:52 +0200
>
> [RVM] == RVM <rvm3000 at ya.com> has written:
>
> RVM> cc -Wundef -Wdisabled-optimization -std=gnu99 -Wall -Wno-switch
> RVM> -Wpointer-arith-Wredundant-decls -O4 -march=k8 -mcpu=k8 -pipe -ffast-math
> RVM> -fomit-frame-pointer-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> RVM> -D_LARGEFILE64_SOURCE -I.  -D_REENTRANT -I/usr/include/directfb
> RVM> -I/usr/X11/include  -I/usr/include/SDL -D_REENTRANT -I/opt/kde3/include/artsc
> RVM> -pthread -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include
> RVM> -Ilibdvdread4  -I/usr/include/freetype2 -I/usr/include   -D__USE_UNIX98
> RVM> -D_GNU_SOURCE -DHAVE_CONFIG_H    -c -o libdvdread4/dvd_input.o
> RVM> libdvdread4/dvd_input.c
> RVM> libdvdread4/dvd_input.c:55:38: ../../msvc/contrib/dlfcn.c: No such file or
> [...]
> RVM> same scope
> RVM> libdvdread4/dvd_input.c:322: warning: previous declaration of `dlclose'
> RVM> make: *** [libdvdread4/dvd_input.o] Error 1
>
> RVM> This is with ./configure --disable-libdvdcss-internal --disable-tv
>
> I could compile.
> Try with option "--disable-dvdread-internal".
>
> Anyway, I got same error when compiling libdvdread.
>
> Maybe, dvd_input.c has got an error.

I've been seeing this on OS X 10.5.6 with fink. I configure with:
--extra-cflags='-I/sw/include' --extra-ldflags='-L/sw/lib'. I figured
that my fink libdvdread (libdvdread.3 v0.9.7-101.1) was older than the
internal libdvdread and that mplayer was pulling the header from the
wrong one. Anyway, adding --disable-dvdread-internal fixes it for me
too.


More information about the MPlayer-users mailing list