Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162969 - media-video/ffmpeg --as-needed failed
Summary: media-video/ffmpeg --as-needed failed
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-20 19:11 UTC by Cédric Krier
Modified: 2007-01-20 22:22 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 Cédric Krier gentoo-dev 2007-01-20 19:11:23 UTC
ffmpeg-0.4.9_p20061016 failed to compile with LDFLAGS="-Wl,--as-needed"

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-20 19:52:40 UTC
Hmmm...
Comment 2 Cédric Krier gentoo-dev 2007-01-20 21:15:05 UTC
here the output of configure:

check_func lame_init
check_ld
check_cc
BEGIN /var/tmp/portage/ffmpeg-0.4.9_p20061016/temp/ffmpeg-conf-19914-3907-7099.c
     1  extern int lame_init();
     2  int main(){
     3      lame_init();
     4  }
END /var/tmp/portage/ffmpeg-0.4.9_p20061016/temp/ffmpeg-conf-19914-3907-7099.c
i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -fomit-frame-pointer -pipe -fomit-frame-pointer -fomit-frame-pointer -pthread -c -o /var/tmp/portage/ffmpeg-0.4.9_p20061016/temp/ffmpeg-con
f-3074-3907-29034.o /var/tmp/portage/ffmpeg-0.4.9_p20061016/temp/ffmpeg-conf-19914-3907-7099.c
i686-pc-linux-gnu-gcc -Wl,--warn-common -Wl,--as-needed -pthread -o /var/tmp/portage/ffmpeg-0.4.9_p20061016/temp/ffmpeg-conf-24290-3907-19986 /var/tmp/portage/ffmpeg-0.4.9_p20061016/
temp/ffmpeg-conf-3074-3907-29034.o -lm -lz -lmp3lame
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `log'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `sqrt'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `ceil'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `floor'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `sqrtf'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `cos'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `sin'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `pow'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `log10'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `exp'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `tan'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `atan'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `floorf'
collect2: ld returned 1 exit status
distcc[26697] ERROR: compile (null) on localhost failed
ERROR: LAME not found
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-20 21:27:28 UTC
emerge -pv media-sound/lame output, please.
Comment 4 Cédric Krier gentoo-dev 2007-01-20 21:42:28 UTC
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-sound/lame-3.96.1  USE="gtk -debug" 0 kB 

Total size of downloads: 0 kB
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-01-20 21:45:48 UTC
Then try w/ 3.97; generally stable and --as-needed doesn't go together.
Comment 6 Cédric Krier gentoo-dev 2007-01-20 22:22:33 UTC
It works with 3.97
Sorry