$ make -k CFLAGS='-O0 -g'
# this errors out in fdct_mmx.c with "operands invalid for `pshufw'"
$ rm quicktime/ffmpeg/libavcodec/i386/fdct_mmx.*o
$ make CFLAGS='-O2 -g'

(It seems that this file wants to be compiled with some different sort of optimization.)

BTW, I just noticed that the build flags of quicktime/ffmpeg/libavcodec/i386/ include -O3. Try removing that from Makefile.am - it is needed on i*86, but may not be needed on x86_64.

-- Hannes

A successful build - finally...thank you Hannes.
As they say in Experts exchange or wherever - you win the prize...

I'm not clear yet on where the build was going wrong but most definitely in the quicktime/ffmpeg/libavcodec/i386 directory.

I decided to try with the latest automake (1.10) and my eventual success suggests the debian build comments in the autogen.sh script now need to be deleted (they say to use automake 1.7).

Another discovery : I came across references in makefiles to previously used automake versions. I manually purged a lot of hvirtual directory files to overcome this. So perhaps the autogen.sh script does not clean out all the old files properly. Some of these maybe: depcomp, libtool, ltmain.sh, mkinstalldirs...

I started with a no flags: ./configure
then: make
once it broke I used: make -k 'O0 -g'
make (to remind me where breakages were still happening)
rm quicktime/ffmpeg/libavcodec/i386/..[broken lib].*o
fiddled with the Makefile in quicktime/ffmpeg/libavcodec/i386/
and used either
make CFLAGS='-O3 -g'
CFLAGS='-O0 -g'
or: CFLAGS='-O2 -g'
until all the build errors were solved.
My final Makefile in the i386 directory had no -O3 optimisation, no -prefer-non-pic and included an -fPIC flag.

Until I discover exactly which steps were necessary my bug report is probably not useful - I will only submit one if someone here tells me it's a good idea.

Hopefully my skills will eventually allow me to make packages and submit patches. But that could be quite a while away...

For now all I can do is say thanks everyone for all the help. I'm happy to have my Cinelerra back!

Graham

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

Reply via email to