I always encouter this simple error message compiling 2.6 for ML403 UART 16550
Mohammad Sadegh Sadri
mamsadegh at hotmail.com
Mon Apr 30 16:43:49 EST 2007
Well
Don't know if any change should occure in the source files but when I compile any version of 2.6 kernel for ml403/405 with UART 16550 support , I encounter 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 function '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 (not 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 gen550_dbg.c :
#include
Is there any thing I have missed? or this include line should be added to the source codes?
thanks.
_________________________________________________________________
Connect to the next generation of MSN Messenger
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
More information about the Linuxppc-embedded
mailing list