On 7/31/12 11:56 AM, Beat Zahnd wrote:
> Build of libvpx fails on Mountain Lion and Xcode 4.4
> Cheers, Beat
> 
> 

<snip>

> sudo -u fink-bld [ENV] sh -c /tmp/fink.Yv83H
> perl -pi -e 's/-isysroot.*sdk//g' build/make/configure.sh
> perl -pi -e 's/USE_POSIX_MMAP 0/USE_POSIX_MMAP 1/' vpxenc.c
> sudo -u fink-bld [ENV] sh -c /tmp/fink.LLKwx
> /tmp/fink.dsRs8
> #!/bin/bash -ev
>       
>       let version=`uname -r | cut -d . -f 1`
> uname -r | cut -d . -f 1
>       if [ $version -gt 9 ]; then
>               let version=9
>       fi
>       
>       if [ "x86_64" = "powerpc" ]; then
>               ./configure --prefix=/sw --target=ppc32-darwin${version}-gcc
>       elif [ "x86_64" = "i386" ]; then
>               if [ $version = "8" ]; then
>                       ./configure --prefix=/sw 
> --target=x86-darwin${version}-gcc --disable-postproc
>               else
>                       ./configure --prefix=/sw 
> --target=x86-darwin${version}-gcc
>               fi
>       else
>               ./configure --prefix=/sw --target=x86_64-darwin${version}-gcc
>       fi
> Configuring selected codecs
>   enabling vp8_encoder
>   enabling vp8_decoder
> Configuring for target 'x86_64-darwin9-gcc'
>   enabling x86_64
>   enabling runtime_cpu_detect
>   enabling mmx
>   enabling sse
>   enabling sse2
>   enabling sse3
>   enabling ssse3
>   enabling sse4_1
>   using yasm
>   enabling postproc
> Creating makefiles for x86_64-darwin9-gcc libs
> Creating makefiles for x86_64-darwin9-gcc examples
> Creating makefiles for x86_64-darwin9-gcc docs
>       make
>     [DEP] vpx_ports/x86_abi_support.asm.d
>                                    [DEP] vp8/decoder/x86/dequantize_mmx.asm.d
>     [DEP] vp8/common/x86/postproc_sse2.asm.d
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalid
>     [DEP] vp8/common/x86/subpixel_ssse3.asm.d
>     [DEP] vp8/common/x86/postproc_mmx.asm.d
>     [DEP] vp8/common/x86/iwalsh_sse2.asm.d
>     [DEP] vp8/common/x86/loopfilter_sse2.asm.d
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalid
>     [DEP] vp8/common/x86/recon_sse2.asm.d
> .d
>                                               [DEP] 
> vp8/common/x86/loopfilter_mmx.asm.d
>     [DEP] vp8/common/x86/idctllm_sse2.asm.d
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalid
>     [DEP] vp8/common/x86/subpixel_mmx.asm.d
>     [DEP] vp8/common/x86/recon_mmx.asm.d
>     [DEP] vp8/common/x86/iwalsh_mmx.asm.d
>     [DEP] vp8/common/x86/idctllm_mmx.asm.d
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalidinvalid
>                                    
> egrep: repetition-operator operand invalid
>     [DEP] vp8/encoder/x86/ssim_opt.asm.d
>     [DEP] vp8/encoder/x86/encodeopt.asm.d
>     [DEP] vp8/encoder/x86/quantize_mmx.asm.d
>     [DEP] vp8/encoder/x86/quantize_sse4.asm.d
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalid
>     [DEP] vp8/encoder/x86/sad_sse4.asm.d
>     [DEP] vp8/encoder/x86/quantize_ssse3.asm.d
> sm.d
>                                                    [DEP] 
> vp8/encoder/x86/sad_ssse3.asm.d
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalid
>     [DEP] vp8/encoder/x86/sad_sse3.asm.d
>     [DEP] vp8/encoder/x86/temporal_filter_apply_sse2.asm.d
>     [DEP] vp8/encoder/x86/subtract_sse2.asm.d
>     [DEP] vp8/encoder/x86/quantize_sse2.asm.d
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalid
>     [DEP] vp8/encoder/x86/fwalsh_sse2.asm.d
>     [DEP] vp8/encoder/x86/sad_sse2.asm.d
> se2.asm.d
>                                              [DEP] 
> vp8/encoder/x86/dct_sse2.asm.d
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalid
> egrep: repetition-operator operand invalid
>     [DEP] vp8/encoder/x86/subtract_mmx.asm.d
>                                             [DEP] 
> vp8/encoder/x86/sad_mmx.asm.d
>     [DEP] vp8/encoder/x86/variance_impl_mmx.asm.d
> egrep: repetition-operator operand invalid
> egrep:        repetition-operator operand invalid                             
>       
>      [DEP] vpx_config.c.d
>     [DEP] vpx_ports/x86_cpuid.c.d
>     [DEP] vp8/decoder/x86/idct_blk_sse2.c.d
> egrep: repetition-operator operand invalid
>     [DEP] vp8/decoder/x86/idct_blk_mmx.c.d
>     [DEP] vp8/decoder/x86/x86_dsystemdependent.c.d
>     [DEP] vp8/decoder/idct_blk.c.d
> .c.d
>                                        [DEP] vp8/decoder/threading.c.d
>     [DEP] vp8/decoder/onyxd_if.c.d
>     [DEP] vp8/decoder/generic/dsystemdependent.c.d
>     [DEP] vp8/decoder/detokenize.c.d
>     [DEP] vp8/decoder/dequantize.c.d
>     [DEP] vp8/decoder/decodframe.c.d
>     [DEP] vp8/decoder/decodemv.c.d
>     [DEP] vp8/decoder/dboolhuff.c.d
>     [DEP] vp8/decoder/asm_dec_offsets.c.d
>     [DEP] vp8/common/x86/recon_wrapper_sse2.c.d
>                                    [DEP] vp8/common/postproc.c.d
>     [DEP] vp8/common/x86/loopfilter_x86.c.d
>     [DEP] vp8/common/x86/vp8_asm_stubs.c.d
>     [DEP] vp8/common/x86/x86_systemdependent.c.d
>                                        [DEP] vp8/common/swapyv12buffer.c.d
>     [DEP] vp8/common/setupintrarecon.c.d
>     [DEP] vp8/common/reconintra4x4.c.d
>     [DEP] vp8/common/reconintra.c.d
>     [DEP] vp8/common/reconinter.c.d
>     [DEP] vp8/common/recon.c.d
>     [DEP] vp8/common/quant_common.c.d
>     [DEP] vp8/common/modecontext.c.d
>     [DEP] vp8/common/modecont.c.d
>     [DEP] vp8/common/mbpitch.c.d
>     [DEP] vp8/common/loopfilter_filters.c.d
>     [DEP] vp8/common/loopfilter.c.d
>     [DEP] vp8/common/invtrans.c.d
>     [DEP] vp8/common/idctllm.c.d
>     [DEP] vp8/common/generic/systemdependent.c.d
>     [DEP] vp8/common/findnearmv.c.d
>     [DEP] vp8/common/filter.c.d
>     [DEP] vp8/common/extend.c.d
>     [DEP] vp8/common/entropymv.c.d
>     [DEP] vp8/common/entropymode.c.d
>     [DEP] vp8/common/entropy.c.d
>     [DEP] vp8/common/defaultcoefcounts.c.d
>     [DEP] vp8/common/debugmodes.c.d
>     [DEP] vp8/common/blockd.c.d
>     [DEP] vp8/common/asm_com_offsets.c.d
>     [DEP] vp8/common/alloccommon.c.d
>     [DEP] vp8/encoder/x86/variance_ssse3.c.d
>     [DEP] vp8/encoder/x86/variance_sse2.c.d
>     [DEP] vp8/encoder/x86/variance_mmx.c.d
>     [DEP] vp8/encoder/x86/x86_csystemdependent.c.d
>     [DEP] vp8/encoder/temporal_filter.c.d
>     [DEP] vp8/encoder/variance_c.c.d
>     [DEP] vp8/encoder/treewriter.c.d
>     [DEP] vp8/encoder/tokenize.c.d
>     [DEP] vp8/encoder/segmentation.c.d
>     [DEP] vp8/encoder/sad_c.c.d
>     [DEP] vp8/encoder/rdopt.c.d
>     [DEP] vp8/encoder/ratectrl.c.d
>     [DEP] vp8/encoder/quantize.c.d
>     [DEP] vp8/encoder/psnr.c.d
>     [DEP] vp8/encoder/picklpf.c.d
>     [DEP] vp8/encoder/pickinter.c.d
>     [DEP] vp8/encoder/onyx_if.c.d
>     [DEP] vp8/encoder/modecosts.c.d
>     [DEP] vp8/encoder/mcomp.c.d
>     [DEP] vp8/encoder/lookahead.c.d
>     [DEP] vp8/encoder/generic/csystemdependent.c.d
>     [DEP] vp8/encoder/firstpass.c.d
>     [DEP] vp8/encoder/ethreading.c.d
>     [DEP] vp8/encoder/encodemv.c.d
>     [DEP] vp8/encoder/encodemb.c.d
>     [DEP] vp8/encoder/encodeintra.c.d
>     [DEP] vp8/encoder/encodeframe.c.d
>     [DEP] vp8/encoder/dct.c.d
>     [DEP] vp8/encoder/boolhuff.c.d
>     [DEP] vp8/encoder/bitstream.c.d
>     [DEP] vp8/encoder/asm_enc_offsets.c.d
>     [DEP] vp8/vp8_cx_iface.c.d
>     [DEP] vpx_scale/generic/gen_scalers.c.d
>     [DEP] vpx_scale/generic/scalesystemdependent.c.d
>     [DEP] vpx_scale/generic/yv12extend.c.d
>     [DEP] vpx_scale/generic/vpxscale.c.d
>     [DEP] vpx_scale/generic/yv12config.c.d
>     [DEP] vpx_mem/vpx_mem.c.d
>     [DEP] vpx/src/vpx_image.c.d
>     [DEP] vpx/src/vpx_codec.c.d
>     [DEP] vpx/src/vpx_encoder.c.d
>     [DEP] vpx/src/vpx_decoder_compat.c.d
>     [DEP] vpx/src/vpx_decoder.c.d
>     [CREATE] libs.doxy
> coder_compat.c.o
>                                                             [CC] 
> vpx/src/vpx_encoder.c.o
>     [CC] vpx/src/vpx_codec.c.o
> vpx/src/vpx_decoder_compat.c:30:36: warning: implicit conversion from 
> enumeration type 'vpx_dec_err_t' to different enumeration type 
> 'vpx_codec_err_t' [-Wconversion]
>     return vpx_codec_err_to_string(err);
>            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~
> vpx/src/vpx_decoder_compat.c:48:12: warning: implicit conversion from 
> enumeration type 'vpx_codec_err_t' to different enumeration type 
> 'vpx_dec_err_t' [-Wconversion]
>     return vpx_codec_dec_init_ver((vpx_codec_ctx_t *)ctx,
>     ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> vpx/src/vpx_decoder_compat.c:58:12: warning: implicit conversion from 
> enumeration type 'vpx_codec_err_t' to different enumeration type 
> 'vpx_dec_err_t' [-Wconversion]
>     return vpx_codec_destroy((vpx_codec_ctx_t *)ctx);
>     ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> vpx/src/vpx_decoder_compat.c:73:12: warning: implicit conversion from 
> enumeration type 'vpx_codec_err_t' to different enumeration type 
> 'vpx_dec_err_t' [-Wconversion]
>     return vpx_codec_peek_stream_info((vpx_codec_iface_t *)iface, data, 
> data_sz,
>     ~~~~~~ 
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> vpx/src/vpx_decoder_compat.c:81:12: warning: implicit conversion from 
> enumeration type 'vpx_codec_err_t' to different enumeration type 
> 'vpx_dec_err_t' [-Wconversion]
>     return vpx_codec_get_stream_info((vpx_codec_ctx_t *)ctx,
>     ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> vpx/src/vpx_decoder_compat.c:90:12: warning: implicit conversion from 
> enumeration type 'vpx_codec_err_t' to different enumeration type 
> 'vpx_dec_err_t' [-Wconversion]
>     return vpx_codec_control_((vpx_codec_ctx_t *)ctx, ctrl_id, data);
>     ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> vpx/src/vpx_decoder_compat.c:101:12: warning: implicit conversion from 
> enumeration type 'vpx_codec_err_t' to different enumeration type 
> 'vpx_dec_err_t' [-Wconversion]
>     return vpx_codec_decode((vpx_codec_ctx_t *)ctx, data, data_sz, user_priv,
>     ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> vpx/src/vpx_decoder_compat.c:116:12: warning: implicit conversion from 
> enumeration type 'vpx_codec_err_t' to different enumeration type 
> 'vpx_dec_err_t' [-Wconversion]
>     return vpx_codec_register_put_frame_cb((vpx_codec_ctx_t *)ctx, cb,
>     ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> vpx/src/vpx_decoder_compat.c:125:12: warning: implicit conversion from 
> enumeration type 'vpx_codec_err_t' to different enumeration type 
> 'vpx_dec_err_t' [-Wconversion]
>     return vpx_codec_register_put_slice_cb((vpx_codec_ctx_t *)ctx, cb,
>     ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> vpx/src/vpx_decoder_compat.c:134:12: warning: implicit conversion from 
> enumeration type 'vpx_codec_err_t' to different enumeration type 
> 'vpx_dec_err_t' [-Wconversion]
>     return vpx_codec_dec_init_ver((vpx_codec_ctx_t *)ctx,
>     ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> vpx/src/vpx_decoder_compat.c:162:15: warning: implicit conversion from 
> enumeration type 'vpx_codec_err_t' to different enumeration type 
> 'vpx_dec_err_t' [-Wconversion]
>         res = ctx->iface->get_mmap(ctx, mmap, iter);
>             ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> vpx/src/vpx_decoder_compat.c:165:29: warning: implicit conversion from 
> enumeration type 'vpx_dec_err_t' to different enumeration type 
> 'vpx_codec_err_t' [-Wconversion]
>     return SAVE_STATUS(ctx, res);
>            ~~~~~~~~~~~~~~~~~^~~~
> vpx/src/vpx_decoder_compat.c:21:47: note: expanded from macro 'SAVE_STATUS'
> #define SAVE_STATUS(ctx,var) (ctx?(ctx->err = var):var)
>                                             ~ ^
> vpx/src/vpx_decoder_compat.c:165:12: warning: implicit conversion from 
> enumeration type 'vpx_codec_err_t' to different enumeration type 
> 'vpx_dec_err_t' [-Wconversion]
>     return SAVE_STATUS(ctx, res);
>            ^~~~~~~~~~~~~~~~~~~~~
> vpx/src/vpx_decoder_compat.c:21:45: note: expanded from macro 'SAVE_STATUS'
> #define SAVE_STATUS(ctx,var) (ctx?(ctx->err = var):var)
>                                  ~          ^
> vpx/src/vpx_decoder_compat.c:191:19: warning: implicit conversion from 
> enumeration type 'vpx_codec_err_t' to different enumeration type 
> 'vpx_dec_err_t' [-Wconversion]
>             res = ctx->iface->set_mmap(ctx, mmap);
>                 ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> vpx/src/vpx_decoder_compat.c:200:29: warning: implicit conversion from 
> enumeration type 'vpx_dec_err_t' to different enumeration type 
> 'vpx_codec_err_t' [-Wconversion]
>     return SAVE_STATUS(ctx, res);
>            ~~~~~~~~~~~~~~~~~^~~~
> vpx/src/vpx_decoder_compat.c:21:47: note: expanded from macro 'SAVE_STATUS'
> #define SAVE_STATUS(ctx,var) (ctx?(ctx->err = var):var)
>                                             ~ ^
> vpx/src/vpx_decoder_compat.c:200:12: warning: implicit conversion from 
> enumeration type 'vpx_codec_err_t' to different enumeration type 
> 'vpx_dec_err_t' [-Wconversion]
>     return SAVE_STATUS(ctx, res);
>            ^~~~~~~~~~~~~~~~~~~~~
> vpx/src/vpx_decoder_compat.c:21:45: note: expanded from macro 'SAVE_STATUS'
> #define SAVE_STATUS(ctx,var) (ctx?(ctx->err = var):var)
>                                  ~          ^
> 16 warnings generated.
>     [CC] vpx/src/vpx_image.c.o
>                                  [CC] vpx_scale/generic/yv12config.c.o
>                                             [CC] 
> vpx_scale/generic/yv12extend.c.o
>     [CC] vpx_scale/generic/scalesystemdependent.c.o
>     [CC] vpx_scale/generic/gen_scalers.c.o
>     [CC] vp8/common/alloccommon.c.o
>     [CC] vp8/common/asm_com_offsets.c.o
>     [CC] vp8/common/blockd.c.o
>     [CC] vp8/common/debugmodes.c.o
>     [CC] vp8/common/defaultcoefcounts.c.o
>     [CC] vp8/common/entropy.c.o
>     [CC] vp8/common/entropymode.c.o
>     [CC] vp8/common/entropymv.c.o
>     [CC] vp8/common/extend.c.o
>     [CC] vp8/common/filter.c.o
>     [CC] vp8/common/findnearmv.c.o
>     [CC] vp8/common/generic/systemdependent.c.o
>     [CC] vp8/common/idctllm.c.o
>     [CC] vp8/common/invtrans.c.o
>     [CC] vp8/common/loopfilter.c.o
>     [CC] vp8/common/loopfilter_filters.c.o
>     [CC] vp8/common/mbpitch.c.o
>     [CC] vp8/common/modecont.c.o
>     [CC] vp8/common/modecontext.c.o
>     [CC] vp8/common/quant_common.c.o
>     [CC] vp8/common/recon.c.o
>     [CC] vp8/common/reconinter.c.o
>     [CC] vp8/common/reconintra.c.o
>     [CC] vp8/common/reconintra4x4.c.o
>     [CC] vp8/common/setupintrarecon.c.o
>     [CC] vp8/common/swapyv12buffer.c.o
>     [CC] vp8/common/treecoder.c.o
>     [CC] vp8/common/x86/x86_systemdependent.c.o
>     [CC] vp8/common/x86/vp8_asm_stubs.c.o
>     [CC] vp8/common/x86/loopfilter_x86.c.o
>     [CC] vp8/common/postproc.c.o
>     [CC] vp8/common/x86/recon_wrapper_sse2.c.o
> vp8/common/postproc.c:426:19: warning: explicitly assigning a variable of 
> type 'int' to itself [-Wself-assign]
>         for (next = next; next < 256; next++)
>              ~~~~ ^ ~~~~
>     [CC] vp8/vp8_cx_iface.c.o
>     [CC] vp8/encoder/asm_enc_offsets.c.o
>     [CC] vp8/encoder/bitstream.c.o
>     [CC] vp8/encoder/boolhuff.c.o
> vp8/vp8_cx_iface.c:485:34: warning: implicit conversion from enumeration type 
> 'vpx_dec_err_t' to different enumeration type 'vpx_codec_err_t' [-Wconversion]
>     vpx_codec_err_t        res = VPX_DEC_OK;
>                            ~~~   ^~~~~~~~~~
> vp8/vp8_cx_iface.c:865:44: warning: implicit conversion from enumeration type 
> 'vpx_ref_frame_type_t' (aka 'enum vpx_ref_frame_type') to different 
> enumeration type 'VP8_REFFRAME' [-Wconversion]
>         vp8_set_reference(ctx->cpi, frame->frame_type, &sd);
>         ~~~~~~~~~~~~~~~~~           ~~~~~~~^~~~~~~~~~
> vp8/vp8_cx_iface.c:886:44: warning: implicit conversion from enumeration type 
> 'vpx_ref_frame_type_t' (aka 'enum vpx_ref_frame_type') to different 
> enumeration type 'VP8_REFFRAME' [-Wconversion]
>         vp8_get_reference(ctx->cpi, frame->frame_type, &sd);
>         ~~~~~~~~~~~~~~~~~           ~~~~~~~^~~~~~~~~~
> vp8/vp8_cx_iface.c:1050:57: warning: implicit conversion from enumeration 
> type 'VPX_SCALING_MODE' (aka 'enum vpx_scaling_mode_1d') to different 
> enumeration type 'VPX_SCALING' [-Wconversion]
>         res = vp8_set_internal_size(ctx->cpi, scalemode.h_scaling_mode, 
> scalemode.v_scaling_mode);
>               ~~~~~~~~~~~~~~~~~~~~~           ~~~~~~~~~~^~~~~~~~~~~~~~
> vp8/vp8_cx_iface.c:1050:83: warning: implicit conversion from enumeration 
> type 'VPX_SCALING_MODE' (aka 'enum vpx_scaling_mode_1d') to different 
> enumeration type 'VPX_SCALING' [-Wconversion]
>         res = vp8_set_internal_size(ctx->cpi, scalemode.h_scaling_mode, 
> scalemode.v_scaling_mode);
>               ~~~~~~~~~~~~~~~~~~~~~                                     
> ~~~~~~~~~~^~~~~~~~~~~~~~
> 1 warning generated.
>     [CC] vp8/encoder/dct.c.o
>     [CC] vp8/encoder/encodeframe.c.o
>     [CC] vp8/encoder/encodeintra.c.o
> 5 warnings generated.
>     [CC] vp8/encoder/encodemb.c.o
>     [CC] vp8/encoder/encodemv.c.o
>     [CC] vp8/encoder/ethreading.c.o
>     [CC] vp8/encoder/firstpass.c.o
>     [CC] vp8/encoder/generic/csystemdependent.c.o
> vp8/encoder/firstpass.c:1476:12: warning: unused variable 'fwd_boost_score' 
> [-Wunused-variable]
>     double fwd_boost_score = 0.0;
>            ^
>     [CC] vp8/encoder/lookahead.c.o
>     [CC] vp8/encoder/mcomp.c.o
>     [CC] vp8/encoder/modecosts.c.o
>     [CC] vp8/encoder/onyx_if.c.o
> vp8/encoder/onyx_if.c:3409:29: warning: equality comparison with extraneous 
> parentheses [-Wparentheses-equality]
>         if ((cm->frame_type == KEY_FRAME)) // && 
> cpi->oxcf.allow_spatial_resampling )
>              ~~~~~~~~~~~~~~~^~~~~~~~~~~~
> vp8/encoder/onyx_if.c:3409:29: note: remove extraneous parentheses around the 
> comparison to silence this warning
>         if ((cm->frame_type == KEY_FRAME)) // && 
> cpi->oxcf.allow_spatial_resampling )
>             ~               ^           ~
> vp8/encoder/onyx_if.c:3409:29: note: use '=' to turn this equality comparison 
> into an assignment
>         if ((cm->frame_type == KEY_FRAME)) // && 
> cpi->oxcf.allow_spatial_resampling )
>                             ^~
>                             =
>     [CC] vp8/encoder/pickinter.c.o
>     [CC] vp8/encoder/picklpf.c.o
>     [CC] vp8/encoder/psnr.c.o
>     [CC] vp8/encoder/quantize.c.o
>     [CC] vp8/encoder/ratectrl.c.o
> 1 warning generated.
>     [CC] vp8/encoder/rdopt.c.o
> 1 warning generated.
>     [CC] vp8/encoder/sad_c.c.o
>     [CC] vp8/encoder/segmentation.c.o
>     [CC] vp8/encoder/tokenize.c.o
>     [CC] vp8/encoder/treewriter.c.o
>     [CC] vp8/encoder/variance_c.c.o
>     [CC] vp8/encoder/temporal_filter.c.o
>     [CC] vp8/encoder/x86/x86_csystemdependent.c.o
>     [CC] vp8/encoder/x86/variance_mmx.c.o
>     [CC] vp8/encoder/x86/variance_sse2.c.o
>     [CC] vp8/encoder/x86/variance_ssse3.c.o
>     [CC] vp8/vp8_dx_iface.c.o
>     [CC] vp8/decoder/asm_dec_offsets.c.o
>     [CC] vp8/decoder/dboolhuff.c.o
>     [CC] vp8/decoder/decodemv.c.o
> vp8/vp8_dx_iface.c:610:53: warning: implicit conversion from enumeration type 
> 'vpx_ref_frame_type_t' (aka 'enum vpx_ref_frame_type') to different 
> enumeration type 'VP8_REFFRAME' [-Wconversion]
>         return vp8dx_set_reference(ctx->pbi, frame->frame_type, &sd);
>                ~~~~~~~~~~~~~~~~~~~           ~~~~~~~^~~~~~~~~~
> vp8/vp8_dx_iface.c:631:53: warning: implicit conversion from enumeration type 
> 'vpx_ref_frame_type_t' (aka 'enum vpx_ref_frame_type') to different 
> enumeration type 'VP8_REFFRAME' [-Wconversion]
>         return vp8dx_get_reference(ctx->pbi, frame->frame_type, &sd);
>                ~~~~~~~~~~~~~~~~~~~           ~~~~~~~^~~~~~~~~~
>     [CC] vp8/decoder/decodframe.c.o
>     [CC] vp8/decoder/dequantize.c.o
> 2 warnings generated.
>     [CC] vp8/decoder/detokenize.c.o
>     [CC] vp8/decoder/generic/dsystemdependent.c.o
>     [CC] vp8/decoder/onyxd_if.c.o
>     [CC] vp8/decoder/threading.c.o
>     [CC] vp8/decoder/idct_blk.c.o
>     [CC] vp8/decoder/reconintra_mt.c.o
>     [CC] vp8/decoder/x86/x86_dsystemdependent.c.o
>     [CC] vp8/decoder/x86/idct_blk_mmx.c.o
>     [CC] vp8/decoder/x86/idct_blk_sse2.c.o
>     [CC] vpx_config.c.o
>     [CC] vpx_ports/x86_cpuid.c.o
>     [CREATE] vpx_config.asm
>     [CREATE] vpx.pc
>     [AS] vp8/common/x86/idctllm_mmx.asm.o
>     [AS] vp8/common/x86/iwalsh_mmx.asm.o
>     [AS] vp8/common/x86/recon_mmx.asm.o
>     [AS] vp8/common/x86/subpixel_mmx.asm.o
>     [AS] vp8/common/x86/loopfilter_mmx.asm.o
>     [AS] vp8/common/x86/idctllm_sse2.asm.o
>     [AS] vp8/common/x86/recon_sse2.asm.o
>     [AS] vp8/common/x86/loopfilter_sse2.asm.o
>     [AS] vp8/common/x86/subpixel_sse2.asm.o
>     [AS] vp8/common/x86/iwalsh_sse2.asm.o
>     [AS] vp8/common/x86/subpixel_ssse3.asm.o
>     [AS] vp8/common/x86/postproc_mmx.asm.o
>     [AS] vp8/common/x86/postproc_sse2.asm.o
>     [AS] vp8/encoder/x86/variance_impl_mmx.asm.o
>     [AS] vp8/encoder/x86/sad_mmx.asm.o
>     [AS] vp8/encoder/x86/dct_mmx.asm.o
>     [AS] vp8/encoder/x86/subtract_mmx.asm.o
>     [AS] vp8/encoder/x86/dct_sse2.asm.o
>     [AS] vp8/encoder/x86/variance_impl_sse2.asm.o
>     [AS] vp8/encoder/x86/sad_sse2.asm.o
>     [AS] vp8/encoder/x86/fwalsh_sse2.asm.o
>     [AS] vp8/encoder/x86/quantize_sse2.asm.o
>     [AS] vp8/encoder/x86/subtract_sse2.asm.o
>     [AS] vp8/encoder/x86/temporal_filter_apply_sse2.asm.o
>     [AS] vp8/encoder/x86/sad_sse3.asm.o
>     [AS] vp8/encoder/x86/sad_ssse3.asm.o
> yasm: FATAL: unable to open include file `asm_enc_offsets.asm'
>     [AS] vp8/encoder/x86/variance_impl_ssse3.asm.o
> make[1]: *** [vp8/encoder/x86/quantize_sse2.asm.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [.DEFAULT] Error 2
> ### execution of /tmp/fink.dsRs8 failed, exit code 2
> ### execution of /tmp/fink.LLKwx failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-libvpx-0.9.7-1
> (Reading database ... 25990 files and directories currently installed.)
> Removing fink-buildlock-libvpx-0.9.7-1 ...
> Failed: phase compiling: libvpx-0.9.7-1 failed
> 
> Before reporting any errors, please run "fink selfupdate" and try again.
> Also try using "fink configure" to set your maximum build jobs to 1 and
> attempt to build the package again.
> If you continue to have issues, please check to see if the FAQ on Fink's 
> website solves the problem.  If not, ask on one (not both, please) of
> these mailing lists:
> 
>       The Fink Users List <[email protected]>
>       The Fink Beginners List <[email protected]>,
> 
> with a carbon copy to the maintainer:
> 
>       Daniel Johnson <[email protected]>
> 
> Note that this is preferable to emailing just the maintainer directly,
> since most fink package maintainers do not have access to all possible
> hardware and software configurations.
> 
> Please try to include the complete error message in your report.  This
> generally consists of a compiler line starting with e.g. "gcc" or "g++"
> followed by the actual error output from the compiler.
> 
> Also include the following system information:
> Package manager version: 0.34.1
> Distribution version: selfupdate-rsync Mon Jul 30 21:23:27 2012, 10.8, x86_64
> Trees: local/main stable/main
> Xcode.app: 4.4
> Xcode command-line tools: 4.4.0.0.1.1249367152
> Max. Fink build jobs:  4
> 
> 
> 

I'll cc the maintainer.  I know that he has Mountain Lion.

Did you try reducing the number of build jobs to 1?  "Unable to open
file..." errors frequently come up when packages aren't set up to build
in multiple threads (though the build worked for me with 4 build jobs on
10.7/Xcode 4.4).

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to