problem on x86 io driver test complie(correct )

Gedare Bloom gedare at rtems.org
Mon Mar 5 16:24:54 UTC 2012


On Mon, Mar 5, 2012 at 10:27 AM, zhoupeng <zpeng563 at 126.com> wrote:
> hello,everyone
>
> 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
> found:
> 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
> "hello_world".directly.
> can you help me to slove this problem. Thank you!
> Best Regard!
>
> zhoupeng
>
>
>
>
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>




More information about the users mailing list