On Fri, 3 Sep 2004, Derek Fountain wrote:
> I thought I'd try to compile the MJPEG tools from source, rather than relying
> on the SUSE-9.1 supplied versions. I downloaded JPEG-MMX-0.1.5 from
> Sourceforge and did the './configure' and 'make' as described in the
> mjpegtools README. I get this error:
>
> gcc -o djpeg djpeg.o wrppm.o wrgif.o wrtarga.o wrrle.o wrbmp.o rdcolmap.o
> cdjpeg.o libjpeg-mmx.a
> libjpeg-mmx.a(jidctint.o)(.text+0x46): In function `domidct8x8llmW':
> : undefined reference to `fix_054n184_054'
Have you searched the mailinglist archives? This has come up several
times.
> and so on for several pages. What did I miss?
The answer in the archives :-)
You can either 1) edit the Makefile and change the "-O2" option to
-O1 or 2) check out the cvs version of jpeg-mmx (the problem's been
fixed there) or 3) rm -r jpeg-mmx and ignore it for now (it's not
clear that it's that big of a win).
The problem is that later versions of gcc have a bug and optimize
away data items that are used only in inline assembly. Reducing the
optimization level or using gcc's "__attribute(__used__)" will fix
the problem
Cheers,
Steven Schultz
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users