Compile under Snow Leopard 64 bit

Max Lapshin <[email protected]> Sun, 18 Jul 2010 20:16:41 +0400
Newsgroups gmane.comp.video.xvid.devel
Message-ID <[email protected]>
configure find machine as IA32 and cannot finish build:




What should I do to compile xvid on OS X 10.6?

_______________________________________________
Xvid-devel mailing list
[email protected]
http://list.xvid.org/mailman/listinfo/xvid-devel
xvid.txt (text/plain, 16.2 KB)
maxbp:generic max$ make
Makefile:44: platform.inc: No such file or directory
./bootstrap.sh
Creating ./configure
Copying files provided by automake
Copying files provided by libtool
Removing files that are not needed
./configure
checking build system type... i386-apple-darwin10.3.0
checking host system type... i386-apple-darwin10.3.0
checking target system type... i386-apple-darwin10.3.0
checking whether to use default CFLAGS... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for whether to use assembly code... yes
checking for architecture type... ia32
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of int *... 8
checking whether byte ordering is bigendian... no
checking for build extensions... .dynlib .a .o
checking for platform specific LDFLAGS/CFLAGS... dylib options
checking for yasm... yes
checking for yasm version... 0
configure: WARNING: yasm version is too old
checking for nasm... yes
checking for nasm version... 2
checking for asm object format... macho
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
configure: creating ./config.status
config.status: creating platform.inc
  D: =build
  C: ./decoder.c
  C: ./encoder.c
  C: ./xvid.c
  C: bitstream/bitstream.c
  C: bitstream/cbp.c
  C: bitstream/mbcoding.c
  C: dct/fdct.c
  C: dct/idct.c
  C: dct/simple_idct.c
  C: image/colorspace.c
  C: image/image.c
  C: image/interpolate8x8.c
  C: image/font.c
  C: image/postprocessing.c
  C: image/qpel.c
  C: image/reduced.c
  C: motion/estimation_bvop.c
../../src/motion/estimation_bvop.c: In function ‘SMPMotionEstimationBVOP’:
../../src/motion/estimation_bvop.c:1107: warning: unused variable ‘f_mbs’
  C: motion/estimation_common.c
  C: motion/estimation_gmc.c
  C: motion/estimation_pvop.c
../../src/motion/estimation_pvop.c: In function ‘MotionEstimation’:
../../src/motion/estimation_pvop.c:912: warning: unused variable ‘skip_thresh’
../../src/motion/estimation_pvop.c:907: warning: unused variable ‘stat_thresh’
../../src/motion/estimation_pvop.c: In function ‘MotionEstimateSMP’:
../../src/motion/estimation_pvop.c:1015: warning: unused variable ‘skip_thresh’
../../src/motion/estimation_pvop.c:1008: warning: unused variable ‘stat_thresh’
  C: motion/estimation_rd_based.c
  C: motion/estimation_rd_based_bvop.c
  C: motion/gmc.c
  C: motion/motion_comp.c
  C: motion/vop_type_decision.c
  C: motion/sad.c
  C: prediction/mbprediction.c
  C: plugins/plugin_single.c
  C: plugins/plugin_2pass1.c
  C: plugins/plugin_2pass2.c
  C: plugins/plugin_lumimasking.c
  C: plugins/plugin_dump.c
  C: plugins/plugin_psnr.c
  C: plugins/plugin_ssim.c
  C: quant/quant_h263.c
  C: quant/quant_matrix.c
  C: quant/quant_mpeg.c
  C: utils/emms.c
  C: utils/mbtransquant.c
  C: utils/mem_align.c
  C: utils/mem_transfer.c
  C: utils/timer.c
  A: bitstream/x86_asm/cbp_mmx.asm
  A: bitstream/x86_asm/cbp_sse2.asm
  A: dct/x86_asm/fdct_mmx_ffmpeg.asm
  A: dct/x86_asm/fdct_mmx_skal.asm
  A: dct/x86_asm/fdct_sse2_skal.asm
  A: dct/x86_asm/idct_3dne.asm
  A: dct/x86_asm/idct_mmx.asm
  A: dct/x86_asm/idct_sse2_dmitry.asm
  A: image/x86_asm/colorspace_rgb_mmx.asm
  A: image/x86_asm/colorspace_yuv_mmx.asm
  A: image/x86_asm/colorspace_yuyv_mmx.asm
  A: image/x86_asm/interpolate8x8_3dn.asm
  A: image/x86_asm/interpolate8x8_3dne.asm
  A: image/x86_asm/interpolate8x8_mmx.asm
  A: image/x86_asm/interpolate8x8_xmm.asm
  A: image/x86_asm/postprocessing_mmx.asm
  A: image/x86_asm/postprocessing_sse2.asm
  A: image/x86_asm/reduced_mmx.asm
  A: image/x86_asm/qpel_mmx.asm
  A: image/x86_asm/gmc_mmx.asm
  A: image/x86_asm/deintl_sse.asm
  A: motion/x86_asm/sad_xmm.asm
  A: motion/x86_asm/sad_sse2.asm
  A: motion/x86_asm/sad_mmx.asm
  A: motion/x86_asm/sad_3dne.asm
  A: motion/x86_asm/sad_3dn.asm
  A: quant/x86_asm/quantize_h263_mmx.asm
  A: quant/x86_asm/quantize_h263_3dne.asm
  A: quant/x86_asm/quantize_mpeg_xmm.asm
  A: quant/x86_asm/quantize_mpeg_mmx.asm
  A: utils/x86_asm/mem_transfer_mmx.asm
  A: utils/x86_asm/mem_transfer_3dne.asm
  A: utils/x86_asm/interlacing_mmx.asm
  A: utils/x86_asm/cpuid.asm
  A: plugins/x86_asm/plugin_ssim-a.asm
  L: libxvidcore.a
/usr/bin/ranlib: archive member: libxvidcore.a(cbp_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(cbp_sse2.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(fdct_mmx_ffmpeg.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(fdct_mmx_skal.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(fdct_sse2_skal.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(idct_3dne.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(idct_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(idct_sse2_dmitry.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(colorspace_rgb_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(colorspace_yuv_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(colorspace_yuyv_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(interpolate8x8_3dn.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(interpolate8x8_3dne.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(interpolate8x8_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(interpolate8x8_xmm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(postprocessing_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(postprocessing_sse2.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(reduced_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(qpel_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(gmc_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(deintl_sse.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(sad_xmm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(sad_sse2.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(sad_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(sad_3dne.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(sad_3dn.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(quantize_h263_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(quantize_h263_3dne.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(quantize_mpeg_xmm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(quantize_mpeg_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(mem_transfer_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(mem_transfer_3dne.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(interlacing_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(cpuid.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: libxvidcore.a(plugin_ssim-a.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(cbp_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(cbp_sse2.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(fdct_mmx_ffmpeg.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(fdct_mmx_skal.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(fdct_sse2_skal.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(idct_3dne.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(idct_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(idct_sse2_dmitry.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(colorspace_rgb_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(colorspace_yuv_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(colorspace_yuyv_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(interpolate8x8_3dn.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(interpolate8x8_3dne.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(interpolate8x8_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(interpolate8x8_xmm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(postprocessing_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(postprocessing_sse2.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(reduced_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(qpel_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(gmc_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(deintl_sse.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(sad_xmm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(sad_sse2.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(sad_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(sad_3dne.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(sad_3dn.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(quantize_h263_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(quantize_h263_3dne.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(quantize_mpeg_xmm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(quantize_mpeg_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(mem_transfer_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(mem_transfer_3dne.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(interlacing_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(cpuid.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libxvidcore.a(plugin_ssim-a.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: for architecture: x86_64 file: libxvidcore.a(timer.o) has no symbols
make: *** [libxvidcore.a] Error 1
maxbp:generic max$