Hi all.

I've been searching Bugzilla and the forums for an answer, but I can't seem to find one.

I'm trying to do an emerge -uDN world, and it needs to update liboil to 0.3.7.

I've overlaid portage and put the gcc-altivec patch from Bug ID 109270 on it. I'm still getting the following errors when compiling:

conv.c: In function `clipconv_s8_f32_powerpc':
conv.c:78: error: `dst' undeclared (first use in this function)
conv.c:78: error: (Each undeclared identifier is reported only once
conv.c:78: error: for each function it appears in.)
conv.c:78: error: `src' undeclared (first use in this function)
conv.c:78: error: `n' undeclared (first use in this function)
conv.c:78: error: `src_stride' undeclared (first use in this function)
conv.c:78: error: `dst_stride' undeclared (first use in this function)
conv.c: At top level:
conv.c:79: error: syntax error before '*' token
conv.c: In function `clipconv_u8_f32_powerpc':
conv.c:79: error: `dst' undeclared (first use in this function)
conv.c:79: error: `src' undeclared (first use in this function)
conv.c:79: error: `n' undeclared (first use in this function)
conv.c:79: error: `src_stride' undeclared (first use in this function)
conv.c:79: error: `dst_stride' undeclared (first use in this function)
conv.c: At top level:
conv.c:80: error: syntax error before '*' token
conv.c: In function `clipconv_s16_f32_powerpc':
conv.c:80: error: `dst' undeclared (first use in this function)
conv.c:80: error: `src' undeclared (first use in this function)
conv.c:80: error: `n' undeclared (first use in this function)
conv.c:80: error: `src_stride' undeclared (first use in this function)
conv.c:80: error: `dst_stride' undeclared (first use in this function)
conv.c: At top level:
conv.c:81: error: syntax error before '*' token
conv.c: In function `clipconv_u16_f32_powerpc':
conv.c:81: error: `dst' undeclared (first use in this function)
conv.c:81: error: `src' undeclared (first use in this function)
conv.c:81: error: `n' undeclared (first use in this function)
conv.c:81: error: `src_stride' undeclared (first use in this function)
conv.c:81: error: `dst_stride' undeclared (first use in this function)
conv.c: At top level:
conv.c:82: error: syntax error before '*' token
conv.c: In function `clipconv_s32_f32_powerpc':
conv.c:82: error: `dst' undeclared (first use in this function)
conv.c:82: error: `src' undeclared (first use in this function)
conv.c:82: error: `n' undeclared (first use in this function)
conv.c:82: error: `src_stride' undeclared (first use in this function)
conv.c:82: error: `dst_stride' undeclared (first use in this function)
conv.c: At top level:
conv.c:83: error: syntax error before '*' token
conv.c: In function `clipconv_u32_f32_powerpc':
conv.c:83: error: `dst' undeclared (first use in this function)
conv.c:83: error: `src' undeclared (first use in this function)
conv.c:83: error: `n' undeclared (first use in this function)
conv.c:83: error: `src_stride' undeclared (first use in this function)
conv.c:83: error: `dst_stride' undeclared (first use in this function)
conv.c: At top level:
conv.c:85: error: syntax error before '*' token
conv.c: In function `clipconv_s8_f64_powerpc':
conv.c:85: error: `dst' undeclared (first use in this function)
conv.c:85: error: `src' undeclared (first use in this function)
conv.c:85: error: `n' undeclared (first use in this function)
conv.c:85: error: `src_stride' undeclared (first use in this function)
conv.c:85: error: `dst_stride' undeclared (first use in this function)
conv.c: At top level:
conv.c:86: error: syntax error before '*' token
conv.c: In function `clipconv_u8_f64_powerpc':
conv.c:86: error: `dst' undeclared (first use in this function)
conv.c:86: error: `src' undeclared (first use in this function)
conv.c:86: error: `n' undeclared (first use in this function)
conv.c:86: error: `src_stride' undeclared (first use in this function)
conv.c:86: error: `dst_stride' undeclared (first use in this function)
conv.c: At top level:
conv.c:87: error: syntax error before '*' token
conv.c: In function `clipconv_s16_f64_powerpc':
conv.c:87: error: `dst' undeclared (first use in this function)
conv.c:87: error: `src' undeclared (first use in this function)
conv.c:87: error: `n' undeclared (first use in this function)
conv.c:87: error: `src_stride' undeclared (first use in this function)
conv.c:87: error: `dst_stride' undeclared (first use in this function)
conv.c: At top level:
conv.c:88: error: syntax error before '*' token
conv.c: In function `clipconv_u16_f64_powerpc':
conv.c:88: error: `dst' undeclared (first use in this function)
conv.c:88: error: `src' undeclared (first use in this function)
conv.c:88: error: `n' undeclared (first use in this function)
conv.c:88: error: `src_stride' undeclared (first use in this function)
conv.c:88: error: `dst_stride' undeclared (first use in this function)
conv.c: At top level:
conv.c:89: error: syntax error before '*' token
conv.c: In function `clipconv_s32_f64_powerpc':
conv.c:89: error: `dst' undeclared (first use in this function)
conv.c:89: error: `src' undeclared (first use in this function)
conv.c:89: error: `n' undeclared (first use in this function)
conv.c:89: error: `src_stride' undeclared (first use in this function)
conv.c:89: error: `dst_stride' undeclared (first use in this function)
conv.c: At top level:
conv.c:90: error: syntax error before '*' token
conv.c: In function `clipconv_u32_f64_powerpc':
conv.c:90: error: `dst' undeclared (first use in this function)
conv.c:90: error: `src' undeclared (first use in this function)
conv.c:90: error: `n' undeclared (first use in this function)
conv.c:90: error: `src_stride' undeclared (first use in this function)
conv.c:90: error: `dst_stride' undeclared (first use in this function)

Is this another Metrowerks type error like the gcc-altivec patch?

Here's my emerge --info:

Portage 2.1_pre4-r1 (default-linux/ppc/2005.1/ppc/G4, gcc-3.4.5, glibc-2.3.6-r2, 2.6.14-gentoo-r5 ppc)
=================================================================
System uname: 2.6.14-gentoo-r5 ppc 7455, altivec supported
Gentoo Base System version 1.12.0_pre15
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=7450 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec -mpowerpc-gfxopt"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=7450 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec -mpowerpc-gfxopt"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="ppc X a52 aac aalib alsa altivec artworkextra asf bash-completion berkdb bitmap-fonts bl bzip2 cdparanoia cdr crypt cups dvd dvdread eds emboss encode fbcon firefox flac fortran ggi gif gnome gnutls gpm gstreamer gtk gtk2 gtkhtml guile hal howl ieee1394 imlib ipv6 jack jack-tmpfs java _javascript_ jpeg lcms libcaca libwww lzo mad mikmod motif moznocompose moznoirc moznomail mozsha1 mozsvg mp3 mpeg nas ncurses network new-login nls nsplugin offensive ogg oggvorbis on-the-fly-crypt opengl pam pdflib perl png portaudio python readline samba sdl sndfile spell ssl svg swat tcpd test tga theora tiff truetype truetype-fonts type1-fonts unicode usb vim-with-x vorbis xanim xinerama xml2 xmms xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS

Thanks.

Draeven

Reply via email to