[vlc] Re: Compilation Problem

Benjamin Pracht bigben at kikal.org
Mon Jul 26 22:28:55 CEST 2004


Le 26 juil. 04, à 19:36, Chris Belay a écrit :

> Hey,
>
> I'm trying to compile VLC on an iMAC using a Debian build of Linux.  
> All the libraries are installed properly but when I go to do a make 
> with VLC I get the following error:
>
> configure line:
> CPPFLAGS="-mpowerpc -mcpu=823 -msoft-float -mmultiple -mstring -I! 
> -I/nfs/driver/include" ./configure --disable-gtk --disable-x11 
> --disable-sdl --disable-ffmpeg --disable-dvd
>
> error:
> Making all in video_chroma
> make[3]: Entering directory `/oven/vlc-0.7.2/modules/video_chroma'
> make[4]: Entering directory `/oven/vlc-0.7.2/modules/video_chroma'
> make[4]: `libi420_rgb_plugin.so' is up to date.
> make[4]: `libi420_yuy2_plugin.so' is up to date.
> make[4]: `libi422_yuy2_plugin.so' is up to date.
> make[4]: `libi420_ymga_plugin.so' is up to date.
> source='i420_yuy2.c' object='libi420_yuy2_altivec_a-i420_yuy2.o' 
> libtool=no \
> depfile='.deps/libi420_yuy2_altivec_a-i420_yuy2.Po' 
> tmpdepfile='.deps/libi420_yu            y2_altivec_a-i420_yuy2.TPo' \
> depmode=gcc /bin/sh ../../autotools/depcomp \
> gcc -DHAVE_CONFIG_H -I. -I. -I../..   -mpowerpc -mcpu=823 -msoft-float 
> -mmultipl            e -mstring -I! -I/nfs/driver/include -DSYS_LINUX 
> -I../../include `top_builddir="            ../.." ../../vlc-config 
> --cflags builtin i420_yuy2_altivec` -Wsign-compare -Wall              
> -finline-limit-30000 -pipe -c -o libi420_yuy2_altivec_a-i420_yuy2.o 
> `test -f '            i420_yuy2.c' || echo './'`i420_yuy2.c
> i420_yuy2.c: In function `I420_YUY2':
> i420_yuy2.c:192: `vector' undeclared (first use in this function)
> i420_yuy2.c:192: (Each undeclared identifier is reported only once
> i420_yuy2.c:192: for each function it appears in.)
> i420_yuy2.c:192: parse error before `unsigned'
> i420_yuy2.c:206: `u_vec' undeclared (first use in this function)
> i420_yuy2.c:206: warning: implicit declaration of function `vec_ld'
> i420_yuy2.c:206: `v_vec' undeclared (first use in this function)
> i420_yuy2.c:207: `uv_vec' undeclared (first use in this function)
> i420_yuy2.c:207: warning: implicit declaration of function `vec_mergeh'
> i420_yuy2.c:207: `y_vec' undeclared (first use in this function)
> i420_yuy2.c:207: warning: implicit declaration of function `vec_st'
> i420_yuy2.c:207: warning: implicit declaration of function `vec_mergel'
> make[4]: *** [libi420_yuy2_altivec_a-i420_yuy2.o] Error 1
> make[4]: Leaving directory `/oven/vlc-0.7.2/modules/video_chroma'
> make[3]: *** [all-modules] Error 1
> make[3]: Leaving directory `/oven/vlc-0.7.2/modules/video_chroma'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/oven/vlc-0.7.2/modules'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/oven/vlc-0.7.2'
> make: *** [all] Error 2
>

Does you iMac have altivec support ?

I guess it isn't the case and there is a bug in our altivec detection 
under linux. Try adding the --disable-altivec flag to the configure 
script... If that doesn't work, try removing the i420_yuy2_altivec line 
in Modules.am in the modules/video_chroma directory.

-- 
BigBen

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list