DragonFly BSD
DragonFly kernel List (threaded) for 2011-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: bus.h contains reference to bus_if.h and device_if.h which are not found in the required directory


From: Alex Hornung <ahornung@xxxxxxxxx>
Date: Sat, 26 Mar 2011 20:58:59 +0000

you need to add them to SRCS+=... just look at other drivers, for
example the linuxulator module in sys/emulation/linux.

These header files are interface files built from interface definitions
(foo.m).


Regards,
Alex

On 26/03/11 20:53, shivanth wrote:
> I'm trying to write a  char driver and am having trouble including bus.h
> header file . This file tries to include the files bus_if.h and
> device_if.h. But these files are not found in /usr/src/sys/sys/ .
> Instead i found these files in usr/obj/usr/src/sys/GENERIC/ .
>  I'm wondering there're many drivers using bus.h and are not broken ,
> but my module never seems to compile . Am I wrong somewhere (I should be)?



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]