Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83654 - vlc-0.8.1 doesn't compile with ffmpeg-0.4.9_p20050226
Summary: vlc-0.8.1 doesn't compile with ffmpeg-0.4.9_p20050226
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-01 03:01 UTC by Prakash Punnoor
Modified: 2005-03-01 15:45 UTC (History)
1 user (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 Prakash Punnoor 2005-03-01 03:02:00 UTC
With previous ffmpeg it worked, now I get:

i686-pc-linux-gnu-g++ -Wsign-compare -Wsign-compare -Wall -march=athlon-xp -mtune=athlon-xp -O2 -pipe -frename-registers -fomit-frame-pointer -fweb -pipe -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-z,combreloc -Wl,--relax -o vlc src/vlc-vlc.o lib/libvlc.a ./modules/misc/memcpy/libmemcpymmx.a ./modules/video_chroma/libi420_rgb_mmx.a ./modules/video_chroma/libi422_yuy2_mmx.a ./modules/video_chroma/libi420_ymga_mmx.a ./modules/video_chroma/libi420_yuy2_mmx.a ./modules/misc/memcpy/libmemcpymmxext.a ./modules/misc/memcpy/libmemcpy3dn.a ./modules/demux/libmkv.a ./modules/codec/ffmpeg/libffmpeg.a ./modules/codec/libtheora.a -L/usr/lib -lrt -lpthread -ldl -lm -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-z,combreloc -Wl,--relax -lz -lmatroska -lebml -lavformat -lz -lavcodec -lm -ltheora -logg
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x359): In function `InitPostproc__ffmpeg':
: undefined reference to `pp_get_context'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x55c): In function `PostprocPict__ffmpeg':
: undefined reference to `pp_postprocess'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x5c6): In function `ClosePostproc__ffmpeg':
: undefined reference to `pp_free_mode'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x5d4): In function `ClosePostproc__ffmpeg':
: undefined reference to `pp_free_context'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x638): In function `PPQCallback':
: undefined reference to `pp_get_mode_by_name_and_quality'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x6da): In function `PPQCallback':
: undefined reference to `pp_get_mode_by_name_and_quality'
collect2: ld gab 1 als Ende-Status zur
Comment 1 Prakash Punnoor 2005-03-01 03:02:00 UTC
With previous ffmpeg it worked, now I get:

i686-pc-linux-gnu-g++ -Wsign-compare -Wsign-compare -Wall -march=athlon-xp -mtune=athlon-xp -O2 -pipe -frename-registers -fomit-frame-pointer -fweb -pipe -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-z,combreloc -Wl,--relax -o vlc src/vlc-vlc.o lib/libvlc.a ./modules/misc/memcpy/libmemcpymmx.a ./modules/video_chroma/libi420_rgb_mmx.a ./modules/video_chroma/libi422_yuy2_mmx.a ./modules/video_chroma/libi420_ymga_mmx.a ./modules/video_chroma/libi420_yuy2_mmx.a ./modules/misc/memcpy/libmemcpymmxext.a ./modules/misc/memcpy/libmemcpy3dn.a ./modules/demux/libmkv.a ./modules/codec/ffmpeg/libffmpeg.a ./modules/codec/libtheora.a -L/usr/lib -lrt -lpthread -ldl -lm -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-z,combreloc -Wl,--relax -lz -lmatroska -lebml -lavformat -lz -lavcodec -lm -ltheora -logg
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x359): In function `InitPostproc__ffmpeg':
: undefined reference to `pp_get_context'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x55c): In function `PostprocPict__ffmpeg':
: undefined reference to `pp_postprocess'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x5c6): In function `ClosePostproc__ffmpeg':
: undefined reference to `pp_free_mode'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x5d4): In function `ClosePostproc__ffmpeg':
: undefined reference to `pp_free_context'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x638): In function `PPQCallback':
: undefined reference to `pp_get_mode_by_name_and_quality'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x6da): In function `PPQCallback':
: undefined reference to `pp_get_mode_by_name_and_quality'
collect2: ld gab 1 als Ende-Status zurück


media-video/vlc-0.8.1  -3dfx +X +a52 -aalib +alsa (-altivec) -arts -bidi +cdda +cddb -cdio -debug +dts +dvb +dvd -esd +faad -fbcon +ffmpeg +flac +freetype -ggi -gnutls -hal -httpd -joystick -libcaca -lirc -live +mad +matroska -mozilla +mpeg +ncurses +nls +ogg +oggvorbis -opengl* +oss -stream -svg -svga +theora +utf8 -v4l +vcd -vlm +wxwindows -xosd +xv

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.18 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20050125-r0,
2.6.11-rc5-ck1 i686)
=================================================================
System uname: 2.6.11-rc5-ck1 i686 AMD Athlon(tm)
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 10:16:45)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.10
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -frename-registers
-fomit-frame-pointer -fweb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -frename-registers
-fomit-frame-pointer -fweb -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache confcache digest distlocks prelink
sandbox sfperms"
GENTOO_MIRRORS=" ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-z,combreloc
-Wl,--relax"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/fluidportage/trunk /usr/lportage"
SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage/"
USE="x86 3dnow 3dnowex S3TC X a52 aac acpi acpi4linux alsa apm audiofile avi
berkdb bitmap-fonts bzip2 cdda cddb cdparanoia cdr crypt cups curl dga
divx4linux dts dv dvb dvd dvdr dvdread edl emboss encode ext-png ext-zlib faac
faad fam ffmpeg fftw flac foomaticdb freetype gd gdbm gif gimp gimpprint gpm gs
gtk gtk2 ieee1394 imagemagick imlib ipv6 ithreads java javascript jpeg jpeg2k
kde kdeenablefinal ldap libg++ libwww lm_sensors lzo mad matroska mmx mmx2 mng
monkey motif moznocompose mpeg mpeg2 mpi ncurses network nls nocd nptl nptlonly
nvidia ogg oggvorbis openal opengl openssh oss pam pdflib perl pic png povray
ppds python qt qtmt quicktime readline real rtc samba scanner sdl smime speex
spell sqlite sse ssl tcpd tetex theora threads tiff transcode truetype
truetype-fonts type1-fonts unicode usb utf8 vcd videos vorbis wmf wxwindows xfs
xine xinetd xml xml2 xv xvid xvmc yv12 zlib linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET
Comment 2 Peter Sääf 2005-03-01 09:00:09 UTC
Confirmed.
Comment 3 Erik McNellis 2005-03-01 15:30:42 UTC
Hi,

this error is due to a slight typo in the ebuild configure script: When you emerge ffmpeg the ./configure string is "...--emable=pp...", which of course breaks the option, and in turn, vlc.

A manual compile with "./configure ...--enable=pp..." solves the problem.

Comment 4 Luca Barbato gentoo-dev 2005-03-01 15:45:30 UTC
Already reported in another bug and already fixed.

Thanks for your help anyway