sorry Hannes - not sure how that got sent to personal address...
You can try to build the internal ffmpeg with different optimization options like this:

$ make
.... terminates with an error....
$ cd quicktime/ffmpeg
$ make clean
$ make CFLAGS='-O0 -g'
.... hopefully works...
$ cd ../.. && make

Try different optimization levels in CFLAGS.

-- Hannes

Okay so I configure without any flags at all then when it breaks I move to the ffmpeg directory, make clean and the make CFLAGS="-O0 -g". After a second of building this produces an error: 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../.. -O0 -g -MT fdct_mmx.lo -MD -MP -MF .deps/fdct_mmx.Tpo -c fdct_mmx.c -o .libs/fdct_mmx.o/tmp/ccdU7310.s: Assembler messages:
/tmp/ccdU7310.s:2075: Error: suffix or operands invalid for `pshufw'
make[2]: *** [fdct_mmx.lo] Error 1
make[2]: Leaving directory `/home/gray/install/hvirtual/quicktime/ffmpeg/libavcodec/i386'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gray/install/hvirtual/quicktime/ffmpeg/libavcodec'
make: *** [all-recursive] Error 1

If I run make in the ffmpeg directory with no flags then it builds successfully. Then when I cd ../.. && make I get the same exit as before:

/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
make[3]: *** [libquicktimehv.la] Error 1
make[3]: Leaving directory `/home/gray/install/hvirtual/quicktime'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gray/install/hvirtual/quicktime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `

I will try some other CFLAGS but with my lack of skills in this area I will need to be very lucky...

Graham E.

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

Reply via email to