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 :
- vid10.group:/home/tmp/x264# ./configure --enable-pic
- Platform: X86_64
- System: LINUX
- asm: yes
- avs: no
- lavf: no
- ffms: no
- gpac: no
- gpl: yes
- pthread: yes
- filters: resize crop select_every
- debug: no
- gprof: no
- PIC: yes
- shared: no
- visualize: no
- bit depth: 8
- You can run 'make' or 'make fprofiled' now.
|
Donc je make tout ca:
Code :
- encoder/ratecontrol.c: In function 'rate_estimate_qscale':
- encoder/ratecontrol.c:2007: warning: 'rce.tex_bits' may be used uninitialized in this function
- encoder/ratecontrol.c:2007: warning: 'rce.qscale' may be used uninitialized in this function
- encoder/ratecontrol.c:2007: warning: 'rce.mv_bits' may be used uninitialized in this function
- encoder/ratecontrol.c:2007: warning: 'rce.misc_bits' may be used uninitialized in this function
- encoder/ratecontrol.c:2007: warning: 'rce.expected_bits' may be used uninitialized in this function
- encoder/ratecontrol.c:2007: warning: 'rce.new_qscale' may be used uninitialized in this function
- encoder/ratecontrol.c:2007: warning: 'rce.expected_vbv' may be used uninitialized in this function
- 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
- 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
- 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
- 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
- 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
- encoder/encoder.c: In function 'x264_slice_write':
- encoder/encoder.c:1820: warning: 'bs_bak.cur_bits' may be used uninitialized in this function
- encoder/encoder.c:1820: warning: 'bs_bak.p_end' may be used uninitialized in this function
- encoder/encoder.c:1820: warning: 'bs_bak.p' may be used uninitialized in this function
- encoder/encoder.c:1820: warning: 'bs_bak.p_start' may be used uninitialized in this function
- 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
- 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
- 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
- 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
- yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/const-a.o common/x86/const-a.asm
- 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
- yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/bitstream-a.o common/x86/bitstream-a.asm
- 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
- ranlib libx264.a
- 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
- filters/video/resize.o: In function `init':
- resize.c:(.text+0x5cd): undefined reference to `sws_isSupportedInput'
- resize.c:(.text+0x609): undefined reference to `sws_isSupportedOutput'
- collect2: ld returned 1 exit status
- 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