Gentoo Archives: gentoo-ppc-user

From: Draeven Eriu <draeven@××××××××××××××.net>
To: gentoo-ppc-user@l.g.o
Subject: [gentoo-ppc-user] liboil-0.3.7 compile problems
Date: Sun, 05 Feb 2006 16:12:36
Message-Id: 43E623E2.2050904@dragons-breath.net
1 Hi all.
2
3 I've been searching Bugzilla and the forums for an answer, but I can't
4 seem to find one.
5
6 I'm trying to do an emerge -uDN world, and it needs to update liboil to
7 0.3.7.
8
9 I've overlaid portage and put the gcc-altivec patch from Bug ID 109270
10 on it. I'm still getting the following errors when compiling:
11
12 conv.c: In function `clipconv_s8_f32_powerpc':
13 conv.c:78: error: `dst' undeclared (first use in this function)
14 conv.c:78: error: (Each undeclared identifier is reported only once
15 conv.c:78: error: for each function it appears in.)
16 conv.c:78: error: `src' undeclared (first use in this function)
17 conv.c:78: error: `n' undeclared (first use in this function)
18 conv.c:78: error: `src_stride' undeclared (first use in this function)
19 conv.c:78: error: `dst_stride' undeclared (first use in this function)
20 conv.c: At top level:
21 conv.c:79: error: syntax error before '*' token
22 conv.c: In function `clipconv_u8_f32_powerpc':
23 conv.c:79: error: `dst' undeclared (first use in this function)
24 conv.c:79: error: `src' undeclared (first use in this function)
25 conv.c:79: error: `n' undeclared (first use in this function)
26 conv.c:79: error: `src_stride' undeclared (first use in this function)
27 conv.c:79: error: `dst_stride' undeclared (first use in this function)
28 conv.c: At top level:
29 conv.c:80: error: syntax error before '*' token
30 conv.c: In function `clipconv_s16_f32_powerpc':
31 conv.c:80: error: `dst' undeclared (first use in this function)
32 conv.c:80: error: `src' undeclared (first use in this function)
33 conv.c:80: error: `n' undeclared (first use in this function)
34 conv.c:80: error: `src_stride' undeclared (first use in this function)
35 conv.c:80: error: `dst_stride' undeclared (first use in this function)
36 conv.c: At top level:
37 conv.c:81: error: syntax error before '*' token
38 conv.c: In function `clipconv_u16_f32_powerpc':
39 conv.c:81: error: `dst' undeclared (first use in this function)
40 conv.c:81: error: `src' undeclared (first use in this function)
41 conv.c:81: error: `n' undeclared (first use in this function)
42 conv.c:81: error: `src_stride' undeclared (first use in this function)
43 conv.c:81: error: `dst_stride' undeclared (first use in this function)
44 conv.c: At top level:
45 conv.c:82: error: syntax error before '*' token
46 conv.c: In function `clipconv_s32_f32_powerpc':
47 conv.c:82: error: `dst' undeclared (first use in this function)
48 conv.c:82: error: `src' undeclared (first use in this function)
49 conv.c:82: error: `n' undeclared (first use in this function)
50 conv.c:82: error: `src_stride' undeclared (first use in this function)
51 conv.c:82: error: `dst_stride' undeclared (first use in this function)
52 conv.c: At top level:
53 conv.c:83: error: syntax error before '*' token
54 conv.c: In function `clipconv_u32_f32_powerpc':
55 conv.c:83: error: `dst' undeclared (first use in this function)
56 conv.c:83: error: `src' undeclared (first use in this function)
57 conv.c:83: error: `n' undeclared (first use in this function)
58 conv.c:83: error: `src_stride' undeclared (first use in this function)
59 conv.c:83: error: `dst_stride' undeclared (first use in this function)
60 conv.c: At top level:
61 conv.c:85: error: syntax error before '*' token
62 conv.c: In function `clipconv_s8_f64_powerpc':
63 conv.c:85: error: `dst' undeclared (first use in this function)
64 conv.c:85: error: `src' undeclared (first use in this function)
65 conv.c:85: error: `n' undeclared (first use in this function)
66 conv.c:85: error: `src_stride' undeclared (first use in this function)
67 conv.c:85: error: `dst_stride' undeclared (first use in this function)
68 conv.c: At top level:
69 conv.c:86: error: syntax error before '*' token
70 conv.c: In function `clipconv_u8_f64_powerpc':
71 conv.c:86: error: `dst' undeclared (first use in this function)
72 conv.c:86: error: `src' undeclared (first use in this function)
73 conv.c:86: error: `n' undeclared (first use in this function)
74 conv.c:86: error: `src_stride' undeclared (first use in this function)
75 conv.c:86: error: `dst_stride' undeclared (first use in this function)
76 conv.c: At top level:
77 conv.c:87: error: syntax error before '*' token
78 conv.c: In function `clipconv_s16_f64_powerpc':
79 conv.c:87: error: `dst' undeclared (first use in this function)
80 conv.c:87: error: `src' undeclared (first use in this function)
81 conv.c:87: error: `n' undeclared (first use in this function)
82 conv.c:87: error: `src_stride' undeclared (first use in this function)
83 conv.c:87: error: `dst_stride' undeclared (first use in this function)
84 conv.c: At top level:
85 conv.c:88: error: syntax error before '*' token
86 conv.c: In function `clipconv_u16_f64_powerpc':
87 conv.c:88: error: `dst' undeclared (first use in this function)
88 conv.c:88: error: `src' undeclared (first use in this function)
89 conv.c:88: error: `n' undeclared (first use in this function)
90 conv.c:88: error: `src_stride' undeclared (first use in this function)
91 conv.c:88: error: `dst_stride' undeclared (first use in this function)
92 conv.c: At top level:
93 conv.c:89: error: syntax error before '*' token
94 conv.c: In function `clipconv_s32_f64_powerpc':
95 conv.c:89: error: `dst' undeclared (first use in this function)
96 conv.c:89: error: `src' undeclared (first use in this function)
97 conv.c:89: error: `n' undeclared (first use in this function)
98 conv.c:89: error: `src_stride' undeclared (first use in this function)
99 conv.c:89: error: `dst_stride' undeclared (first use in this function)
100 conv.c: At top level:
101 conv.c:90: error: syntax error before '*' token
102 conv.c: In function `clipconv_u32_f64_powerpc':
103 conv.c:90: error: `dst' undeclared (first use in this function)
104 conv.c:90: error: `src' undeclared (first use in this function)
105 conv.c:90: error: `n' undeclared (first use in this function)
106 conv.c:90: error: `src_stride' undeclared (first use in this function)
107 conv.c:90: error: `dst_stride' undeclared (first use in this function)
108
109 Is this another Metrowerks type error like the gcc-altivec patch?
110
111 Here's my emerge --info:
112
113 Portage 2.1_pre4-r1 (default-linux/ppc/2005.1/ppc/G4, gcc-3.4.5,
114 glibc-2.3.6-r2, 2.6.14-gentoo-r5 ppc)
115 =================================================================
116 System uname: 2.6.14-gentoo-r5 ppc 7455, altivec supported
117 Gentoo Base System version 1.12.0_pre15
118 dev-lang/python: 2.3.5, 2.4.2-r1
119 sys-apps/sandbox: 1.2.17
120 sys-devel/autoconf: 2.13, 2.59-r7
121 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
122 sys-devel/binutils: 2.16.1-r1
123 sys-devel/libtool: 1.5.22
124 virtual/os-headers: 2.6.11-r4
125 ACCEPT_KEYWORDS="ppc ~ppc"
126 AUTOCLEAN="yes"
127 CBUILD="powerpc-unknown-linux-gnu"
128 CFLAGS="-mcpu=7450 -O2 -pipe -fno-strict-aliasing -maltivec
129 -mabi=altivec -mpowerpc-gfxopt"
130 CHOST="powerpc-unknown-linux-gnu"
131 CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
132 /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
133 CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
134 CXXFLAGS="-mcpu=7450 -O2 -pipe -fno-strict-aliasing -maltivec
135 -mabi=altivec -mpowerpc-gfxopt"
136 DISTDIR="/usr/portage/distfiles"
137 FEATURES="autoconfig distlocks sandbox sfperms strict"
138 GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/"
139 MAKEOPTS="-j2"
140 PKGDIR="/usr/portage/packages"
141 PORTAGE_TMPDIR="/var/tmp"
142 PORTDIR="/usr/portage"
143 PORTDIR_OVERLAY="/usr/local/portage"
144 SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
145 USE="ppc X a52 aac aalib alsa altivec artworkextra asf bash-completion
146 berkdb bitmap-fonts bl bzip2 cdparanoia cdr crypt cups dvd dvdread eds
147 emboss encode fbcon firefox flac fortran ggi gif gnome gnutls gpm
148 gstreamer gtk gtk2 gtkhtml guile hal howl ieee1394 imlib ipv6 jack
149 jack-tmpfs java javascript jpeg lcms libcaca libwww lzo mad mikmod motif
150 moznocompose moznoirc moznomail mozsha1 mozsvg mp3 mpeg nas ncurses
151 network new-login nls nsplugin offensive ogg oggvorbis on-the-fly-crypt
152 opengl pam pdflib perl png portaudio python readline samba sdl sndfile
153 spell ssl svg swat tcpd test tga theora tiff truetype truetype-fonts
154 type1-fonts unicode usb vim-with-x vorbis xanim xinerama xml2 xmms xv
155 xvid zlib elibc_glibc kernel_linux userland_GNU"
156 Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS,
157 LINGUAS
158
159 Thanks.
160
161 Draeven

Replies

Subject Author
Re: [gentoo-ppc-user] liboil-0.3.7 compile problems Joseph Jezak <josejx@g.o>
[gentoo-ppc-user] date and time set to April 1976 Y-Lan Boureau <blauenote@×××××.fr>