On Tue, 1 Nov 2005, sweetnsourbkr wrote: > Using the dvs jpeg_play package, but the source > package also has the same error. Is there a solution > to this problem?
> Error is as follows: > -fPIC -DPIC -o .libs/build_sub22_mests.o > cc1: error: bad value (k8) for -march= switch > cc1: error: bad value (k8) for -mcpu= switch Sigh, I've run into this also. The problem is that some (slightly older) distributions may run on a "AMD64" ('k8') architecture but the version of gcc/g++ being used hasn't been updated accordingly. The workaround is to simply add --with-extra-cflags="-mcpu=athlon -march=athlon" to the ./configure line. That will override the cpuinfo.sh cpu type. If your gcc/g++ is new enough you might see if "athlon4" will work. A better, but more painful, fix is to get a distribution with a newer gcc/g++ that knows about the AMD64 arch. Cheers, Steven Schultz ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users