[MPlayer-users] How do I compile faad support?

Eric Potter ericp at earthlink.net
Wed Dec 18 19:14:02 CET 2002


I suppose that I need to install a package but I don't know which
one.  I used this:

./configure --enable-qtx-codecs --enable-freetype --prefix=/usr
--enable-faad

But I get these errors:

.. -I../libmpdemux -I../loader  -D_GNU_SOURCE -o ad_faad.o ad_faad.c
ad_faad.c:27:18: faad.h: No such file or directory
ad_faad.c:36: parse error before "faac_hdec"
ad_faad.c:36: warning: data definition has no type or storage class
ad_faad.c:37: parse error before "faac_finfo"
ad_faad.c:37: warning: data definition has no type or storage class
ad_faad.c: In function `preinit':
ad_faad.c:42: `FAAD_MIN_STREAMSIZE' undeclared (first use in this
function)
ad_faad.c:42: (Each undeclared identifier is reported only once
ad_faad.c:42: for each function it appears in.)
ad_faad.c: In function `init':
ad_faad.c:56: `faacDecConfigurationPtr' undeclared (first use in this
function)
ad_faad.c:56: parse error before "faac_conf"
ad_faad.c:59: `faac_conf' undeclared (first use in this function)
ad_faad.c:71: `FAAD_FMT_16BIT' undeclared (first use in this function)
ad_faad.c:74: `FAAD_FMT_24BIT' undeclared (first use in this function)
ad_faad.c:77: `FAAD_FMT_32BIT' undeclared (first use in this function)
ad_faad.c: In function `decode_audio':
ad_faad.c:167: warning: assignment makes pointer from integer without a
cast
ad_faad.c:169: request for member `bytesconsumed' in something not a
structure or union
ad_faad.c:172: request for member `bytesconsumed' in something not a
structure or union
ad_faad.c:173: request for member `bytesconsumed' in something not a
structure or union
ad_faad.c:176: request for member `error' in something not a structure
or union
ad_faad.c:181: `FAAD_MIN_STREAMSIZE' undeclared (first use in this
function)
ad_faad.c:187: warning: assignment makes pointer from integer without a
cast
ad_faad.c:191: request for member `error' in something not a structure
or union
ad_faad.c:193: request for member `error' in something not a structure
or union
ad_faad.c:194: request for member `samples' in something not a structure
or union
ad_faad.c:199: request for member `samples' in something not a structure
or union
ad_faad.c:200: request for member `samples' in something not a structure
or union
ad_faad.c:201: request for member `samples' in something not a structure
or union
make[1]: *** [ad_faad.o] Error 1
make[1]: Leaving directory `/home/ericp/src/MPlayer-0.90rc1/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Error 2







More information about the MPlayer-users mailing list