[x264-devel] X264, amd64, compile error

Rolf Schöpfer rs at samplezone.ch
Fri Feb 19 19:54:16 CET 2010


Hi

I'm not sure if this is the right place but I didn't find another list. Trying to compile x264 on Debian Lenny (amd64) ends with an error. Spent several hours for a solution but didn't succeed. Is 
this this a known error?


# ./configure --enable-shared
Platform:   X86_64
System:     LINUX
asm:        yes
avs input:  no
lavf input: yes
ffms input: no
mp4 output: yes
pthread:    yes
debug:      no
gprof:      no
PIC:        yes
shared:     yes
visualize:  no

You can run 'make' or 'make fprofiled' now.


#make
...
...
gcc -O3 -ffast-math  -Wall -I. -std=gnu99    -fPIC -s -fomit-frame-pointer   -c -o encoder/lookahead.o encoder/lookahead.c
gcc -O3 -ffast-math  -Wall -I. -std=gnu99    -fPIC -s -fomit-frame-pointer   -c -o common/x86/mc-c.o common/x86/mc-c.c
gcc -O3 -ffast-math  -Wall -I. -std=gnu99    -fPIC -s -fomit-frame-pointer   -c -o common/x86/predict-c.o common/x86/predict-c.c
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/cabac-a.o common/x86/cabac-a.asm
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/dct-a.o common/x86/dct-a.asm
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/deblock-a.o common/x86/deblock-a.asm
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/mc-a.o common/x86/mc-a.asm
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/mc-a2.o common/x86/mc-a2.asm
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/pixel-a.o common/x86/pixel-a.asm
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/predict-a.o common/x86/predict-a.asm
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/quant-a.o common/x86/quant-a.asm
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/sad-a.o common/x86/sad-a.asm
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/cpu-a.o common/x86/cpu-a.asm
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/dct-64.o common/x86/dct-64.asm
gcc -shared -o libx264.so.85 common/mc.o common/predict.o common/pixel.o common/macroblock.o common/frame.o common/dct.o common/cpu.o common/cabac.o common/common.o common/mdate.o common/set.o 
common/quant.o common/vlc.o encoder/analyse.o encoder/me.o encoder/ratecontrol.o encoder/set.o encoder/macroblock.o encoder/cabac.o encoder/cavlc.o encoder/encoder.o encoder/lookahead.o 
common/x86/mc-c.o common/x86/predict-c.o common/x86/cabac-a.o common/x86/dct-a.o common/x86/deblock-a.o common/x86/mc-a.o common/x86/mc-a2.o common/x86/pixel-a.o common/x86/predict-a.o 
common/x86/quant-a.o common/x86/sad-a.o common/x86/cpu-a.o common/x86/dct-64.o  -Wl,-soname,libx264.so.85 -lm -lpthread -Wl,-Bsymbolic -s
/usr/bin/ld: i386:x86-64 architecture of input file `common/x86/cabac-a.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `common/x86/dct-a.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `common/x86/deblock-a.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `common/x86/mc-a.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `common/x86/mc-a2.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `common/x86/pixel-a.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `common/x86/predict-a.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `common/x86/quant-a.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `common/x86/sad-a.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `common/x86/cpu-a.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `common/x86/dct-64.o' is incompatible with i386 output
collect2: ld returned 1 exit status
make: *** [libx264.so.85] Fehler 1


Thanks for any hint, Rolf


More information about the x264-devel mailing list