error : array type has incomplete element type
Rami
rami.wehbi at wirecom-tech.com
Wed Jan 9 04:02:36 EST 2008
Hi all,
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).
my compiler is the crosstool latest one.
I tried to compile each the following kernel versions :
2.6.23.8
2.6.17
with the following versions of gcc and glibc of the crosscompiler
gcc-4.0.2-glibc-2.3.5
gcc-4.1.0-glibc-2.3.6
gcc-4.1.1-glibc-2.3.6
the result is always the same (array type has incomplete element type)
moreover I searched all the files and I replaced
(struct ocp_def core_ocp[]) with (struct ocp_def
core_ocp[2])
because my architectur contains only one UART, the result is always
the same (same error).
any help is appreciated,
Rami
arch/ppc/syslib/virtex_devices.c:23: error: array type has incomplete
element type
arch/ppc/syslib/virtex_devices.c:25: error: field name not in record or
union initializer
arch/ppc/syslib/virtex_devices.c:25: error: (near initialization for
'core_ocp')
arch/ppc/syslib/virtex_devices.c:26: error: field name not in record or
union initializer
arch/ppc/syslib/virtex_devices.c:26: error: (near initialization for
'core_ocp')
arch/ppc/syslib/virtex_devices.c:27: error: field name not in record or
union initializer
arch/ppc/syslib/virtex_devices.c:27: error: (near initialization for
'core_ocp')
arch/ppc/syslib/virtex_devices.c:28: error: field name not in record or
union initializer
arch/ppc/syslib/virtex_devices.c:28: error: (near initialization for
'core_ocp')
arch/ppc/syslib/virtex_devices.c:29: error: field name not in record or
union initializer
arch/ppc/syslib/virtex_devices.c:29: error: (near initialization for
'core_ocp')
arch/ppc/syslib/virtex_devices.c:30: error: field name not in record or
union initializer
arch/ppc/syslib/virtex_devices.c:30: error: (near initialization for
'core_ocp')
arch/ppc/syslib/virtex_devices.c:30: error: 'OCP_CPM_NA' undeclared here
(not in a function)
arch/ppc/syslib/virtex_devices.c:63: error: field name not in record or
union initializer
arch/ppc/syslib/virtex_devices.c:63: error: (near initialization for
'core_ocp')
CONFIDENTIALITE : 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.
CONFIDENTIALITY : 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20080108/b7f00c33/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 9139 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20080108/b7f00c33/attachment-0002.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2808 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20080108/b7f00c33/attachment-0003.gif
More information about the Linuxppc-embedded
mailing list