<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Messagerie Wirecom Technologies</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE>A:hover {
        COLOR: #fe9102
}
A {
        FONT-WEIGHT: bold; COLOR: #31639c; TEXT-DECORATION: none
}
BODY {
        FONT-WEIGHT: normal; COLOR: #31639c; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none
}
.Style1 {
        COLOR: #666666
}
</STYLE>
<META content="MSHTML 6.00.2900.2853" name=GENERATOR></HEAD>
<BODY vLink=#31639c aLink=#31639c link=#31639c leftMargin=0 topMargin=0
marginwidth="0" marginheight="0">
<TABLE cellSpacing=1 cellPadding=1 width=700 align=left bgColor=#ffffff
border=0>
<TBODY>
<TR>
<TD vAlign=center align=left colSpan=100>
<DIV><FONT size=2></FONT> </DIV>
<DIV><SPAN class=846124916-08012008><FONT size=2>Hi
all,</FONT></SPAN></DIV>
<DIV><SPAN class=846124916-08012008><FONT
size=2></FONT></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><FONT
size=2></FONT></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><FONT
size=2></FONT></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><FONT
size=2></FONT></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><FONT
size=2></FONT></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><FONT
size=2></FONT></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><FONT
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=846124916-08012008><FONT
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=846124916-08012008><FONT size=2>any help is
appreciated,</FONT></SPAN></DIV>
<DIV><SPAN class=846124916-08012008><FONT
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=846124916-08012008><FONT size=2>Rami</FONT></SPAN></DIV>
<DIV><SPAN class=846124916-08012008><FONT
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=846124916-08012008><FONT
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=846124916-08012008><FONT
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=846124916-08012008><FONT
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=846124916-08012008><FONT
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=846124916-08012008><FONT
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=846124916-08012008><FONT
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=846124916-08012008><FONT size=2>
<P>arch/ppc/syslib/virtex_devices.c:23: error: array type has incomplete
element type</P>
<P>arch/ppc/syslib/virtex_devices.c:25: error: field name not in record or
union initializer</P>
<P>arch/ppc/syslib/virtex_devices.c:25: error: (near initialization for
'core_ocp')</P>
<P>arch/ppc/syslib/virtex_devices.c:26: error: field name not in record or
union initializer</P>
<P>arch/ppc/syslib/virtex_devices.c:26: error: (near initialization for
'core_ocp')</P>
<P>arch/ppc/syslib/virtex_devices.c:27: error: field name not in record or
union initializer</P>
<P>arch/ppc/syslib/virtex_devices.c:27: error: (near initialization for
'core_ocp')</P>
<P>arch/ppc/syslib/virtex_devices.c:28: error: field name not in record or
union initializer</P>
<P>arch/ppc/syslib/virtex_devices.c:28: error: (near initialization for
'core_ocp')</P>
<P>arch/ppc/syslib/virtex_devices.c:29: error: field name not in record or
union initializer</P>
<P>arch/ppc/syslib/virtex_devices.c:29: error: (near initialization for
'core_ocp')</P>
<P>arch/ppc/syslib/virtex_devices.c:30: error: field name not in record or
union initializer</P>
<P>arch/ppc/syslib/virtex_devices.c:30: error: (near initialization for
'core_ocp')</P>
<P>arch/ppc/syslib/virtex_devices.c:30: error: 'OCP_CPM_NA' undeclared
here (not in a function)</P>
<P>arch/ppc/syslib/virtex_devices.c:63: error: field name not in record or
union initializer</P>
<P>arch/ppc/syslib/virtex_devices.c:63: error: (near initialization for
'core_ocp')</P></FONT></SPAN></DIV></TD></TR>
<TR>
<TD vAlign=center align=left height=22><FONT size=1>
<BLOCKQUOTE>
<BLOCKQUOTE> </BLOCKQUOTE></BLOCKQUOTE></FONT></TD></TR>
<TR>
<TD vAlign=center align=left colSpan=100><IMG
src="cid:846124916@08012008-2F87" width=696 useMap=#Map2 border=0></TD></TR>
<TR>
<TD vAlign=center align=left colSpan=3>
<DIV align=justify><FONT size=1><SPAN class=Style1><B>CONFIDENTIALITE :
</B>Ce message et les éventuelles pièces attachées sont confidentiels. Si
vous n'êtes pas dans la liste des destinataires, veuillez informer
l'expéditeur immédiatement et ne pas divulguer le contenu à une tierce
personne, ne pas l'utiliser pour quelque raison que ce soit, ne pas
stocker ou copier l'information qu'il contient sur un quelconque support.
</SPAN></FONT></DIV></TD></TR>
<TR>
<TD vAlign=center align=left colSpan=3>
<DIV align=justify><FONT size=1><SPAN class=Style1><B>CONFIDENTIALITY :
</B>This e-mail and any attachments are confidential and may be
privileged. If you are not a named recipient, please notify the sender
immediately and do not disclose the contents to another person, use it for
any purpose or store or copy the information in any medium.
</SPAN></FONT></DIV></TD></TR>
<TR>
<TD vAlign=center align=left colSpan=100><IMG height=34 alt=""
src="cid:846124916@08012008-2F8E" width=558
border=0></TD></TR></TBODY></TABLE><MAP name=Map><AREA shape=RECT
coords=15,12,350,94 href="http://www.wirecom-tech.com"></MAP><MAP
name=Map2><AREA shape=RECT coords=644,108,700,127
href="mailto:rami.wehbi@wirecom-tech.com"></MAP></BODY></HTML>