Compilation de x264

Compilation de x264 - Codes et scripts - Linux et OS Alternatifs

Marsh Posté le 02-11-2010 à 18:54:24    

Bonjour,
j'ai beau cherché partout sur le net pour compiler le codec x264 fournit par la team VLC avec l'option --enable-pic.
Donc voici les logs ( En utilisant ./configure --enable-pic ).
 

Code :
  1. vid10.group:/home/tmp/x264# ./configure --enable-pic
  2. Platform:   X86_64
  3. System:     LINUX
  4. asm:        yes
  5. avs:        no
  6. lavf:       no
  7. ffms:       no
  8. gpac:       no
  9. gpl:        yes
  10. pthread:    yes
  11. filters:    resize crop select_every
  12. debug:      no
  13. gprof:      no
  14. PIC:        yes
  15. shared:     no
  16. visualize:  no
  17. bit depth:  8
  18. You can run 'make' or 'make fprofiled' now.


 
Donc je make tout ca:

Code :
  1. encoder/ratecontrol.c: In function 'rate_estimate_qscale':
  2. encoder/ratecontrol.c:2007: warning: 'rce.tex_bits' may be used uninitialized in this function
  3. encoder/ratecontrol.c:2007: warning: 'rce.qscale' may be used uninitialized in this function
  4. encoder/ratecontrol.c:2007: warning: 'rce.mv_bits' may be used uninitialized in this function
  5. encoder/ratecontrol.c:2007: warning: 'rce.misc_bits' may be used uninitialized in this function
  6. encoder/ratecontrol.c:2007: warning: 'rce.expected_bits' may be used uninitialized in this function
  7. encoder/ratecontrol.c:2007: warning: 'rce.new_qscale' may be used uninitialized in this function
  8. encoder/ratecontrol.c:2007: warning: 'rce.expected_vbv' may be used uninitialized in this function
  9. gcc -Wshadow -O3 -ffast-math  -Wall -I. -std=gnu99  -fPIC -s -fomit-frame-pointer -fno-tree-vectorize   -c -o encoder/set.o encoder/set.c
  10. gcc -Wshadow -O3 -ffast-math  -Wall -I. -std=gnu99  -fPIC -s -fomit-frame-pointer -fno-tree-vectorize   -c -o encoder/macroblock.o encoder/macroblock.c
  11. gcc -Wshadow -O3 -ffast-math  -Wall -I. -std=gnu99  -fPIC -s -fomit-frame-pointer -fno-tree-vectorize   -c -o encoder/cabac.o encoder/cabac.c
  12. gcc -Wshadow -O3 -ffast-math  -Wall -I. -std=gnu99  -fPIC -s -fomit-frame-pointer -fno-tree-vectorize   -c -o encoder/cavlc.o encoder/cavlc.c
  13. gcc -Wshadow -O3 -ffast-math  -Wall -I. -std=gnu99  -fPIC -s -fomit-frame-pointer -fno-tree-vectorize   -c -o encoder/encoder.o encoder/encoder.c
  14. encoder/encoder.c: In function 'x264_slice_write':
  15. encoder/encoder.c:1820: warning: 'bs_bak.cur_bits' may be used uninitialized in this function
  16. encoder/encoder.c:1820: warning: 'bs_bak.p_end' may be used uninitialized in this function
  17. encoder/encoder.c:1820: warning: 'bs_bak.p' may be used uninitialized in this function
  18. encoder/encoder.c:1820: warning: 'bs_bak.p_start' may be used uninitialized in this function
  19. gcc -Wshadow -O3 -ffast-math  -Wall -I. -std=gnu99  -fPIC -s -fomit-frame-pointer -fno-tree-vectorize   -c -o encoder/lookahead.o encoder/lookahead.c
  20. gcc -Wshadow -O3 -ffast-math  -Wall -I. -std=gnu99  -fPIC -s -fomit-frame-pointer -fno-tree-vectorize   -c -o common/threadpool.o common/threadpool.c
  21. gcc -Wshadow -O3 -ffast-math  -Wall -I. -std=gnu99  -fPIC -s -fomit-frame-pointer -fno-tree-vectorize   -c -o common/x86/mc-c.o common/x86/mc-c.c
  22. gcc -Wshadow -O3 -ffast-math  -Wall -I. -std=gnu99  -fPIC -s -fomit-frame-pointer -fno-tree-vectorize   -c -o common/x86/predict-c.o common/x86/predict-c.c
  23. yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/const-a.o common/x86/const-a.asm
  24. yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/cabac-a.o common/x86/cabac-a.asm
  25. yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/dct-a.o common/x86/dct-a.asm
  26. yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/deblock-a.o common/x86/deblock-a.asm
  27. yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/mc-a.o common/x86/mc-a.asm
  28. yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/mc-a2.o common/x86/mc-a2.asm
  29. yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/pixel-a.o common/x86/pixel-a.asm
  30. yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/predict-a.o common/x86/predict-a.asm
  31. yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/quant-a.o common/x86/quant-a.asm
  32. yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/sad-a.o common/x86/sad-a.asm
  33. yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/cpu-a.o common/x86/cpu-a.asm
  34. yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/dct-64.o common/x86/dct-64.asm
  35. yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/bitstream-a.o common/x86/bitstream-a.asm
  36. ar rc libx264.a 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/rectangle.o common/set.o common/quant.o common/deblock.o common/vlc.o common/mvpred.o common/bitstream.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/threadpool.o common/x86/mc-c.o common/x86/predict-c.o common/x86/const-a.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 common/x86/bitstream-a.o
  37. ranlib libx264.a
  38. gcc -o x264 x264.o input/input.o input/timecode.o input/raw.o input/y4m.o output/raw.o output/matroska.o output/matroska_ebml.o output/flv.o output/flv_bytestream.o filters/filters.o filters/video/video.o filters/video/source.o filters/video/internal.o filters/video/resize.o filters/video/cache.o filters/video/fix_vfr_pts.o filters/video/select_every.o filters/video/crop.o filters/video/depth.o input/thread.o libx264.a -lswscale -lavutil  -lm -lpthread -Wl,-Bsymbolic -s
  39. filters/video/resize.o: In function `init':
  40. resize.c:(.text+0x5cd): undefined reference to `sws_isSupportedInput'
  41. resize.c:(.text+0x609): undefined reference to `sws_isSupportedOutput'
  42. collect2: ld returned 1 exit status
  43. make: *** [x264] Erreur 1


 
Si j’enlève --enable-pic du ./configure ca passe comme une lettre à la Poste.
 
Quelqu'un peut m'aider?
Merci d'avance.
 
 
PS: la config du serveur est la dernière Debian Lenny 64bits.


Message édité par foxyfox le 02-11-2010 à 18:56:10
Reply

Marsh Posté le 02-11-2010 à 18:54:24   

Reply

Marsh Posté le 03-11-2010 à 01:34:06    

J'ai réglé le soucis en réinstallant un OS 32bits..

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed