problem on x86 io driver test complie(correct )
gedare at rtems.org
Mon Mar 5 10:24:54 CST 2012
On Mon, Mar 5, 2012 at 10:27 AM, zhoupeng <zpeng563 at 126.com> wrote:
> Recently , i write a driver to operate x86(pc104) io port .The data
> transmission is base on isa bus. When i complie my program.Some errors were
> error:bsp/DIO.h :No such file or directory
> error:DIO1_DRIVER_TABLE_ENTRY undeclared here (not in a function)
> I think the second error is coursed by the first one . I don't know wheather
> my DIO.h is put on wrong place or didn't gave the right search path. By the
We don't have quite enough information to debug, but your problem
appears to be that your driver header file is not being found. A
simple hack to get things working would be to add a -I (capital i) and
path to the folder holding your driver header in your Makefile as
flags to gcc.
> way , in order to do a io test ,I used the Makefie of
> can you help me to slove this problem. Thank you!
> Best Regard!
> rtems-users mailing list
> rtems-users at rtems.org
More information about the rtems-users