[Lunar-bugs] [Lunar Linux Website 0000202]: ffmpeg did not build on x86_64; needs CFLAGS -fPIC
Lunar bug reports list
lunar-bugs at lunar-linux.org
Fri Mar 16 00:04:28 CET 2007
The following issue has been SUBMITTED.
======================================================================
http://bugs.lunar-linux.org/view.php?id=202
======================================================================
Reported By: neognomic
Assigned To: Striker
======================================================================
Project: Lunar Linux Website
Issue ID: 202
Category: Bug Tracker
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Affected URL: none
Refering URL:
Browser: Firefox
Browser Version: 2.0.0.2
======================================================================
Date Submitted: 03-16-2007 00:04 CET
Last Modified: 03-16-2007 00:04 CET
======================================================================
Summary: ffmpeg did not build on x86_64; needs CFLAGS -fPIC
Description:
I don't know if this is x86_64 specific or not but the error message
indicates it might be. I am including the abbreviated output(below) for
reference.
The error message indicated that the -fPIC should be passed to gcc. I
looked at the BUILD for ffmpeg and found that the ''-fPIC '' is there but
apparently commented-out:
#export CFLAGS="$CFLAGS -fPIC"
[snip]
I removed the comment mark and tried again(with -rc). It built.
Perhaps the comment mark should be removed?
----
Failed build info:
#> lin ffmpeg
ffmpeg: Use optional (installed) module libvorbis
Purpose: for ogg-vorbis support ? [y]
ffmpeg: Install & use optional (not installed) module faad
Purpose: for faad support ? [n] y
faad: Adding required dependency id3lib
faad: Install & use optional (not installed) module xmms
Purpose: XMMS plugin ? [n]
ffmpeg: Install & use optional (not installed) module faac
Purpose: for faac support ? [n] y
ffmpeg: Install & use optional (not installed) module lame
Purpose: for mp3 support ? [n] y
lame: Install & use optional (not installed) module gtk+
Purpose: for the GTK based MP3 frame analyzer ? [n]
lame: Use optional (installed) module nasm
Purpose: for compiling in additional speed improvements ? [y]
ffmpeg: Use optional (installed) module a52dec
Purpose: for a52 support ? [y] Checking dependencies for ffmpeg
Checking dependencies for faad
faad: Adding required dependency id3lib
Checking dependencies for id3lib
Downloading source file id3lib-3.8.3.tar.gz for module id3lib
[snip]
Downloading source file ffmpeg-0.4.9-pre1-gcc4.patch.bz2 for module
ffmpeg
--11:39:54--
http://download.lunar-linux.org/lunar/patches/ffmpeg-0.4.9-pre1-gcc4.patch.bz2
=> `/tmp/ffmpeg-0.4.9-pre1-gcc4.patch.bz2'
Resolving download.lunar-linux.org... 72.232.199.162, 84.200.240.4,
130.237.162.100, ...
Connecting to download.lunar-linux.org|72.232.199.162|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,161 (1.1K) [text/plain]
0K . 100% 1.69
MB/s
11:39:54 (1.69 MB/s) - `/tmp/ffmpeg-0.4.9-pre1-gcc4.patch.bz2' saved
[1161/1161]
Building ffmpeg version 0.4.9-pre1
[snip]
/usr/bin/ld: common.o: relocation R_X86_64_32 against `a local symbol' can
not be used when making a shared object; recompile with -fPIC
common.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libavcodec.so] Error 1
make[1]: Leaving directory `/usr/src/ffmpeg-0.4.9-pre1/libavcodec'
make: *** [lib] Error 2
Creating /var/log/lunar/compile/ffmpeg-0.4.9-pre1.bz2
! Problem detected during BUILD
----
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
03-16-07 00:04 neognomic New Issue
03-16-07 00:04 neognomic Status new => assigned
03-16-07 00:04 neognomic Assigned To => Striker
03-16-07 00:04 neognomic Affected URL => none
03-16-07 00:04 neognomic Browser => Firefox
03-16-07 00:04 neognomic Browser Version => 2.0.0.2
======================================================================
More information about the Lunar-bugs
mailing list