Thread (4 messages) 4 messages, 3 authors, 2007-05-01

I always encouter this simple error message compiling 2.6 for ML403 UART 16550

From: Mohammad Sadegh Sadri <hidden>
Date: 2007-04-30 06:43:53

Well

Don't know if any change should occure in the source files but when I compi=
le any version of 2.6 kernel for ml403/405 with UART 16550 support , I enco=
unter this error message :

arch/ppc/syslib/virtex_devices.c: In function 'virtex_early_serial_init':
arch/ppc/syslib/virtex_devices.c:309: warning: implicit declaration of func=
tion 'gen550_init'
  CC      arch/ppc/syslib/ppc4xx_setup.o
  CC      arch/ppc/syslib/gen550_dbg.o
arch/ppc/syslib/gen550_dbg.c:34: error: 'RS_TABLE_SIZE' undeclared here (no=
t in a function)
arch/ppc/syslib/gen550_dbg.c:36: error: empty scalar initializer
arch/ppc/syslib/gen550_dbg.c:36: error: (near initialization for 'rs_table'=
)
make[1]: *** [arch/ppc/syslib/gen550_dbg.o] Error 1
make: *** [arch/ppc/syslib] Error 2

And for the solution I simply add the following line to the header of gen55=
0_dbg.c :

#include=20

Is there any thing I have missed? or this include line should be added to t=
he source codes?

thanks.
_________________________________________________________________
Connect to the next generation of MSN Messenger=A0
http://imagine-msn.com/messenger/launch80/default.aspx?locale=3Den-us&sourc=
e=3Dwlmailtagline=
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help