|
From: sean d. <sea...@ho...> - 2004-12-08 15:37:15
|
I'm trying to build libdv-0.104 on fedora fc 3 x86_64.
I get this:
/bin/sh ../libtool --silent --mode=link --tag=CC gcc -march=athlon64 -fPIC
-Wall -o libdv.la -rpath /lib -version-info 4:2:0 dv.lo dct.lo idct_248.lo
weighting.lo quant.lo vlc.lo place.lo parse.lo bitstream.lo YUY2.lo YV12.lo
rgb.lo audio.lo util.lo encode.lo headers.lo enc_input.lo enc_audio_input.lo
enc_output.lo vlc_x86_64.lo quant_x86_64.lo idct_block_mmx_x86_64.lo
dct_block_mmx_x86_64.lo rgbtoyuv_x86_64.lo encode_x86_64.lo
transpose_x86_64.lo -lm
/usr/bin/ld: .libs/vlc_x86_64.o: relocation R_X86_64_PC32 against
`dv_vlc_class_index_mask' can not be used when making a shared object;
recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libdv.la] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/libdv-0.104/libdv'
make[2]: *** [all] Error 2
I've tried
export CFLAGS="-march=athlon64 -fPIC"
./configure --prefix=${_prefix} --without-debug --mandir=%{_mandir}
--disable-mmx --with-pic
Same result.
gcc-3.4.3
sean
|