[MPlayer-dev-eng] xvid support won't compile if divx5 headers present

Gabucino gabucino at mplayer.dev.hu
Sun Mar 10 09:53:21 CET 2002


$subject.

With DivX5's decore.h in /usr/include :

============ Checking for XviD/DivX4linux/DivX5linux/OpenDivX decore ==========

#include <decore.h>
int main(void) { (void) decore(0, 0, 0, 0);  return DEC_OPT_FRAME_311; }

gcc    /home/gabucino/tmp/mplayer-conf-28400-7368.c -o
        /home/gabucino/tmp/mplayer-conf-30446-7368.o -lm
        /home/gabucino/src/xvidcore/build/generic/libcore.a
/home/gabucino/tmp/mplayer-conf-28400-7368.c: In function 
ain':
/home/gabucino/tmp/mplayer-conf-28400-7368.c:2: `DEC_OPT_FRAME_311' undeclared
/home/gabucino/tmp/mplayer-conf-28400-7368.c:2: (Each undeclared identifier is
/home/gabucino/tmp/mplayer-conf-28400-7368.c:2: for each function it appears in

ldd /home/gabucino/tmp/mplayer-conf-30446-7368.o
lddlibc4: cannot read header from /home/gabucino/tmp/mplayer-conf-30446-7368.o


With DivX4's decore.h in /usr/include :

============ Checking for XviD/DivX4linux/DivX5linux/OpenDivX decore ==========

#include <decore.h>
int main(void) { (void) decore(0, 0, 0, 0);  return DEC_OPT_FRAME_311; }

gcc    /home/gabucino/tmp/mplayer-conf-3111-8242.c -o
        /home/gabucino/tmp/mplayer-conf-2173-8242.o -lm
        /home/gabucino/src/xvidcore/build/generic/libcore.a

ldd /home/gabucino/tmp/mplayer-conf-2173-8242.o 
        libm.so.6 => /lib/libm.so.6 (0x4001f000)
        libc.so.6 => /lib/libc.so.6 (0x40042000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: XviD (with /home/gabucino/src/xvidcore/build/generic/libcore.a)

-- 
Gabucino
"I think the developers placed this bug intentionally, so the GUI won't run
on specific systems. They are Debian-lovers, I see this from the docs." -- lama
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020310/2ebabf75/attachment.pgp>


More information about the MPlayer-dev-eng mailing list