On Saturday 22 April 2006 06:02, Pierre Marc Dumuid wrote:
> Hi all,
> I am having difficulties compiling the Upstream (non-SVN) version of
> cinelerra. I have a few patches that I wrote that I was going to apply
> to the upstream version of cinelerra and send upstream (such as the sort
> by filename extension.)
>
> I use Fedora, (which it seems heroine uses as well I think) but I have
> recently updated to FC5. When I attempt to compile, (for gcc 4.1.0) I
> had a whole heap of errors. I have squashed most of these in the
> attached patch, (the libdv-0.104 had too many errors, so I merged the
> HV's code with the current libdv CVS). I managed to squash all of them
> except one, which I don't have a clue as to what it is.
>
> [EMAIL PROTECTED] mpeg2enc]$ make
> gcc -c `cat i686/c_flags` mblock_sub44_sads.c -o i686/mblock_sub44_sads.o
> mblock_sub44_sads_x86_h.c: In function ‘mblock_sub44_dists_mmxe’:
> mblock_sub44_sads.c:72: error: invalid 'asm': invalid constraints for
> operand
> mblock_sub44_sads.c:79: error: invalid 'asm': invalid constraints for
> operand
> mblock_sub44_sads.c:81: error: invalid 'asm': invalid constraints for
> operand
> make: *** [i686/mblock_sub44_sads.o] Error 1
>
> That is the output, and the error occurs from the lines:
>
> movq_m2r( *blk, mm0);
> blk += rowstride;
> movq_m2r( *blk, mm1); // Line 72

Have you noticed that movq_m2r is a macro defined in mpeg2enc/mmx.h that 
expands to to inline assembly? I'm not speaking gcc assembly fluently enough 
to fix the error, though.

-- Hannes

>
>
> if( h == 2 )
> return;
>
>
> movq_m2r( *blk2, mm2); // Line 79
> blk2 += rowstride;
> movq_m2r( *blk2, mm3); // Line 81
>
>
> temporarily removing line 71, gets rid of error for line 72, but I
> really don't understand this error. Anyone have any clues??
>
> Pierre

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

Reply via email to