[x264-devel] cannot compile svn > 19/11/07 - debian sid amd64

chris rogers chrisrogers256 at gmail.com
Sat Nov 24 18:42:17 CET 2007


hello ,

I have the same problem with my gentoo 64  .


( gcc-4.2.2 ; glibc 2.7 ; yasm 0.6.2 )



"gcc -shared -o libx264.so.57 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/csp.o common/set.o common/quant.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/eval.o
common/i386/mc-c.o common/i386/predict-c.o common/amd64/dct-a.o
common/amd64/cpu-a.o common/amd64/pixel-a.o common/amd64/mc-a.o
common/amd64/mc-a2.o common/amd64/predict-a.o
common/amd64/pixel-sse2.o common/amd64/quant-a.o
common/amd64/deblock-a.o -Wl,-soname,libx264.so.57 -lm -lpthread -s
gcc -o x264 x264.o matroska.o muxers.o libx264.a -lm -lpthread -s
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../x86_64-pc-linux-gnu/bin/ld:
common/amd64/pixel-sse2.o: relocation R_X86_64_PC32 against
`x264_pixel_sad_8x4_mmxext' can not be used when making a shared
object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../x86_64-pc-linux-gnu/bin/ld:
final link failed: Bad value
collect2: ld a retourné 1 code d'état d'exécution
make: *** [libx264.so.57] Erreur 1
make: *** Attente des tâches non terminées....
 *
 * ERROR: media-libs/x264-svn-20079999 failed.
 * Call stack:
 *               ebuild.sh, line 1762:  Called dyn_compile
 *               ebuild.sh, line  891:  Called qa_call 'src_compile'
 *               ebuild.sh, line   35:  Called src_compile
 *             environment, line 2436:  Called die
 * The specific snippet of code:
 *       emake || diefunc "$FUNCNAME" "$LINENO" "$?" "emake failed";
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call
stack if relevant.
 * A complete build log is located at
'/var/tmp/portage/media-libs/x264-svn-20079999/temp/build.log'.
"



More information about the x264-devel mailing list