1 |
After getting past ncurses on the latest update, there were only two |
2 |
packages to go. |
3 |
|
4 |
[ebuild U ] sys-apps/file-4.25 [4.23] USE="-python*" |
5 |
[ebuild R ] sys-devel/gcc-4.2.4 USE="-nls*" |
6 |
|
7 |
For some reason 'file' is failing to update. It fails pretty quickly |
8 |
after beginning to compile. Here's the first error mesage. |
9 |
|
10 |
|
11 |
powerpc-ibm-aix5.2.0.0-gcc -DHAVE_CONFIG_H -I. -I.. |
12 |
-DMAGIC=\"/home/greg/gentoo/usr/share/misc/file/magic\" -Wall |
13 |
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith |
14 |
-Wmissing-declarations -Wredundant-decls -Wnested-externs -Wsign-compare |
15 |
-Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra |
16 |
-Wunused-parameter -O2 -pipe -mcpu=power3 -mtune=power3 -D_GNU_SOURCE |
17 |
-MT getopt_long.lo -MD -MP -MF .deps/getopt_long.Tpo -c getopt_long.c |
18 |
-DPIC -o .libs/getopt_long.o |
19 |
getopt_long.c:33:17: error: err.h: No such file or directory |
20 |
getopt_long.c:35:20: error: getopt.h: No such file or directory |
21 |
getopt_long.c:76: error: expected '=', ',', ';', 'asm' or |
22 |
'__attribute__' before '__P' |
23 |
getopt_long.c:77: error: expected '=', ',', ';', 'asm' or |
24 |
'__attribute__' before '__P' |
25 |
getopt_long.c:78: error: expected '=', ',', ';', 'asm' or |
26 |
'__attribute__' before '__P' |
27 |
getopt_long.c:100: warning: function declaration isn't a prototype |
28 |
getopt_long.c:122: warning: function declaration isn't a prototype |
29 |
getopt_long.c:162: warning: function declaration isn't a prototype |
30 |
getopt_long.c: In function 'getopt_internal': |
31 |
getopt_long.c:250: warning: implicit declaration of function 'warnx' |
32 |
getopt_long.c:250: warning: nested extern declaration of 'warnx' |
33 |
getopt_long.c:279: warning: cast discards qualifiers from pointer target |
34 |
type |
35 |
getopt_long.c: In function 'getopt': |
36 |
getopt_long.c:316: warning: cast discards qualifiers from pointer target |
37 |
type |
38 |
getopt_long.c:325: warning: cast discards qualifiers from pointer target |
39 |
type |
40 |
getopt_long.c: At top level: |
41 |
getopt_long.c:341: warning: function declaration isn't a prototype |
42 |
getopt_long.c: In function 'getopt_long': |
43 |
getopt_long.c:359: warning: cast discards qualifiers from pointer target |
44 |
type |
45 |
getopt_long.c:365: warning: cast discards qualifiers from pointer target |
46 |
type |
47 |
getopt_long.c:379: warning: cast discards qualifiers from pointer target |
48 |
type |
49 |
getopt_long.c:392: error: invalid use of undefined type 'struct option' |
50 |
getopt_long.c:392: error: dereferencing pointer to incomplete type |
51 |
getopt_long.c:394: error: invalid use of undefined type 'struct option' |
52 |
getopt_long.c:394: error: dereferencing pointer to incomplete type |
53 |
getopt_long.c:398: error: invalid use of undefined type 'struct option' |
54 |
getopt_long.c:398: error: dereferencing pointer to incomplete type |
55 |
getopt_long.c:407: error: invalid use of undefined type 'struct option' |
56 |
getopt_long.c:407: error: dereferencing pointer to incomplete type |
57 |
getopt_long.c:407: error: invalid use of undefined type 'struct option' |
58 |
getopt_long.c:407: error: dereferencing pointer to incomplete type |
59 |
getopt_long.c:407: error: invalid use of undefined type 'struct option' |
60 |
getopt_long.c:407: error: dereferencing pointer to incomplete type |
61 |
getopt_long.c:407: error: invalid use of undefined type 'struct option' |
62 |
getopt_long.c:407: error: dereferencing pointer to incomplete type |
63 |
getopt_long.c:407: error: invalid use of undefined type 'struct option' |
64 |
getopt_long.c:407: error: dereferencing pointer to incomplete type |
65 |
getopt_long.c:407: error: invalid use of undefined type 'struct option' |
66 |
getopt_long.c:407: error: dereferencing pointer to incomplete type |
67 |
getopt_long.c:419: error: invalid use of undefined type 'struct option' |
68 |
getopt_long.c:419: error: dereferencing pointer to incomplete type |
69 |
getopt_long.c:419: error: 'no_argument' undeclared (first use in this |
70 |
function) |
71 |
getopt_long.c:419: error: (Each undeclared identifier is reported only once |
72 |
getopt_long.c:419: error: for each function it appears in.) |
73 |
getopt_long.c:428: error: invalid use of undefined type 'struct option' |
74 |
getopt_long.c:428: error: dereferencing pointer to incomplete type |
75 |
getopt_long.c:429: error: invalid use of undefined type 'struct option' |
76 |
getopt_long.c:429: error: dereferencing pointer to incomplete type |
77 |
getopt_long.c:434: error: invalid use of undefined type 'struct option' |
78 |
getopt_long.c:434: error: dereferencing pointer to incomplete type |
79 |
getopt_long.c:434: error: 'required_argument' undeclared (first use in |
80 |
this function) |
81 |
getopt_long.c:435: error: invalid use of undefined type 'struct option' |
82 |
getopt_long.c:435: error: dereferencing pointer to incomplete type |
83 |
getopt_long.c:435: error: 'optional_argument' undeclared (first use in |
84 |
this function) |
85 |
getopt_long.c:438: error: invalid use of undefined type 'struct option' |
86 |
getopt_long.c:438: error: dereferencing pointer to incomplete type |
87 |
getopt_long.c:447: error: invalid use of undefined type 'struct option' |
88 |
getopt_long.c:447: error: dereferencing pointer to incomplete type |
89 |
getopt_long.c:459: error: invalid use of undefined type 'struct option' |
90 |
getopt_long.c:459: error: dereferencing pointer to incomplete type |
91 |
getopt_long.c:460: error: invalid use of undefined type 'struct option' |
92 |
getopt_long.c:460: error: dereferencing pointer to incomplete type |
93 |
getopt_long.c:472: error: invalid use of undefined type 'struct option' |
94 |
getopt_long.c:472: error: dereferencing pointer to incomplete type |
95 |
getopt_long.c:473: error: invalid use of undefined type 'struct option' |
96 |
getopt_long.c:473: error: dereferencing pointer to incomplete type |
97 |
getopt_long.c:473: error: invalid use of undefined type 'struct option' |
98 |
getopt_long.c:473: error: dereferencing pointer to incomplete type |
99 |
getopt_long.c:476: error: invalid use of undefined type 'struct option' |
100 |
getopt_long.c:476: error: dereferencing pointer to incomplete type |
101 |
make[2]: *** [getopt_long.lo] Error 1 |
102 |
|
103 |
|
104 |
Perhaps I need to get rid of '-mcpu=power3 -mtune=power3'? Or could |
105 |
this be one of those oddball AIX bugs? This thing doesn't seem to |
106 |
handle updates very well. |
107 |
-- |
108 |
|
109 |
Greg Trigg |
110 |
Jacksonville, AR |