Re: error building avifile on ppc

Thorsten Johannvorderbrueggen <[email protected]> Fri, 14 Oct 2005 21:35:05 +0200
Newsgroups gmane.comp.multimedia.avifile.general
Message-ID <[email protected]>
Is this list alive?


Thorsten Johannvorderbrueggen wrote:

> Hello list,
>
> i try to build (Slackintosh) - packages of avifile and get some error:
>
> make[3]: Leaving directory 
> `/root/ablage/temp/avifile-0.7-0.7.43/ffmpeg/libavcodec/mlib'
> Making all in ppc
> make[3]: Entering directory 
> `/root/ablage/temp/avifile-0.7-0.7.43/ffmpeg/libavcodec/ppc'
> /bin/sh ../../../libtool --mode=compile powerpc-slackware-linux-gcc 
> -DHAVE_CONFIG_H -I. -I. -I../../../include   -DHAVE_AV_CONFIG_H 
> -I./../.. -Wall -
> Wno-unused -I../../../include  -O2 -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c dsputil_altivec.c
> powerpc-slackware-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include 
> -DHAVE_AV_CONFIG_H -I./../.. -Wall -Wno-unused -I../../../include -O2 
> -D_LARG
> EFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c 
> dsputil_altivec.c  -fPIC -DPIC -o .libs/dsputil_altivec.o
> dsputil_altivec.c: In function `sad16_x2_altivec':
> dsputil_altivec.c:58: error: syntax error before "unsigned"
> dsputil_altivec.c:59: error: `vector' undeclared (first use in this 
> function)
> dsputil_altivec.c:59: error: (Each undeclared identifier is reported 
> only once
> dsputil_altivec.c:59: error: for each function it appears in.)
> dsputil_altivec.c:65: error: `sad' undeclared (first use in this 
> function)
> dsputil_altivec.c:65: error: parse error before "unsigned"
> dsputil_altivec.c:72: error: `tv' undeclared (first use in this function)
> dsputil_altivec.c:72: error: parse error before "unsigned"
> dsputil_altivec.c:73: error: `pix1v' undeclared (first use in this 
> function)
> dsputil_altivec.c:73: warning: implicit declaration of function 
> `vec_perm'
> dsputil_altivec.c:73: warning: implicit declaration of function 
> `vec_lvsl'
> dsputil_altivec.c:75: error: parse error before "unsigned"
> dsputil_altivec.c:76: error: `pix2v' undeclared (first use in this 
> function)
> dsputil_altivec.c:78: error: parse error before "unsigned"
> dsputil_altivec.c:79: error: `pix2iv' undeclared (first use in this 
> function)
> dsputil_altivec.c:82: error: `avgv' undeclared (first use in this 
> function)
> dsputil_altivec.c:82: warning: implicit declaration of function `vec_avg'
> dsputil_altivec.c:85: error: `t5' undeclared (first use in this function)
> dsputil_altivec.c:85: warning: implicit declaration of function `vec_sub'
> dsputil_altivec.c:85: warning: implicit declaration of function `vec_max'
>
> SNIP
>
> I use avifile-0.7-0.7.43 and gcc-3.3.4. Compiling ffmpeg-0.4.9-pre1 
> works fine!
>
> Any suggestions would be fine!
>
> Bye
>  Thorsten
>
> _______________________________________________
> Avifile mailing list
> [email protected]
> http://prak.org/mailman/listinfo/avifile
>