Hi -
If you're using gcc 3.3 (as SuSE 8.2 does) and the building
of the jpeg-mmx library fails with:
gcc -O6 -I. -c -o jdapimin.o jdapimin.c
/tmp/cc7IfzBn.s: Assembler messages:
/tmp/cc7IfzBn.s:619: Error: symbol `NOT_SUPPORTED' is already defined
gmake: *** [jdapimin.o] Error 1
Here is a patch to fix the problem - it seems that -O6 is too high
and causes the module to be miscompiled somehow. Changing that to
-O2 fixes the problem:
--- Makefile.dist 2002-04-25 09:09:18.000000000 -0700
+++ Makefile 2003-05-29 22:00:54.000000000 -0700
@@ -25,7 +25,7 @@
AS= nasm
ASFLAGS = -f elf
# You may need to adjust these cc options:
-CFLAGS= -O6 -I$(srcdir)
+CFLAGS= -O2 -I$(srcdir)
# Generally, we recommend defining any configuration symbols in jconfig.h,
# NOT via -D switches here.
# However, any special defines for ansi2knr.c may be included here:
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