[FFmpeg-devel] Error linking on x86_64
Stephane List
slist
Wed May 28 17:37:10 CEST 2008
If I checkout a fresh svn, it works.
It seems that when doing
* svn update
* configure
* make
Something goes wrong.
Stephane List a ?crit :
> Hi,
>
> I've configured ffmpeg with :
> ./configure --enable-gpl --enable-libfaac --enable-libfaad --enable-shared
>
> But the link fails with the following error :
> It's strange because -fPIC is present during compilation of c files.
>
> gcc -shared -Wl,-soname,libavutil.so.49 -rdynamic -export-dynamic
> -Wl,--warn-common -Wl,--as-needed
> -Wl,-rpath-link,"/home/slist/svn/ffmpeg"/libavcodec
> -Wl,-rpath-link,"/home/slist/svn/ffmpeg"/libavformat
> -Wl,-rpath-link,"/home/slist/svn/ffmpeg"/libavutil -Wl,-Bsymbolic -o
> libavutil/libavutil.so.49 libavutil/adler32.o libavutil/aes.o
> libavutil/base64.o libavutil/crc.o libavutil/des.o libavutil/fifo.o
> libavutil/intfloat_readwrite.o libavutil/lls.o libavutil/log.o
> libavutil/lzo.o libavutil/mathematics.o libavutil/md5.o libavutil/mem.o
> libavutil/random.o libavutil/rational.o libavutil/rc4.o libavutil/sha1.o
> libavutil/string.o libavutil/tree.o -lz -lm -lfaac -lfaad -ldl -ldl
> /usr/bin/ld: libavutil/adler32.o: relocation R_X86_64_32 against `a
> local symbol' can not be used when making a shared object; recompile
> with -fPIC
> libavutil/adler32.o: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make: *** [libavutil/libavutil.so.49] Error 1
>
> Any hints ?
>
> Stephane (debian stable, gcc 4.1.2, make 3.1)
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
More information about the ffmpeg-devel
mailing list