[MPlayer-users] build-error - latest cvs (faad)

Rune Zedeler rz at daimi.au.dk
Mon Apr 28 16:40:33 CEST 2003


I am running on a RH7.3 laptop with gcc3.2.2.
Configuring latest cvs (or 0.90) with

./configure --enable-faad --enable-qtx-codecs

gives no configure errors, but make ends up complaining with

gcc3 -c -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math 
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I. -Inative -I.. -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:173: warning: assignment makes pointer from integer without a cast
ad_faad.c:179: request for member `bytesconsumed' in something not a 
structure or union
ad_faad.c:182: request for member `bytesconsumed' in something not a 
structure or union
ad_faad.c:183: request for member `bytesconsumed' in something not a 
structure or union
ad_faad.c:186: request for member `error' in something not a structure 
or union
ad_faad.c:191: `FAAD_MIN_STREAMSIZE' undeclared (first use in this function)
ad_faad.c:198: warning: assignment makes pointer from integer without a cast
ad_faad.c:205: request for member `error' in something not a structure 
or union
ad_faad.c:207: request for member `error' in something not a structure 
or union
ad_faad.c:208: request for member `samples' in something not a structure 
or union
ad_faad.c:213: request for member `samples' in something not a structure 
or union
ad_faad.c:214: request for member `samples' in something not a structure 
or union
ad_faad.c:215: request for member `samples' in something not a structure 
or union
make[1]: *** [ad_faad.o] Error 1
make[1]: Leaving directory `/home/rz/mplayer/main/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Error 2
[rz at localhost main]$



Any help appreciated.

-Rune



More information about the MPlayer-users mailing list