[MPlayer-users] faad.h: No such file or directory

Karl and Tanya Pizzolatto karlandtanya at earthlink.net
Fri Dec 6 03:33:02 CET 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Here are the lines (I) think are relevant
ad_faad.c:27: faad.h: No such file or directory 
... 
... 
... 
make[1]: *** [ad_faad.o] Error 1
make[1]: Leaving directory 
`/mnt/archive/library/computer/linux/keepers/src/v4l/mplayer/sources/CVS/MPlayer-20021205/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Error 2

I built mplayer successfully, when --disable-faad, and can successfully play 
mp4 (Sorenson3?) videos. (Apple switch ads).  But no audio, of course.

And, here's how I got there:

I used cvs snapshot MPlayer-20021205.tar.bz2

For codecs, first I deleted /usr/lib/win32 & /usr/lib/xanim.

Then put the contents
w32codec-lite.tar.bz2
w32codec.tar.bz2
qt6dlls.tar.bz2
qtextras.tar.bz2
(which I just downloaded from mplayerhq) in /usr/lib/win32 (in that order, so 
the "good" codecs from w32codecs... overwrite the "experimental" codecs from 
w32...lite...)

Then I got ffmpeg from CVS and put libavcodec in the source tree (per the 
instructions).

And, finally, extracted the files from xanimdlls.tar.bz2 (also just downloaded 
from mplayerhq) and put them in
/usr/lib/xanim/mods

Here is my ./configure:
./configure --enable-gui --enable-mmx2 --with-win32libdir=/usr/lib/win32 
- --with-reallibdir=/home/karlandtanya/Real/Codecs --disable-mga --enable-x11 
- --enable-xv --enable-zr --disable-sighandler --enable-qtx-codecs 
- --with-xanimlibdir=/usr/lib/xanim/mods --enable-faad --enable-mad

Full output of ./configure and make is about 1600 lines.  I've posted the 
parts I think are relevant.  If you want the whole thing, give me an email 
address and I'll attach files.

Here is the output of configure and make:

********************************************************************************

Detected operating system: Linux
Detected host architecture: i386
Checking for gcc version ... 2.95.3, ok
Checking for CPU vendor ... GenuineIntel (6:7:3)
Checking for CPU type ...  Pentium III (Katmai)
Checking for GCC & CPU optimization abilities ... i686
Checking for kernel support of mmx ... yes
Checking for kernel support of mmx2 ... yes
Checking for kernel support of sse ... yes
Checking for mtrr support ... yes
Checking for assembler (/usr/i386-slackware-linux/bin/as 2.12.90.0.9) ... ok
Checking for Linux kernel version ... 2.4.18, ok
Checking for awk ... gawk
Checking for extra headers ... none
Checking for extra libs ... none
Checking for i18n ... yes
Checking for setlocale() ... yes
Checking for language ... using en
Checking for enable sighandler ... no
Checking for runtime cpudetection ... no
Checking for restrict keyword ... __restrict
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes (using -lnsl)
Checking for inet_pton() ... yes (using -lnsl)
Checking for inttypes.h (required) ... yes
Checking for word size ... 32
Checking for stddef.h ... yes
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for alloca.h ... yes
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using -lpthread)
Checking for sys/soundcard.h ... yes
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... yes
Checking for dvd.h ... no
Checking for BSDI dvd.h ... no
Checking for HPUX SCSI header ... no
Checking for userspace SCSI headers (Solaris) ... no
Checking for termcap ... yes
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for linux devfs ... no
Checking for scandir() ... yes
Checking for strsep() ... yes
Checking for vsscanf() ... yes
Checking for sys/sysinfo.h ... yes
Checking for 3dfx ... yes
Checking for tdfxfb ... yes
Checking for DirectFB headers presence ... not found
Checking for DirectFB ... no
Checking for X11 headers presence ... yes (using /usr/include)
Checking for X11 libs presence ... yes (using /usr/X11R6/lib)
Checking for X11 ... yes
...
...
...
Checking for FAAD (AAC) support ... yes
...
...
...
Checking for QTX codecs ... yes
...
...
...
  Byte order: Little Endian
  Optimizing for: i686 mmx mmx2 sse mtrr
  
  Enabled optional drivers:
    Input: streaming tv-v4l tv cdda mpdvdkit2 vcd 
    Codecs: qtx divx5linux libdv libavcodec real xanim dshow/dmo win32 
libvorbis libmad 
    Audio output: arts oss sdl mpegpes(file) 
    Video output: xvidix zr sdl vesa gif89a jpeg png mpegpes(file) fbdev svga 
aa opengl dga xv x11 tdfxfb 3dfx 
  Disabled optional drivers:
    Input: tv-bsdbt848 dvdnav dvdread dvdcss 
    Codecs: divx4linux xvid liblzo 
    Audio output: sgi sun alsa dxr2 nas win32 
    Video output: bl dxr3 dxr2 directx ggi xmga mga directfb 

********************************************************************************

And here is the output of make:
...
...
...
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 
`/mnt/archive/library/computer/linux/keepers/src/v4l/mplayer/sources/CVS/MPlayer-20021205/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Error 2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE98AVnTHYRdwouzJMRAvPpAJ9c2QhOlKz23+mQfEp+c7clVbZj5ACeKVX8
RuEK+6nuAkec3oT5+5I5SCs=
=rtS6
-----END PGP SIGNATURE-----




More information about the MPlayer-users mailing list