Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19119 - Compliling mplayer 0.90_rc5 and mplayer 0.90 with --enable-faad bails
Summary: Compliling mplayer 0.90_rc5 and mplayer 0.90 with --enable-faad bails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 17342
Blocks:
  Show dependency tree
 
Reported: 2003-04-10 22:06 UTC by Chris Slater
Modified: 2003-04-27 10:51 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Slater 2003-04-10 22:06:11 UTC
What I have here is a need to have FAAD support in mplayer (I want to play the
Matrix: Reloaded trailer, and that requires FAAD audio support.) and the compile
bails: "ad_faad.c:27:18: faad.h: No such file or directory".

Reproducible: Always
Steps to Reproduce:
1.place --enable-faad in the ebuild "myconfig" options
2.Start the emerge process

Actual Results:  
gcc -c -O4 -march=athlon-tbird -mcpu=athlon-tbird -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.
-Inative -I.. -I../libmpdemux -I../loader -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-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
`/var/tmp/portage/mplayer-0.90_rc5/work/MPlayer-0.90rc5/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Error 2
 
!!! ERROR: media-video/mplayer-0.90_rc5 failed.
!!! Function src_compile, Line 245, Exitcode 2
!!! (no error message)


Expected Results:  
Compile should of continued and completed

root@localhost mplayer # emerge info

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gentoo-r2 i686 AMD Athlon(tm) processor
GENTOO_MIRRORS="ftp://ftp.ibiblio.org/pub/linux/distributions/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi crypt cups encode gif jpeg kde libg++ libwww
mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv
zlib gtkhtml gdbm berkdb slang readline bonobo svga java guile X sdl gpm tcpd
pam ssl
perl python esd imlib oggvorbis gnome gtk qt motif opengl mozilla"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Chris Slater 2003-04-10 22:08:03 UTC
Oops forgot the version!
Version is 0.90_rc5, and I have had the same in 0.90.
Comment 2 Chris Slater 2003-04-10 22:08:41 UTC
uh... never mind /me tired...
Comment 3 christian gut 2003-04-11 07:19:06 UTC
do you have a solution?
i am on compiling faad2 now (ebuild here in bugzilla) and then ill try to recompile mplayer. perhaps it will work then...
Comment 4 Don Seiler (RETIRED) gentoo-dev 2003-04-11 11:07:58 UTC
Yes I compiled the faad2 ebuild that was posted on this bugzilla and then recompiled the same old mplayer-0.90 ebuild that is in portage and it picked up faad just fine and the Matrix trailer plays great.  There were some wierd shade lines on the right side but I got my Matrix fix in.
Comment 5 christian gut 2003-04-11 11:42:37 UTC
great. works for me. compiled faad2 here from bugzilla and then added "--enable-faad" to the mplayer-0.90_rc5.ebuild.
Comment 6 Jason Andryuk 2003-04-11 22:51:23 UTC
"--enable-faad" is not needed if faad2 is already installed.  faad2 is autodetected if it is installed.  --enable-faad forces faad support to be compiled in even if faad2 is not present.  That results in the failed compile.
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-04-12 04:57:45 UTC
azarah: should this be done before 1.4 ?
Comment 8 Sven Vermeulen (RETIRED) gentoo-dev 2003-04-14 16:51:40 UTC
Same goes here. Installed faad2 and then recompiled mplayer without changes to mplayer's ebuild. Saw the trailer (and listened to it) without any troubles.
Comment 9 Alex Veber 2003-04-15 17:43:32 UTC
quicktime? (media-libs/faad2) in DEPEND should fix this one. 
Comment 10 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-15 18:47:47 UTC
No.  faad2 is a mpeg-2/4 audio decoding library.
Comment 11 Alex Veber 2003-04-15 19:23:10 UTC
Right, but the only flics that come with AAC audio are QT movies like animatrix... 
mpeg USE flag? I dont know... 
Comment 12 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-15 19:42:32 UTC
Yes, that is what we have been thinking ...
Comment 13 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-27 10:51:48 UTC
Changed the faad2 support in -r1 to be included if 'mpeg' in USE.