[vlc-devel] Re: Help compiling MacOS X vlc

Christophe Massiot massiot at via.ecp.fr
Fri Jan 10 00:27:00 CET 2003

À (At) 0:10 +0100 10/01/2003, Jean-Alexis Montignies écrivait (wrote) :

>Sorry if I trigger a FAQ here :).

Compilation of VLC is no longer a trivial matter and has never really 
been explained here.

>I'm trying to compile vlc in order to take a look on how to support 
>surround for multichannel sound interfaces. But I'll talk abou that 
>in a coming e-mail.

I'd say that Heiko Panther and jlj already did it, but I'll wait for your mail.

>I've installed the lib I downloaded Christophe Massiot posted 
>(thanks!), and got the last sources from cvs.
>Now when I try to compile, it works until the final link when I get 
>plenty of errors of the kind:
>ld: multiple definitions of symbol __dvdcss_error
>/sw/lib/libdvdcss.a(error.o) definition of __dvdcss_error in section 
>/sw/lib/libdvdcss.a(error.o) definition of __dvdcss_error in section 
>/sw/lib/libdvdcss.a(libdvdcss.o) definition of _dvdcss_close in 
>section (__TEXT,__text)
>/sw/lib/libdvdcss.a(libdvdcss.o) definition of _dvdcss_error in 
>section (__TEXT,__text)

I know why you get it, but I don't know how to fix it (except with 
--disable-dvdread --disable-dvdplay which may not be what you want).

[tech: libdvdread and libdvdplay are both statically linked to 
libdvdcss, and vlc statically links to libdvdread, libdvdplay and 
libdvdcss. Any idea ?]

>I have configured it with the --disable-plugins option, because if I 
>do not, it finds the headers for dlcompat and try to build with 
>plugin support without linking with the library dlcompat.

What do you mean by that ? What doesn't work, precisely ? I suggest 
you work on this issue, because it is the way to go.

Christophe Massiot.
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>

More information about the vlc-devel mailing list