libdvbpsi doesn't compile under OS X

Arnaud de Bossoreille de Ribou bozo at via.ecp.fr
Fri Apr 12 13:55:40 CEST 2002


On Thu, Apr 11, 2002, Christophe Massiot wrote:
> libdvbpsi currently doesn't compile under OS X. The first problem is 
> simple : we should add -no-cpp-precomp to CFLAGS. The second problem 
> is :
> 
> cc -dynamiclib -flat_namespace -undefined suppress -o 
> .libs/libdvbpsi.0.0.1.dylib  dvbpsi.lo psi.lo descriptor.lo -all_load 
> tables/.libs/lib_tables.al  tables/.libs/lib_tables.al -lc 
> -install_name  /usr/local/lib/libdvbpsi.0.dylib 
> -compatibility_version 1 -current_version 1.1
> ld: multiple definitions of symbol _dvbpsi_AttachPAT
> tables/.libs/lib_tables.al(pat.lo) definition of _dvbpsi_AttachPAT in 
> section (__TEXT,__text)
> tables/.libs/lib_tables.al(pat.lo) definition of _dvbpsi_AttachPAT in 
> section (__TEXT,__text)
> ld: multiple definitions of symbol _dvbpsi_DecodePATSections
> tables/.libs/lib_tables.al(pat.lo) definition of 
> _dvbpsi_DecodePATSections in section (__TEXT,__text)
> tables/.libs/lib_tables.al(pat.lo) definition of 
> _dvbpsi_DecodePATSections in section (__TEXT,__text)

It looks like a bug of the libtool script because it appears only once in
the command line.

I'm going to investigate this, maybe we should link to all the .lo files
instead of the .la file.

-- 
Arnaud de Bossoreille de Ribou - http://www.via.ecp.fr/~bozo/

-- 
This is the libdvbpsi-devel mailing-list, see http://www.videolan.org/libdvbpsi/
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 libdvbpsi-devel mailing list