shshankjain / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

Compile error msys / mingw gcc4.5.1 undefined reference to `vp8_firstpass_st #211

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
    [DEP] vpx_ports/x86_abi_support.asm.d
    [DEP] vpx_ports/emms.asm.d
    [DEP] vp8/decoder/x86/dequantize_mmx.asm.d
    [DEP] vp8/common/x86/postproc_sse2.asm.d
    [DEP] vp8/common/x86/postproc_mmx.asm.d
    [DEP] vp8/common/x86/subpixel_ssse3.asm.d
    [DEP] vp8/common/x86/iwalsh_sse2.asm.d
    [DEP] vp8/common/x86/loopfilter_sse2.asm.d
    [DEP] vp8/common/x86/subpixel_sse2.asm.d
    [DEP] vp8/common/x86/recon_sse2.asm.d
    [DEP] vp8/common/x86/idctllm_sse2.asm.d
    [DEP] vp8/common/x86/loopfilter_mmx.asm.d
    [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
    [DEP] vp8/encoder/x86/encodeopt.asm.d
    [DEP] vp8/encoder/x86/quantize_mmx.asm.d
    [DEP] vp8/encoder/x86/sad_ssse3.asm.d
    [DEP] vp8/encoder/x86/sad_sse3.asm.d
    [DEP] vp8/encoder/x86/subtract_sse2.asm.d
    [DEP] vp8/encoder/x86/quantize_sse2.asm.d
    [DEP] vp8/encoder/x86/fwalsh_sse2.asm.d
    [DEP] vp8/encoder/x86/sad_sse2.asm.d
    [DEP] vp8/encoder/x86/variance_impl_sse2.asm.d
    [DEP] vp8/encoder/x86/dct_sse2.asm.d
    [DEP] vp8/encoder/x86/subtract_mmx.asm.d
    [DEP] vp8/encoder/x86/dct_mmx.asm.d
    [DEP] vp8/encoder/x86/sad_mmx.asm.d
    [DEP] vp8/encoder/x86/variance_impl_mmx.asm.d
    [DEP] vpx_ports/x86_cpuid.c.d
    [DEP] vpx_config.c.d
    [DEP] vp8/decoder/x86/idct_blk_sse2.c.d
    [DEP] vp8/decoder/x86/idct_blk_mmx.c.d
    [DEP] vp8/decoder/x86/x86_dsystemdependent.c.d
    [DEP] vp8/decoder/reconintra_mt.c.d
    [DEP] vp8/decoder/idct_blk.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/vp8_dx_iface.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/treecoder.c.d
    [DEP] vp8/common/textblit.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/predictdc.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.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/debugmodes.c.d
    [DEP] vp8/common/blockd.c.d
    [DEP] vp8/common/alloccommon.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/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/generic/csystemdependent.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/vp8_cx_iface.c.d
    [DEP] vpx_scale/generic/gen_scalers.c.d
    [DEP] vpx_scale/generic/scalesystemdependant.c.d
    [DEP] vpx_scale/generic/yv12extend.c.d
    [DEP] vpx_scale/generic/yv12config.c.d
    [DEP] vpx_scale/generic/vpxscale.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
    [CC] vpx/src/vpx_decoder.c.o
    [CC] vpx/src/vpx_decoder_compat.c.o
    [CC] vpx/src/vpx_encoder.c.o
    [CC] vpx/src/vpx_codec.c.o
    [CC] vpx/src/vpx_image.c.o
    [CC] vpx_mem/vpx_mem.c.o
    [CC] vpx_scale/generic/vpxscale.c.o
    [CC] vpx_scale/generic/yv12config.c.o
    [CC] vpx_scale/generic/yv12extend.c.o
    [CC] vpx_scale/generic/scalesystemdependant.c.o
    [CC] vpx_scale/generic/gen_scalers.c.o
    [CC] vp8/common/alloccommon.c.o
    [CC] vp8/common/blockd.c.o
    [CC] vp8/common/debugmodes.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.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/predictdc.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/textblit.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/vp8_cx_iface.c.o
    [CC] vp8/encoder/bitstream.c.o
    [CC] vp8/encoder/boolhuff.c.o
    [CC] vp8/encoder/dct.c.o
    [CC] vp8/encoder/encodeframe.c.o
    [CC] vp8/encoder/encodeintra.c.o
    [CC] vp8/encoder/encodemb.c.o
    [CC] vp8/encoder/encodemv.c.o
    [CC] vp8/encoder/ethreading.c.o
    [CC] vp8/encoder/generic/csystemdependent.c.o
    [CC] vp8/encoder/mcomp.c.o
    [CC] vp8/encoder/modecosts.c.o
    [CC] vp8/encoder/onyx_if.c.o
    [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
    [CC] vp8/encoder/rdopt.c.o
    [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/x86/x86_csystemdependent.c.o
    [CC] vp8/encoder/x86/variance_mmx.c.o
    [CC] vp8/encoder/x86/variance_sse2.c.o
    [CC] vp8/vp8_dx_iface.c.o
    [CC] vp8/decoder/dboolhuff.c.o
    [CC] vp8/decoder/decodemv.c.o
    [CC] vp8/decoder/decodframe.c.o
    [CC] vp8/decoder/dequantize.c.o
    [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
    [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/subpixel_sse2.asm.o
    [AS] vp8/common/x86/loopfilter_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/sad_sse3.asm.o
    [AS] vp8/encoder/x86/sad_ssse3.asm.o
    [AS] vp8/encoder/x86/quantize_mmx.asm.o
    [AS] vp8/encoder/x86/encodeopt.asm.o
    [AS] vp8/decoder/x86/dequantize_mmx.asm.o
    [AS] vpx_ports/emms.asm.o
    [AS] vpx_ports/x86_abi_support.asm.o
    [AR] libvpx_g.a
    [STRIP] libvpx.a < libvpx_g.a
    [EXAMPLE] vp8cx_set_ref.c
    [DEP] vp8cx_set_ref.c.d
    [EXAMPLE] vp8_set_maps.c
    [DEP] vp8_set_maps.c.d
    [EXAMPLE] vp8_scalable_patterns.c
    [DEP] vp8_scalable_patterns.c.d
    [EXAMPLE] error_resilient.c
    [DEP] error_resilient.c.d
    [EXAMPLE] decode_with_drops.c
    [DEP] decode_with_drops.c.d
    [EXAMPLE] force_keyframe.c
    [DEP] force_keyframe.c.d
    [EXAMPLE] twopass_encoder.c
    [DEP] twopass_encoder.c.d
    [EXAMPLE] simple_encoder.c
    [DEP] simple_encoder.c.d
    [EXAMPLE] decode_to_md5.c
    [DEP] decode_to_md5.c.d
    [DEP] md5_utils.c.d
    [EXAMPLE] postproc.c
    [DEP] postproc.c.d
    [EXAMPLE] simple_decoder.c
    [DEP] simple_decoder.c.d
    [DEP] ivfenc.c.d
    [DEP] y4minput.c.d
    [DEP] args.c.d
    [DEP] ivfdec.c.d
    [DOXY] samples.dox
    [DOXY] ivfdec.dox
    [DOXY] ivfenc.dox
    [DOXY] simple_decoder.dox
    [DOXY] postproc.dox
    [DOXY] decode_to_md5.dox
    [DOXY] simple_encoder.dox
    [DOXY] twopass_encoder.dox
    [DOXY] force_keyframe.dox
    [DOXY] decode_with_drops.dox
    [DOXY] error_resilient.dox
    [DOXY] vp8_scalable_patterns.dox
    [DOXY] vp8_set_maps.dox
    [DOXY] vp8cx_set_ref.dox
    [CC] md5_utils.c.o
    [CC] args.c.o
    [CC] ivfdec.c.o
    [LD] ivfdec
    [CC] y4minput.c.o
    [CC] ivfenc.c.o
    [LD] ivfenc
$ make > makerror.log
vp8/vp8_cx_iface.c:107:0: warning: "ERROR" redefined
D:\WinLinux\Minsys\Mingw\include/wingdi.h:313:0: note: this is the location of t
he previous definition
vp8/encoder/onyx_if.c: In function 'vp8cx_temp_blur1_c':
vp8/encoder/onyx_if.c:3784:45: warning: pointer targets in passing argument 7 of
 'apply_temporal_filter' differ in signedness
vp8/encoder/onyx_if.c:3448:13: note: expected 'int *' but argument is of type 'u
nsigned int *'
vp8/encoder/onyx_if.c:3784:45: warning: pointer targets in passing argument 8 of
 'apply_temporal_filter' differ in signedness
vp8/encoder/onyx_if.c:3448:13: note: expected 'int *' but argument is of type 'u
nsigned int *'
vp8/encoder/onyx_if.c:3793:45: warning: pointer targets in passing argument 7 of
 'apply_temporal_filter' differ in signedness
vp8/encoder/onyx_if.c:3448:13: note: expected 'int *' but argument is of type 'u
nsigned int *'
vp8/encoder/onyx_if.c:3793:45: warning: pointer targets in passing argument 8 of
 'apply_temporal_filter' differ in signedness
vp8/encoder/onyx_if.c:3448:13: note: expected 'int *' but argument is of type 'u
nsigned int *'
vp8/encoder/onyx_if.c:3802:45: warning: pointer targets in passing argument 7 of
 'apply_temporal_filter' differ in signedness
vp8/encoder/onyx_if.c:3448:13: note: expected 'int *' but argument is of type 'u
nsigned int *'
vp8/encoder/onyx_if.c:3802:45: warning: pointer targets in passing argument 8 of
 'apply_temporal_filter' differ in signedness
vp8/encoder/onyx_if.c:3448:13: note: expected 'int *' but argument is of type 'u
nsigned int *'
vp8/encoder/onyx_if.c: In function 'vp8_set_internal_size':
vp8/encoder/onyx_if.c:5826:5: warning: comparison of unsigned expression >= 0 is
 always true
vp8/encoder/onyx_if.c:5831:5: warning: comparison of unsigned expression >= 0 is
 always true
WARNING: failed to find text for block
WARNING: failed to find text for block
WARNING: failed to find text for block
WARNING: failed to find text for block
WARNING: failed to find text for block
WARNING: failed to find text for block
WARNING: failed to find text for block
WARNING: failed to find text for block
WARNING: failed to find text for block
WARNING: failed to find text for block
WARNING: failed to find text for block
WARNING: failed to find text for block
WARNING: failed to find text for block
WARNING: failed to find text for block
WARNING: failed to find text for block
./libvpx.a(onyx_if.c.o):(.text+0x11d1): undefined reference to `vp8_firstpass_st
ats_sz'
./libvpx.a(onyx_if.c.o):(.text+0x11f5): undefined reference to `vp8_firstpass_st
ats_sz'
collect2: ld returned 1 exit status
make[1]: *** [ivfenc] Error 1
make: *** [.DEFAULT] Error 2

Original issue reported on code.google.com by yxml...@gmail.com on 23 Oct 2010 at 7:39

GoogleCodeExporter commented 9 years ago
I've used msys gcc 4.5.0 successfully with libvpx 0.9.5
msys / gcc is here
http://sourceforge.net/projects/mingw/
Where did you get 4.5.1?

To be sure I was using the right compiler, I configured with CC=
CC=mingw32-gcc ../libvpx/configure --target=x86-win32-gcc --disable-psnr 
--disable-postproc

Original comment by fbarch...@chromium.org on 3 Nov 2010 at 6:56

GoogleCodeExporter commented 9 years ago

Original comment by iss...@webmproject.org on 16 Mar 2011 at 2:51

GoogleCodeExporter commented 9 years ago
Trying a build with msys gcc v4.5.2 today... going to close this if things work 
as expected.

Original comment by tomfine...@google.com on 25 Mar 2011 at 4:02

GoogleCodeExporter commented 9 years ago
Closing.  Works w/gcc v4.5.2 @ v0.9.6-102-g9103699.

Please update the issue, or file a new one w/reproduction steps if the error 
can be reproduced.

Thanks!

Original comment by tomfine...@google.com on 5 Apr 2011 at 12:07

GoogleCodeExporter commented 9 years ago

Original comment by albe...@google.com on 8 Mar 2012 at 12:10

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 10f4257c3b87.

Original comment by jz...@google.com on 4 Jul 2014 at 6:36