Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86545 - ffmpeg-0.4.7 emerge fails due to undefined references in libavcodec.so
Summary: ffmpeg-0.4.7 emerge fails due to undefined references in libavcodec.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-24 10:07 UTC by nicktastic
Modified: 2005-03-24 10:28 UTC (History)
0 users

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 nicktastic 2005-03-24 10:07:04 UTC
When merging ffmpeg 0.4.7 I receive the following error:

gcc -Wl,--warn-common -rdynamic -g  -o ffmpeg_g ffmpeg.o cmdutils.o -L./libavformat -lavformat -L./libavcodec -lavcodec -lm -lz -ldl -logg -lvorbis -lvorbisenc
./libavcodec/libavcodec.so: undefined reference to `bone'
./libavcodec/libavcodec.so: undefined reference to `w05'
./libavcodec/libavcodec.so: undefined reference to `wm1010'
./libavcodec/libavcodec.so: undefined reference to `ff_pw_3'
./libavcodec/libavcodec.so: undefined reference to `ff_pw_20'
./libavcodec/libavcodec.so: undefined reference to `d40000'
./libavcodec/libavcodec.so: undefined reference to `w20'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1

This happens on both of my Gentoo systems using both gcc 3.3 and gcc 3.4. Here is the output of emerge info on one of the systems:

zimbu:~$ sudo emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 18 2005, 13:02:21)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4m -fomit-frame-pointer -pipe -fprefetch-loop-arrays -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac aalib acl acpi aim alsa apache2 apm arts audiofile avi bash-completion bcmath berkdb bindist bitmap-fonts bonobo bzlib cdb cdparanoia cdr crypt cups curl dba dbm dga dio divx4linux dv dvd dvdr dvdread emacs emboss encode esd ethereal evo fam ffmpeg fftw flac flatfile font-server foomaticdb fortran freetype ftp gd gdbm gif gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal icq imagemagick imap imlib inifile ipv6 jabber java jpeg kde libg++ libwww mad maildir mbox mcal mhash mikmod mime mmap mmx mng mono motif mozilla mp3 mpeg mpi msn ncurses nls nptl offensive ofx ogg oggvorbis openal opengl oscar oss pam pcre pdflib perl php pic pie png pnp posix python qt quicktime readline real samba sdl session sharedext sharedmem sockets socks5 sox speex spell spl sse ssl svg svga sysfs sysvipc tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb usepackagedmakefiles vcd vhosts wxwindows xine xinerama xml xml2 xmms xosd xpm xprint xsl xv xvid yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY


Reproducible: Always
Steps to Reproduce:
1. emerge ffmpeg
2. Watch the magic happen.
Comment 1 nicktastic 2005-03-24 10:28:58 UTC
Well, I don't know what has changed (besides sync'ing this morning), but after days and days of failure, it now builds. ;-)