Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85952 - vlc-0.8.1 configure fails at ffmpeg test because of liba52
Summary: vlc-0.8.1 configure fails at ffmpeg test because of liba52
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-19 15:59 UTC by Horace Ip
Modified: 2005-03-22 09:25 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 Horace Ip 2005-03-19 15:59:11 UTC
checking postproc/postprocess.h usability... yes
checking postproc/postprocess.h presence... yes
checking for postproc/postprocess.h... yes
checking for avcodec_init in -lavcodec... no
configure: error: Could not find ffmpeg on your system: you may get it from http://ffmpeg.sf.net/ (cvs version is recommended). Alternatively you can use --disable-ffmpeg to disable the ffmpeg plugins.

config.log:
configure:23793: checking for avcodec_init in -lavcodec
configure:23823: gcc -o conftest -Wsign-compare -Wall  -pipe  -DSYS_LINUX   -lm
  conftest.c -lavcodec   >&5
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../libavcodec.so: undefined
reference to `a52_syncinfo'
collect2: ld returned 1 exit status

When the latest ~x86 ffmpeg (media-video/ffmpeg-0.4.9_p20050226-r2) links against liba52. vlc configure fails.
vlc's configure tests ffmpeg before liba52, therefore -la52 does not present in LIBS when configure tried to link against ffmpeg, resulting in an undefined symbol error.

may be add LIBS=-la52 when USE=a52 is set? or there is some clean way to fix the problem ? eg test a52 before ffmpeg ?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 michael perigard 2005-03-19 17:10:59 UTC
Just to confirm, having same issue. Will supply any logs if wanted.

ffmpeg-0.4.9_p20050226-r2
vlc-0.8.1
a52dec-0.7.4-r4

Comment 2 Chris White (RETIRED) gentoo-dev 2005-03-19 19:42:42 UTC
Fixed the a52 stuff in portage, the -l adding was being done in the wrong file.
 Added it to configure so it would apply to config.mak and trickle down to the
other makefiles.

This is fixed in ffmpeg-0.4.9_p20050226-r2 btw.
Comment 3 michael perigard 2005-03-19 22:27:37 UTC
Excuse my ignorance. You say this is fixed in -r2? I'm using -r2 and I believe Horace says he is as well.

I don't exactly understand what you say the resolution is. Using the versions I mentioned (which are the latest versions in ~x86), I get exactly the same error in configuration as Horace did.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-22 09:25:46 UTC
They weren't revision-bumped.
Just re-emerge ffmpeg and it then vlc will be fixed.