On Thursday 26 April 2007 08:10, Graham Evans wrote:
> /usr/bin/ld: ffmpeg/libavcodec/.libs/libavcodec.a(cputest.o): relocation
> R_X86_64_32 against `a local symbol' can not be used when making a
> shared object; recompile with -fPIC
> ffmpeg/libavcodec/.libs/libavcodec.a(cputest.o): could not read symbols:
> Bad value
> collect2: ld returned 1 exit status

In this case, remove cputest.o (and/or cputest.lo), then build ffmpeg with 
different optimizations. Like:

$ rm ffmpeg/libavcodec/cputest.*o
$ make CFLAGS='-O0 -g'

BTW, to the best of my knowledge, dynamic linking does *not* require -fPIC! It 
just so happens that if you compile with -fPIC then some amount of memory can 
be saved if the dynamic object is shared by different processes. Which is an 
unlikely situation for all dynamic objects that Cinelerra loads. For this 
reason, I suggested to configure --without-pic.

-- Hannes

_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to