Well, I think the trouble here is that either ffmpeg should follow the
PIC behavior of the rest of the build, or is broken for PIC in general.

I saw a note that debian policy required build with PIC for a time.  I
don't think that will continue, as present comments say PIC should not
be required.  I do see PIC used in the general Cin portion of the build
here on Suse.  Do you know, or can you check, if PIC was used in your
builds of the main portion of Cin, Graham?

Hi Kevin

Let me know if I have gone wrong but I think I have the neccessary skills to answer your questions. Note all the following tests are performed on cinelerra CV svn 1017 with Hermann's patch as attached to my last email. This builds and runs succesfully and performs well as far as I can see.

Firstly - I am guessing this is a typical gcc command for cinelerra:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -DHAVE_MMX -DUSE_MMX -DX86_CPU -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -MT idct.lo -MD -MP -MF .deps/idct.Tpo -c idct.c -fPIC -DPIC -o .libs/idct.o

I'm not sure if that includes the PIC flag you were looking for.

Also, if you have a build log, would you show me the compile options of
mpegvideo_mmx when it builds?  (If it builds...  It will only build if
mmx is specified or auto detected as true.  I'd like to know if it does
not auto detect mmx also.)

MMX is detected I suppose from this:
'CPU_CFLAGS='-DHAVE_MMX -DUSE_MMX -DX86_CPU '

Compile options for mpegvideo_mmx:
if /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_MMX -DUSE_MMX -DX86_CPU -DHAVE_MMX -msse -DHAVE_BUILTIN_VECTOR -O3 -D_GNU_SOURCE -DHAVE_AV_CONFIG_H -I./../.. -I../.. -g -O2 -MT mpegvideo_mmx.lo -MD -MP -MF ".deps/mpegvideo_mmx.Tpo" -c -o mpegvideo_mmx.lo mpegvideo_mmx.c; \ then mv -f ".deps/mpegvideo_mmx.Tpo" ".deps/mpegvideo_mmx.Plo"; else rm -f ".deps/mpegvideo_mmx.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_MMX -DUSE_MMX -DX86_CPU -DHAVE_MMX -msse -DHAVE_BUILTIN_VECTOR -O3 -D_GNU_SOURCE -DHAVE_AV_CONFIG_H -I./../.. -I../.. -g -O2 -MT mpegvideo_mmx.lo -MD -MP -MF .deps/mpegvideo_mmx.Tpo -c mpegvideo_mmx.c -fPIC -DPIC -o .libs/mpegvideo_mmx.o

Thanks all,
And a quick comment about ffmpeg external option - my understanding is that ffmpeg versions since about August 2006 are incompatible with the current cinelerra. There is already a bug filed about that. I think the recommended way to build cinelerra at present is to somehow get internal ffmpeg working. On debian etch + going to a version of ffmpeg early enough to get a successful build breaks dependencies in lots of unrelated deb packages.

Graham

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

Reply via email to