On Fri, 2003-01-24 at 16:04, Mark James wrote:
> Florin Andrei <[EMAIL PROTECTED]> wrote:
>  > jpeg-mmx-0.1.4 on Red Hat 8.0 fails to build. See attach.
>  > make: *** No rule to make target `fdct_mmx.lo', needed by `libjpeg-mmx.la'
> 
> This may help:
> 
> 
>https://sourceforge.net/tracker/index.php?func=detail&aid=548908&group_id=5776&atid=105776

Based on that, i created the attached patch, but it does not help:

mv -f jfdctint.o jfdctint.lo
gcc -O6 -I. -c ./jfdctint.c >/dev/null 2>&1
make: *** No rule to make target `fdct_mmx.lo', needed by
`libjpeg-mmx.la'.  Stop.

-- 
Florin Andrei

http://florin.myip.org/
diff -ru jpeg-mmx-0.1.4.old/cpu_accel.c jpeg-mmx-0.1.4/cpu_accel.c
--- jpeg-mmx-0.1.4.old/cpu_accel.c	2001-12-24 06:27:08.000000000 -0800
+++ jpeg-mmx-0.1.4/cpu_accel.c	2003-01-24 21:28:13.000000000 -0800
@@ -31,7 +31,8 @@
 
 static int x86_accel (void)
 {
-    INT32 eax, ebx, ecx, edx;
+/*    INT32 eax, ebx, ecx, edx; */
+    register INT32 eax asm ("eax"), ebx asm ("ebx"), ecx asm ("ecx"), edx asm ("edx");
     INT32 AMD;
     INT32 caps;
 
diff -ru jpeg-mmx-0.1.4.old/Makefile jpeg-mmx-0.1.4/Makefile
--- jpeg-mmx-0.1.4.old/Makefile	2002-01-04 05:06:16.000000000 -0800
+++ jpeg-mmx-0.1.4/Makefile	2003-01-24 21:26:25.000000000 -0800
@@ -252,6 +252,9 @@
 
 %.o: %.s ; 	$(AS) $(ASFLAGS) -o $@ $<
 
+.o.lo:
+	 mv -f $< $@
+
 # Mistake catcher:
 
 jconfig.h: jconfig.doc

Reply via email to