[XviD-devel] MacOSX developers needed
Guillaume Morin
guillaume at morinfr.org
Mon Feb 10 14:28:04 CET 2003
Dans un message du 09 Feb à 16:33, ptk9417 écrivait :
> {Dynamic lib build settings}
> gcc -Wall -I../src/ -DARCH_IS_32BIT -DARCH_IS_BIG_ENDIAN
> -DARCH_IS_GENERIC xvid_bench.c -o xvid_bench_dyn -lxvidcore
>
> ===== test quant =====
> PLAINC - quant4_intra 71.314 usec crc=25180
> *** CRC ERROR! ***
Very weird. Is that reproducible ? It works fine here.
> [dual:Download/xvidcore/examples] paul% gcc -Wall -I../src/
> -DARCH_IS_32BIT -DARCH_IS_BIG_ENDIAN -DARCH_IS_GENERIC xvid_bench_mod.c
> -o xvid_bench_mod_dyn -lxvidcore
> ld: warning multiple definitions of symbol _get_intra_matrix_status
> /var/tmp//cctn8miN.o definition of _get_intra_matrix_status in
> section (__TEXT,__text)
> /usr/lib/libxvidcore.dylib(quant_matrix.o) definition of
> _get_intra_matrix_status
This patch fixes that problem (Edouard, please apply it to your tree) :
--- configure.in.old Mon Feb 10 13:36:19 2003
+++ configure.in Mon Feb 10 14:18:09 2003
@@ -247,7 +247,7 @@
;;
darwin*|raphsody*)
AC_MSG_RESULT([-dynamiclib])
- OS_LDFLAGS="-dynamiclib"
+ OS_LDFLAGS="-dynamiclib -flat_namespace"
CFLAGS="$CFLAGS -fno-common"
;;
beos)
--
Guillaume Morin <guillaume at morinfr.org>
5 years from now everyone will be running free GNU on their
200 MIPS, 64M SPARCstation-5 (Andy Tanenbaum, 30 Jan 1992)
More information about the XviD-devel
mailing list