#2 FTBS: Latest version of libxavs from SVN r55 20110821 -- multiple definition of xavs_emms, xavs_deblock_v_chroma_mmxext, xavs_deblock_h_chroma_mmxext

v1.0 (example)
open
nobody
None
5
2014-05-15
2014-05-15
J G Miller
No

Latest version of libxavs from SVN r55 20110821 fails to build from source on

Linux Mint 16 Petra (derivative of Ubuntu 13.10" Saucy Salamander")

i386 architecture

gcc --version
gcc (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1

/bin/bash /srv/svn/libxavs/configure --prefix="/usr/local/X11R6" --enable-pic --enable-shared

Platform: X86
System: LINUX
asm: auto
avis input:
mp4 output:
pthread: yes
debug: no
gprof: no
PIC: yes
shared: yes
visualize: no

linker error due to multiple definition of xavs_emms, xavs_deblock_v_chroma_mmxext, xavs_deblock_h_chroma_mmxext

gcc -shared -o libxavs.so.1 common/mc.o common/predict.o common/pixel.o common/macroblock.o common/frame.o common/dct.o common/cpu.o common/common.o common/mdate.o common/csp.o common/set.o common/quant.o encoder/analyse.o encoder/me.o encoder/ratecontrol.o encoder/set.o encoder/macroblock.o encoder/cavlc.o encoder/encoder.o encoder/eval.o encoder/lookahead.o common/i386/dct-c.o common/i386/mc-c.o common/i386/predict-c.o common/i386/cpu-a.o common/i386/dct-sse2.o common/i386/deblock.o common/i386/deblock_inter.o common/i386/deblock_intra.o common/i386/mc-a01.o common/i386/mc-a.o common/i386/pixel-a.o common/i386/pixel-sse2.o common/i386/predict-a.o common/i386/qpel.o common/i386/quant_sse2.o -Wl,-soname,-Wl,-soname,libxavs.so.1 -lm -lpthread -Wl,-Bsymbolic -s
common/i386/cpu-a.o: In function `xavs_emms':
common/i386/cpu-a.asm:(.text+0x50): multiple definition of `xavs_emms'
common/cpu.o:cpu.c:(.text+0x20): first defined here
common/i386/deblock_inter.o: In function `xavs_deblock_v_chroma_mmxext':
common/i386/deblock_inter.asm:(.text+0x0): multiple definition of `xavs_deblock_v_chroma_mmxext'
common/i386/deblock.o:common/i386/deblock.asm:(.text+0x0): first defined here
common/i386/deblock_inter.o: In function `xavs_deblock_h_chroma_mmxext':
common/i386/deblock_inter.asm:(.text+0x140): multiple definition of `xavs_deblock_h_chroma_mmxext'
common/i386/deblock.o:common/i386/deblock.asm:(.text+0x130): first defined here
collect2: error: ld returned 1 exit status
make: *** [libxavs.so.1] Error 1

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks