[ECOS] Splitting driver code between I/O layer and driver layer

Andrew Lunn andrew@lunn.ch
Tue Aug 24 14:21:00 GMT 2004


On Tue, Aug 24, 2004 at 02:13:54PM +0000, Samie Hassan Ghauri wrote:
> I am developing device driver for an LCD device. I have implemented the I/O 
> APIs (eg write, read etc) in a separate file and stored in packages/io/lcd. 
> The device specific code is stored in another file in devs directory. I 
> have included the devtab_entry () in the the file that contains device 
> specific code which contains the pointer to I/O functions. But I try to 
> build the library, it gives the following errors:
> 
> /ecos-c/ecos/packages/devs/lcd/leon/current/src/lcd_leon.c:108: 
> `lcdio_devio' undeclared here (not in a function)

This is a compile time error, not a linker error. So it looks like you
have not included the header files needed.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list