Hi -

> From: Al Bogner <[EMAIL PROTECTED]>
> 
> I use SuSE 8.2 and tried to install jpeg-mmx-0.1.4
> What does the error below mean?

> gcc -O6  -I.   -c -o jdapimin.o jdapimin.c
> /tmp/cc95DzIH.s: Assembler messages:
> /tmp/cc95DzIH.s:619: Error: symbol `NOT_SUPPORTED' is already 
> defined
> make: *** [jdapimin.o] Error 1

        It means the label 'NOT_SUPPORTED:' is defined twice in jdapimin.c

        :)

        I encountered the same problem when building on a SuSE 8.2 system.

        For some reason the compilers think that both HAVE_MMX_INTEL_MNEMONICS
        _and_ HAVE_MMX_ATT_MNEMONICS are defined.    In jdapimin.c there
        are two instances of:

                NOT_SUPPORTED:
                    mov     eax, mmx_supported      //move return value to eax

        Normally only 1 of those is used (because only 1 of the two HAVE_MMX_*
        defines is set).

        I forget exactly what I did to work around this (the system that
        has the changes is remote and powered down at the moment).  But one
        way to do it would be to move the lines above outside the conditional
        blocks and just before the closing '}'.

        Other way to fix it might be to put a '#undef HAVE_MMX_???_MNEMONICS'
        where '???' is either ATT or INTEL.

        Cheers,
        Steven Schultz



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to