[MPlayer-users] Compile Error - ad_faad.c

Chris Frederick cdf123 at cdf123.com
Fri Apr 11 07:32:46 CEST 2003


REQUIRED INFO:
Linux distribution: Mandrake 9.1 Downloaded
kernel version: 2.4.21-0.13mdk
libc version: 2.3.1
X version: 4.3.0
gcc version: 3.2.2
ld versions: 2.13.90.0.18 20030121
binutils version: 2.13.90.0.18 20030121

HARDWARE:

#cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 11
model name      : Intel(R) Pentium(R) III Mobile CPU      1133MHz
stepping        : 1
cpu MHz         : 1129.600
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 mmx fxsr sse
bogomips        : 2254.43

Video Card: ATI Radeon Mobility
Driver: radeon
Sound Card:  Intel Corp. 82801CA/CAM AC'97 Audio (rev 01)

#./configure --enable-win32 --enable-qtx-codecs --enable-faad
#make
gcc -c -O4 -march=pentium3 -mcpu=pentium3 -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: In function `init':
ad_faad.c:90: warning: passing arg 3 of `faacDecInit' makes integer from
pointer without a cast
ad_faad.c:90: warning: passing arg 4 of `faacDecInit' from incompatible
pointer type
ad_faad.c:90: too few arguments to function `faacDecInit'
ad_faad.c: In function `decode_audio':
ad_faad.c:173: too few arguments to function `faacDecDecode'
ad_faad.c:198: too few arguments to function `faacDecDecode'
make[1]: *** [ad_faad.o] Error 1
make[1]: Leaving directory `/usr/src/mplayer-cvs/main/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Error 2


I've attached the config.h and config.mak files.  I downloaded the faad2
cvs source and installed it, following the directions in
/DOCS/codecs.html for the AAC codecs.  MPlayer didn't detect the new
codecs, so I looked through the output, it mentioned that this was a
compile time option:

==========================================================================
Requested audio codec family [faad] (afm=faad) not available (enable it
at compilation)
*** Try to upgrade /home/cdf123/.mplayer/codecs.conf from
etc/codecs.conf
*** If it still does not work, read DOCS/codecs.html!
Cannot find codec for audio format 0x6134706D.
==========================================================================

But the built in AAC/faad2 codec isn't compiling.  Can anyone give me a
hand at getting this working?

-- 
Chris Frederick <cdf123 at cdf123.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.h
Type: text/x-chdr
Size: 11918 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20030411/01968e87/attachment.h>
-------------- next part --------------
# -------- Generated by configure -----------

LANG = C
LANGUAGES = en
TARGET_OS = Linux
DESTDIR =
prefix = $(DESTDIR)/usr/local
BINDIR = $(DESTDIR)/usr/local/bin
DATADIR = $(DESTDIR)/usr/local/share/mplayer
MANDIR = $(DESTDIR)/usr/local/man
CONFDIR = $(DESTDIR)/usr/local/etc/mplayer
LIBDIR = $(DESTDIR)/usr/local/lib
#AR = ar
CC = gcc
AWK = mawk
RANLIB = ranlib
INSTALL = install
# OPTFLAGS = -O4   -march=pentium3 -mcpu=pentium3 -pipe -fomit-frame-pointer -ffast-math
OPTFLAGS = -O4 -march=pentium3 -mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
EXTRA_INC =  
STRIPBINARIES = yes



STREAMING = yes
STREAMING_LIVE_DOT_COM = no
STREAMING_LIB = -lnsl 
DVBIN = no
VIDIX = yes
SHARED_PP = no
CONFIG_PP = yes
CONFIG_RISKY = yes
LIBMENU = no
I18NLIBS = 

OPENDIVX = no

UNRARLIB = yes

PNG = yes
JPEG = yes
GIF = yes

EXTRA_LIB = 
Z_LIB =   -lz
HAVE_MLIB = no
WIN32_LIB = 
STATIC_LIB = 

X11_INC = -I/usr/X11R6/include
X11DIR = -L/usr/X11R6/lib -lXext -lX11 -lnsl

# for libavcodec:
SRC_PATH=.

# video output
X_LIB = -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -lX11 -lnsl  -lnsl
GGI_LIB = 
MLIB_LIB =  
MLIB_INC = 
DXR2_INC = 
DVB_INC = 
PNG_LIB = -lpng -lz
JPEG_LIB = -ljpeg
GIF_LIB = -lungif
SDL_LIB = 
SVGA_LIB = 
AA_LIB = 

# audio output
ALSA_LIB = 
NAS_LIB = 
ARTS_LIB = 
ARTS_INC = 
ESD_LIB = -lesd -laudiofile -lm
ESD_INC = 
SGIAUDIO_LIB = 

# input/demuxer/codecs
TERMCAP_LIB = -ltermcap
LIRC_LIB = 
CSS_USE = no
CSS_LIB = -Llibmpdvdkit2 -lmpdvdkit
DVDKIT = no
DVDKIT2 = yes
DVDKIT_SHARED = no
SDL_INC = 
W32_DEP = loader/libloader.a
W32_LIB = loader/libloader.a
DS_DEP = loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a
DS_LIB = loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a
AV_DEP = 
AV_LIB = 
FAME = no
FAME_LIB = 
MP1E_DEP = 
MP1E_LIB = 
ARCH_LIB =   -lpthread -ldl  
XVID = no
XVID_LIB = 
DECORE_LIB = 
MENCODER = yes
ENCORE_LIB =   
DIRECTFB_INC = 
DIRECTFB_LIB = 
CDPARANOIA_INC = 
CDPARANOIA_LIB = 
FREETYPE_INC = -I/usr/include/freetype2
FREETYPE_LIB = -lfreetype -lz
FRIBIDI_INC = 
FRIBIDI_LIB = 
LIBLZO_LIB= 
MAD_LIB = 
VORBIS_LIB = -lvorbis -logg 
FAAD_LIB = -lfaad
SMBSUPPORT_LIB = 
XMMS_PLUGINS = no
XMMS_LIB = 
MACOSX = no
MACOSX_FRAMEWORKS = 

# --- Some stuff for autoconfigure ----
TARGET_ARCH_X86 = yes
TARGET_CYGWIN = no
TARGET_CPU=686
TARGET_MMX = yes
TARGET_MMX2 = yes
TARGET_3DNOW = no
TARGET_3DNOWEX = no
TARGET_SSE = yes
TARGET_ALTIVEC = no

# --- GUI stuff ---
GTKLIB =  
GLIBLIB =   
GTK_LIBS =   
GUI = no
DEBUG = -DDEBUG



More information about the MPlayer-users mailing list