Cross compile on Ubunbu 11.10 under VMware Player 4.0.0 build-471780.
<Source version>
jjlee3@ubuntu:~/libvpx$ git log
commit e59d53e999af2098e9d3690ec6d396c19a8150b4
Merge: 8b153a5 bdb4fb8
Author: Scott LaVarnway <
slava...@google.com>
Date: Fri Oct 21 06:30:57 2011 -0700
:
:
<Command Lines>
export PATH="$PATH:/home/jjlee3/software/mingw-w64/mingw-w64-i686/bin"
export PKG_CONFIG_PATH="/home/jjlee3/software/ffmpeg/packages/win32/
lib/pkgconfig"
make clean
CROSS=i686-w64-mingw32- ./configure --prefix="/home/jjlee3/software/
ffmpeg/packages/win32" --target=x86-win32-gcc --enable-vp8
make install
<Output>
:
:
/home/jjlee3/software/mingw-w64/mingw-w64-i686/bin/../lib/gcc/i686-w64-
mingw32/4.6.1/../../../../i686-w64-mingw32/include/_mingw.h:244:0:
note: this is the location of the previous definition
[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/temporal_filter_apply_sse2.asm.o
[AS] vp8/encoder/x86/sad_sse3.asm.o
[AS] vp8/encoder/x86/sad_ssse3.asm.o
[AS] vp8/encoder/x86/variance_impl_ssse3.asm.o
[AS] vp8/encoder/x86/quantize_ssse3.asm.o
[AS] vp8/encoder/x86/sad_sse4.asm.o
[AS] vp8/encoder/x86/quantize_sse4.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
[CREATE] vpx.pc
[INSTALL] /home/jjlee3/software/ffmpeg/packages/win32/lib/libvpx.a
[INSTALL] /home/jjlee3/software/ffmpeg/packages/win32/lib/
pkgconfig/vpx.pc
[EXAMPLE] vp8cx_set_ref.c
[DEP] vp8cx_set_ref.c.d
[EXAMPLE] vp8_set_maps.c
[DEP] vp8_set_maps.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] vp8_scalable_patterns.c.d
[DEP] vpxenc.c.d
[DEP] libmkv/EbmlWriter.c.d
[DEP] tools_common.c.d
[DEP] y4minput.c.d
[DEP] args.c.d
[DEP] vpxdec.c.d
[DEP] nestegg/src/nestegg.c.d
[DEP] nestegg/halloc/src/halloc.c.d
[CC] md5_utils.c.o
[CC] args.c.o
[CC] tools_common.c.o
[CC] nestegg/halloc/src/halloc.c.o
[CC] nestegg/src/nestegg.c.o
[CC] vpxdec.c.o
[LD] vpxdec
./libvpx.a(scalesystemdependent.c.o):(.bss+0x8): multiple definition
of `_vp8_yv12_extend_frame_borders_ptr'
./libvpx.a(onyxd_if.c.o):(.bss+0x8): first defined here
./libvpx.a(scalesystemdependent.c.o):(.bss+0x0): multiple definition
of `_vp8_yv12_copy_y_ptr'
./libvpx.a(onyxd_if.c.o):(.bss+0x0): first defined here
./libvpx.a(scalesystemdependent.c.o):(.bss+0x4): multiple definition
of `_vp8_yv12_copy_frame_ptr'
./libvpx.a(onyxd_if.c.o):(.bss+0x4): first defined here
./libvpx.a(decodframe.c.o):(.bss+0x8): multiple definition of
`_vp8_yv12_extend_frame_borders_ptr'
./libvpx.a(onyxd_if.c.o):(.bss+0x8): first defined here
./libvpx.a(decodframe.c.o):(.bss+0x0): multiple definition of
`_vp8_yv12_copy_y_ptr'
./libvpx.a(onyxd_if.c.o):(.bss+0x0): first defined here
./libvpx.a(decodframe.c.o):(.bss+0x4): multiple definition of
`_vp8_yv12_copy_frame_ptr'
./libvpx.a(onyxd_if.c.o):(.bss+0x4): first defined here
./libvpx.a(postproc.c.o):(.bss+0x4): multiple definition of
`_vp8_yv12_copy_frame_ptr'
./libvpx.a(onyxd_if.c.o):(.bss+0x4): first defined here
./libvpx.a(postproc.c.o):(.bss+0x0): multiple definition of
`_vp8_yv12_copy_y_ptr'
./libvpx.a(onyxd_if.c.o):(.bss+0x0): first defined here
./libvpx.a(postproc.c.o):(.bss+0x8): multiple definition of
`_vp8_yv12_extend_frame_borders_ptr'
./libvpx.a(onyxd_if.c.o):(.bss+0x8): first defined here
./libvpx.a(gen_scalers.c.o):(.bss+0x0): multiple definition of
`_vp8_yv12_copy_y_ptr'
./libvpx.a(onyxd_if.c.o):(.bss+0x0): first defined here
./libvpx.a(gen_scalers.c.o):(.bss+0x4): multiple definition of
`_vp8_yv12_copy_frame_ptr'
./libvpx.a(onyxd_if.c.o):(.bss+0x4): first defined here
./libvpx.a(gen_scalers.c.o):(.bss+0x8): multiple definition of
`_vp8_yv12_extend_frame_borders_ptr'
./libvpx.a(onyxd_if.c.o):(.bss+0x8): first defined here
./libvpx.a(yv12extend.c.o):(.bss+0x8): multiple definition of
`_vp8_yv12_extend_frame_borders_ptr'
./libvpx.a(onyxd_if.c.o):(.bss+0x8): first defined here
./libvpx.a(yv12extend.c.o):(.bss+0x0): multiple definition of
`_vp8_yv12_copy_y_ptr'
./libvpx.a(onyxd_if.c.o):(.bss+0x0): first defined here
./libvpx.a(yv12extend.c.o):(.bss+0x4): multiple definition of
`_vp8_yv12_copy_frame_ptr'
./libvpx.a(onyxd_if.c.o):(.bss+0x4): first defined here
collect2: ld returned 1 exit status
make[1]: *** [vpxdec] Error 1
make: *** [.DEFAULT] Error 2