Citation
vnto2000
efface tout avec make clean puis essaye ceci:
CC=gcc ./configure etc... etc...
ca va peut etre marcher...
voila!
J'ai essayer exactement ce que tu vien de m'ecrire CC=gcc ./configure etc... etc.. et voici la reponse que je recois:
[root@localhost mpeg2dec-dvdrip]# CC=gcc ./configure etc... etc...
configure: error: can only configure for one host and one target at a time
et oui j'ai fait make clean avant de faire ca!
Bon pour vous aider a m'aider, en faite ce n'est pas vraiment dvdrip qui me donne de trouble, ces que dans le fichier INSTALL de dvdrip, ces ecrit que je dois installer a52dec-dvdrip et mpeg2dec-dvdrip avant de faire la vrai installation de dvdrip. Bon pour ce qui est de l'installation du premier a52dec-dvdrip je n'ai eu aucun probleme mais pour ce qui est de mpeg2dec-dvdrip, lorseque je fait
./configure
voici ce que je recois:
[root@localhost mpeg2dec-dvdrip]# ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether gcc needs -traditional... (cached) no
checking if gcc supports -g -O3 flags... yes
checking if gcc supports -g -O3 -fomit-frame-pointer flags... yes
checking if gcc supports -g -O3 -fomit-frame-pointer -mcpu=pentiumpro flags... yes
checking build system type... i686-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... none
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for inttypes.h... (cached) yes
checking for getopt.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for ANSI C header files... (cached) yes
checking for size_t... (cached) yes
checking whether byte ordering is bigendian... (cached) no
checking for memalign... (cached) yes
checking return type of signal handlers... (cached) void
checking for mlib_VideoColorYUV2RGB420 in -lmlib... (cached) no
checking for X... (cached) no
checking for mlib_VideoColorYUV2RGB420 in -lmlib... (cached) no
checking for sdl-config... no
checking if gcc supports -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror flags... yes
checking __attribute__ ((aligned ())) support... (cached) 64
creating ./config.status
creating Makefile
creating autotools/Makefile
creating include/Makefile
creating test/Makefile
creating doc/Makefile
creating src/Makefile
creating libmpeg2-dvdrip/Makefile
creating libvo-dvdrip/Makefile
creating include/config.h
include/config.h is unchanged
ensuite si je fait
make
voici ce que je recoit:
[root@localhost mpeg2dec-dvdrip]# make
Making all in autotools
make[1]: Entering directory `/home/download/app/dvdrip/dvdrip-0.1.19/mpeg2dec-dvdrip/autotools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/download/app/dvdrip/dvdrip-0.1.19/mpeg2dec-dvdrip/autotools'
Making all in include
make[1]: Entering directory `/home/download/app/dvdrip/dvdrip-0.1.19/mpeg2dec-dvdrip/include'
make[1]: Leaving directory `/home/download/app/dvdrip/dvdrip-0.1.19/mpeg2dec-dvdrip/include'
Making all in test
make[1]: Entering directory `/home/download/app/dvdrip/dvdrip-0.1.19/mpeg2dec-dvdrip/test'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/download/app/dvdrip/dvdrip-0.1.19/mpeg2dec-dvdrip/test'
Making all in doc
make[1]: Entering directory `/home/download/app/dvdrip/dvdrip-0.1.19/mpeg2dec-dvdrip/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/download/app/dvdrip/dvdrip-0.1.19/mpeg2dec-dvdrip/doc'
Making all in libmpeg2-dvdrip
make[1]: Entering directory `/home/download/app/dvdrip/dvdrip-0.1.19/mpeg2dec-dvdrip/libmpeg2-dvdrip'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -c decode.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -Wp,-MD,.deps/decode.pp -c decode.c -o decode.o
echo timestamp > decode.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -c header.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -Wp,-MD,.deps/header.pp -c header.c -o header.o
echo timestamp > header.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -c stats.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -Wp,-MD,.deps/stats.pp -c stats.c -o stats.o
echo timestamp > stats.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -c slice.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -Wp,-MD,.deps/slice.pp -c slice.c -o slice.o
echo timestamp > slice.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -c motion_comp.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -Wp,-MD,.deps/motion_comp.pp -c motion_comp.c -o motion_comp.o
echo timestamp > motion_comp.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -c motion_comp_mlib.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -Wp,-MD,.deps/motion_comp_mlib.pp -c motion_comp_mlib.c -o motion_comp_mlib.o
echo timestamp > motion_comp_mlib.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -c motion_comp_mmx.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -Wp,-MD,.deps/motion_comp_mmx.pp -c motion_comp_mmx.c -o motion_comp_mmx.o
echo timestamp > motion_comp_mmx.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -c idct.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -Wp,-MD,.deps/idct.pp -c idct.c -o idct.o
echo timestamp > idct.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -c idct_mlib.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -Wp,-MD,.deps/idct_mlib.pp -c idct_mlib.c -o idct_mlib.o
echo timestamp > idct_mlib.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -c idct_mmx.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -Wp,-MD,.deps/idct_mmx.pp -c idct_mmx.c -o idct_mmx.o
echo timestamp > idct_mmx.lo
/bin/sh ../libtool --mode=link gcc -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -o libmpeg2-dvdrip.la -rpath /usr/local/lib -no-undefined decode.lo header.lo stats.lo slice.lo motion_comp.lo motion_comp_mlib.lo motion_comp_mmx.lo idct.lo idct_mlib.lo idct_mmx.lo
mkdir .libs
ar cru .libs/libmpeg2-dvdrip.a decode.o header.o stats.o slice.o motion_comp.o motion_comp_mlib.o motion_comp_mmx.o idct.o idct_mlib.o idct_mmx.o
ranlib .libs/libmpeg2-dvdrip.a
creating libmpeg2-dvdrip.la
(cd .libs && rm -f libmpeg2-dvdrip.la && ln -s ../libmpeg2-dvdrip.la libmpeg2-dvdrip.la)
make[1]: Leaving directory `/home/download/app/dvdrip/dvdrip-0.1.19/mpeg2dec-dvdrip/libmpeg2-dvdrip'
Making all in libvo-dvdrip
make[1]: Entering directory `/home/download/app/dvdrip/dvdrip-0.1.19/mpeg2dec-dvdrip/libvo-dvdrip'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -c video_out.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -Wp,-MD,.deps/video_out.pp -c video_out.c -o video_out.o
echo timestamp > video_out.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -c video_out_x11.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -Wp,-MD,.deps/video_out_x11.pp -c video_out_x11.c -o video_out_x11.o
echo timestamp > video_out_x11.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -c video_out_sdl.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -Wp,-MD,.deps/video_out_sdl.pp -c video_out_sdl.c -o video_out_sdl.o
echo timestamp > video_out_sdl.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -c video_out_null.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -Wp,-MD,.deps/video_out_null.pp -c video_out_null.c -o video_out_null.o
echo timestamp > video_out_null.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -c video_out_bmp.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -Wp,-MD,.deps/video_out_bmp.pp -c video_out_bmp.c -o video_out_bmp.o
echo timestamp > video_out_bmp.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -c video_out_pgm.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -Wp,-MD,.deps/video_out_pgm.pp -c video_out_pgm.c -o video_out_pgm.o
echo timestamp > video_out_pgm.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -c video_out_mga.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -Wp,-MD,.deps/video_out_mga.pp -c video_out_mga.c -o video_out_mga.o
echo timestamp > video_out_mga.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -c yuv2rgb.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -Wp,-MD,.deps/yuv2rgb.pp -c yuv2rgb.c -o yuv2rgb.o
echo timestamp > yuv2rgb.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -c yuv2rgb_mlib.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -Wp,-MD,.deps/yuv2rgb_mlib.pp -c yuv2rgb_mlib.c -o yuv2rgb_mlib.o
echo timestamp > yuv2rgb_mlib.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -c yuv2rgb_mmx.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wall -Werror -Wp,-MD,.deps/yuv2rgb_mmx.pp -c yuv2rgb_mmx.c -o yuv2rgb_mmx.o
yuv2rgb_mmx.c: In function `mmx_yuv2rgb':
yuv2rgb_mmx.c:52: warning: integer constant is too large for "long" type
yuv2rgb_mmx.c:53: warning: integer constant is too large for "long" type
yuv2rgb_mmx.c:54: warning: integer constant is too large for "long" type
yuv2rgb_mmx.c:55: warning: integer constant is too large for "long" type
yuv2rgb_mmx.c:56: warning: integer constant is too large for "long" type
yuv2rgb_mmx.c:57: warning: integer constant is too large for "long" type
yuv2rgb_mmx.c:58: warning: integer constant is too large for "long" type
yuv2rgb_mmx.c:59: warning: integer constant is too large for "long" type
yuv2rgb_mmx.c: In function `mmx_unpack_16rgb':
yuv2rgb_mmx.c:128: warning: integer constant is too large for "long" type
yuv2rgb_mmx.c:129: warning: integer constant is too large for "long" type
yuv2rgb_mmx.c:130: warning: integer constant is too large for "long" type
make[1]: *** [yuv2rgb_mmx.lo] Error 1
make[1]: Leaving directory `/home/download/app/dvdrip/dvdrip-0.1.19/mpeg2dec-dvdrip/libvo-dvdrip'
make: *** [all-recursive] Error 1
bon voila mon probleme!
si quelqu'un reussi a m'aider avec ca et que ca fonctionne, je lui dois une biere!