public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* error : array type has incomplete element type
@ 2008-01-08 17:02 Rami
  0 siblings, 0 replies; 3+ messages in thread
From: Rami @ 2008-01-08 17:02 UTC (permalink / raw)
  To: linuxppc-embedded


[-- Attachment #1.1: Type: text/plain, Size: 2927 bytes --]


 
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. 
	

[-- Attachment #1.2: Type: text/html, Size: 8111 bytes --]

[-- Attachment #2: wt2007bottom_RWE.gif --]
[-- Type: image/gif, Size: 9139 bytes --]

[-- Attachment #3: arbre-logo.gif --]
[-- Type: image/gif, Size: 2808 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* error: array type has incomplete element type
@ 2008-01-17 13:25 WEHBI Rami
  0 siblings, 0 replies; 3+ messages in thread
From: WEHBI Rami @ 2008-01-17 13:25 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 2331 bytes --]

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,
  
  
  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')


Rami



             
---------------------------------
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

[-- Attachment #2: Type: text/html, Size: 4601 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* error: array type has incomplete element type
@ 2008-01-17 17:05 WEHBI Rami
  0 siblings, 0 replies; 3+ messages in thread
From: WEHBI Rami @ 2008-01-17 17:05 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 2331 bytes --]

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,
  
  
  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')


Rami

             
---------------------------------
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

[-- Attachment #2: Type: text/html, Size: 4588 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-01-17 17:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-17 13:25 error: array type has incomplete element type WEHBI Rami
  -- strict thread matches above, loose matches on Subject: below --
2008-01-17 17:05 WEHBI Rami
2008-01-08 17:02 error : " Rami

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox