libdvbpsi doesn't compile under OS X

Christophe Massiot massiot at via.ecp.fr
Thu Apr 11 23:16:28 CEST 2002


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)

[...]

Any idea why tables/.libs/lib_tables.al is written twice ? Removing 
one occurrence solves the problem.

-- 
Christophe Massiot.

-- 
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