Gentoo Archives: gentoo-embedded

From: Siong-Ui Te <siongui@×××××.com>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] openrc-0.2.3 failed to cross-compile
Date: Wed, 30 Apr 2008 09:34:48
Message-Id: a7ea0d70804300234o738dd5a9t4b1de0b826960d47@mail.gmail.com
1 The cross-toolchain is built using the following command:
2 USE="-*" UCLIBC_CPU=ARM920T crossdev -t arm-softfloat-linux-uclibc --g
3 3.4.6-r2 --k 2.6.17-r2
4
5 I am trying to cross-compile openrc, and got the following error message:
6 ---
7 In file included from rc.c:53:
8 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:23: error: syntax
9 error
10 before "__u32"
11 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:24: error: ISO C
12 forbids
13 data definition with no type or storage class
14 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:31: error: syntax
15 error before "__u32"
16 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:32: error: ISO C
17 forbids data definition with no type or storage class
18 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:33: error: syntax
19 error before "rootdev"
20 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:33: error: ISO C
21 forbids data definition with no type or storage class
22 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:40: error: syntax
23 error before "__u32"
24 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:41: error: ISO C
25 forbids data definition with no type or storage class
26 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:48: error: syntax
27 error before "__u8"
28 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:49: error: ISO C
29 forbids data definition with no type or storage class
30 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:50: error: syntax
31 error before "video_page"
32 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:50: error: ISO C
33 forbids data definition with no type or storage class
34 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:51: error: syntax
35 error before "video_mode"
36 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:51: error: ISO C
37 forbids data definition with no type or storage class
38 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:52: error: syntax
39 error before "video_cols"
40 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:52: error: ISO C
41 forbids data definition with no type or storage class
42 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:53: error: syntax
43 error before "video_ega_bx"
44 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:53: error: ISO C
45 forbids data definition with no type or storage class
46 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:54: error: syntax
47 error before "video_lines"
48 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:54: error: ISO C
49 forbids data definition with no type or storage class
50 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:55: error: syntax
51 error before "video_isvga"
52 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:55: error: ISO C
53 forbids data definition with no type or storage class
54 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:56: error: syntax
55 error before "video_points"
56 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:56: error: ISO C
57 forbids data definition with no type or storage class
58 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:63: error: syntax
59 error before "__u32"
60 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:64: error: ISO C
61 forbids data definition with no type or storage class
62 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:65: error: syntax
63 error before "start"
64 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:65: error: ISO C
65 forbids data definition with no type or storage class
66 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:79: error: syntax
67 error before "__u32"
68 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:80: error: ISO C
69 forbids data definition with no type or storage class
70 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:87: error: syntax
71 error before "__u32"
72 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:88: error: ISO C
73 forbids data definition with no type or storage class
74 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:95: error: syntax
75 error before "__u32"
76 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:104: error: syntax
77 error before "__u16"
78 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:105: error: ISO C
79 forbids data definition with no type or storage class
80 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:106: error: syntax
81 error before "lfb_depth"
82 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:106: error: ISO C
83 forbids data definition with no type or storage class
84 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:107: error: syntax
85 error before "lfb_linelength"
86 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:107: error: ISO C
87 forbids data definition with no type or storage class
88 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:108: error: syntax
89 error before "lfb_base"
90 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:108: error: ISO C
91 forbids data definition with no type or storage class
92 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:109: error: syntax
93 error before "lfb_size"
94 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:109: error: ISO C
95 forbids data definition with no type or storage class
96 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:110: error: syntax
97 error before "red_size"
98 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:110: error: ISO C
99 forbids data definition with no type or storage class
100 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:111: error: syntax
101 error before "red_pos"
102 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:111: error: ISO C
103 forbids data definition with no type or storage class
104 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:112: error: syntax
105 error before "green_size"
106 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:112: error: ISO C
107 forbids data definition with no type or storage class
108 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:113: error: syntax
109 error before "green_pos"
110 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:113: error: ISO C
111 forbids data definition with no type or storage class
112 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:114: error: syntax
113 error before "blue_size"
114 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:114: error: ISO C
115 forbids data definition with no type or storage class
116 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:115: error: syntax
117 error before "blue_pos"
118 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:115: error: ISO C
119 forbids data definition with no type or storage class
120 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:116: error: syntax
121 error before "rsvd_size"
122 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:116: error: ISO C
123 forbids data definition with no type or storage class
124 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:117: error: syntax
125 error before "rsvd_pos"
126 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:117: error: ISO C
127 forbids data definition with no type or storage class
128 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:131: error: syntax
129 error before "__u32"
130 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:132: error: ISO C
131 forbids data definition with no type or storage class
132 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:133: error: syntax
133 error before "sounddefault"
134 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:133: error: ISO C
135 forbids data definition with no type or storage class
136 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:134: error: syntax
137 error before "adfsdrives"
138 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:134: error: ISO C
139 forbids data definition with no type or storage class
140 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:141: error: syntax
141 error before "__u32"
142 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:145: error: field
143 `hdr' has incomplete type
144 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:147: error: field
145 `core' has incomplete type
146 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:148: error: field
147 `mem' has incomplete type
148 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:149: error: field
149 `videotext' has incomplete type
150 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:150: error: field
151 `ramdisk' has incomplete type
152 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:151: error: field
153 `initrd' has incomplete type
154 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:152: error: field
155 `serialnr' has incomplete type
156 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:153: error: field
157 `revision' has incomplete type
158 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:154: error: field
159 `videolfb' has incomplete type
160 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:160: error: field
161 `acorn' has incomplete type
162 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:165: error: field
163 `memclk' has incomplete type
164 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:170: error: syntax
165 error before "__u32"
166 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:172: error: syntax
167 error before '}' token
168 In file included from rc.c:75:
169 ../includes/rc-misc.h:101: warning: declaration of 'size' shadows a global
170 declaration
171 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:80: warning:
172 shadowed declaration is here
173 ../includes/rc-misc.h:112: warning: declaration of 'size' shadows a global
174 declaration
175 /usr/arm-softfloat-linux-uclibc/usr/include/asm/setup.h:80: warning:
176 shadowed declaration is here
177 make[2]: *** [rc.o] Error 1
178 make[2]: *** Waiting for unfinished jobs....
179 make[2]: Leaving directory
180 `/var/tmp/portage/sys-apps/openrc-0.2.3/work/openrc-0.2.3/src/rc'
181 make[1]: *** [all] Error 2
182 make[1]: Leaving directory
183 `/var/tmp/portage/sys-apps/openrc-0.2.3/work/openrc-0.2.3/src'
184 make: *** [all] Error 2
185 ---
186
187 Does somebody have any idea?
188 BTW, if I want to download the obsolete baselayout-lite file and ebuild,
189 where can I find them?
190 Thanks in advance.
191
192 Siong-Ui

Replies

Subject Author
Re: [gentoo-embedded] openrc-0.2.3 failed to cross-compile Mike Frysinger <vapier@g.o>