OK, I'm reading http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3 ... I've set CFLAGS="-fPIC"... I'm rebuilding... it's including the -fPIC in every compile step... same error: /usr/bin/ld: ffmpeg/libavcodec/.libs/libavcodec.a(idct_mmx.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(idct_mmx.o): could not read symbols: Bad value Does libavcodec need to be built with -fPIC?
I've tried a static link, and then it failed with the error: /usr/bin/ld: ffmpeg/libavcodec/.libs/libavcodec.a(motion_est_mmx.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC etc. In other words the same thing. I've tried defining SHARED_OBJECT and that doesn't work either. Does anyone have the slightest? On 07/04/07, Martin Ellison <[EMAIL PROTECTED]> wrote:
This is on FC6. I've tried again and made sure that I had a clean grab from SVN but it is still failing. I have built Cinelerra from source in the past sucessfully. On 06/04/07, Kevin Brosius <[EMAIL PROTECTED]> wrote: > > On 2007-04-05 14:44, Martin Ellison wrote: > > When I try to build from SVN I get: > > > > /usr/bin/ld: ffmpeg/libavcodec/.libs/libavcodec.a(motion_est_mmx.o): > > relocation R_X86_64_32S against `a local symbol' can not be used when > making > > a shared object; recompile with -fPIC > > ffmpeg/libavcodec/.libs/libavcodec.a(motion_est_mmx.o): could not read > > symbols: Bad value > > > > I have tried all sorts of things, including setting the C flags to > include > > -fPIC, but nothing works. > > > > This is on x86_64. > > As a data point, x86_64 builds on Suse 10.2 from svn without messing > with PIC. I know there are some other comments about people having > trouble with PIC though, maybe a search of the mailing list will help. > > What distro are you building on? > > -- > Kevin > > _______________________________________________ > Cinelerra mailing list > [email protected] > https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra > -- Regards, Martin ( [EMAIL PROTECTED])
-- Regards, Martin ([EMAIL PROTECTED])
