<div><span class="846124916-08012008"><font size="2">Hi all,</font></span></div> <div><span class="846124916-08012008"></span> </div> <div><span class="846124916-08012008"><font size="2">I am trying to compile a kernel for the ppc405 embedded on the virtex 4 and I am obtaining the compiling errors listed below(at the end of this mail).</font></span></div> <div><span class="846124916-08012008"></span> </div> <div><span class="846124916-08012008"><font size="2">my compiler is the crosstool latest one. </font></span></div> <div><span class="846124916-08012008"></span> </div> <div><span class="846124916-08012008"><font size="2">I tried to compile each the following kernel versions :</font></span></div> <div><span class="846124916-08012008"><font size="2">2.6.23.8</font></span></div> <div><span class="846124916-08012008"><font size="2">2.6.17</font></span></div> <div><span class="846124916-08012008"></span> </div> <div><span
class="846124916-08012008"><font size="2">with the following versions of gcc and glibc of the crosscompiler</font></span></div> <div><span class="846124916-08012008"><font size="2">gcc-4.0.2-glibc-2.3.5</font></span></div> <div><span class="846124916-08012008"><span class="846124916-08012008"><font size="2">gcc-4.1.0-glibc-2.3.6</font></span></span></div> <div><span class="846124916-08012008"><span class="846124916-08012008"><span class="846124916-08012008"><font size="2">gcc-4.1.1-glibc-2.3.6</font></span></span></span></div> <div><span class="846124916-08012008"></span> </div> <div><span class="846124916-08012008"><font size="2">the result is always the same (array type has incomplete element type)</font></span></div> <div><span class="846124916-08012008"></span> </div> <div><span class="846124916-08012008"><font size="2">moreover I searched all the files and I replaced </font></span></div> <div><span class="846124916-08012008"><font
size="2"> (struct ocp_def core_ocp[]) with (struct ocp_def core_ocp[2]) </font></span></div> <div><span class="846124916-08012008"> <font size="2">because my architectur contains only one UART, the result is always the same (same error).</font></span></div> <div><span class="846124916-08012008"></span> </div> <div><span class="846124916-08012008"></span> </div> <div><span class="846124916-08012008"><font size="2">any help is appreciated,</font></span></div> <div><span class="846124916-08012008"></span> </div><span class="846124916-08012008"></span> <div><span class="846124916-08012008"></span> </div> <span class="846124916-08012008"><font size="2"> <div>arch/ppc/syslib/virtex_devices.c:23: error: array type has incomplete element type</div> <div>arch/ppc/syslib/virtex_devices.c:25: error:
field name not in record or union initializer</div> <div>arch/ppc/syslib/virtex_devices.c:25: error: (near initialization for 'core_ocp')</div> <div>arch/ppc/syslib/virtex_devices.c:26: error: field name not in record or union initializer</div> <div>arch/ppc/syslib/virtex_devices.c:26: error: (near initialization for 'core_ocp')</div> <div>arch/ppc/syslib/virtex_devices.c:27: error: field name not in record or union initializer</div> <div>arch/ppc/syslib/virtex_devices.c:27: error: (near initialization for 'core_ocp')</div> <div>arch/ppc/syslib/virtex_devices.c:28: error: field name not in record or union initializer</div> <div>arch/ppc/syslib/virtex_devices.c:28: error: (near initialization for 'core_ocp')</div> <div>arch/ppc/syslib/virtex_devices.c:29: error: field name not in record or union initializer</div> <div>arch/ppc/syslib/virtex_devices.c:29: error: (near initialization for 'core_ocp')</div> <div>arch/ppc/syslib/virtex_devices.c:30: error: field name
not in record or union initializer</div> <div>arch/ppc/syslib/virtex_devices.c:30: error: (near initialization for 'core_ocp')</div> <div>arch/ppc/syslib/virtex_devices.c:30: error: 'OCP_CPM_NA' undeclared here (not in a function)</div> <div>arch/ppc/syslib/virtex_devices.c:63: error: field name not in record or union initializer</div> <div>arch/ppc/syslib/virtex_devices.c:63: error: (near initialization for 'core_ocp')<br><br><br>Rami</div></font></span><p> 
<hr size="1">
Ne gardez plus qu'une seule adresse mail ! <a href="http://fr.rd.yahoo.com/mail/mail_taglines/trueswitch/*http://www.trueswitch.com/yahoo-fr/">Copiez vos mails</a> vers Yahoo! Mail