On 7/31/07, Aubrey Li <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I wrote a driver to dump some info of the kernel space.
>
> The driver includes some global vaiables from the kernel.
>
> Certainly, the relative kernel head files are needed.
>
>
> But the problem is,  the relative head files depend on another bunch
> of head files.
>
> I think it's not the right way to add these paths to CFLAGS one by one.
>
> So, what's the right way to build this kind of driver without building
> kernel on solaris?
>
> Thanks,
> -Aubrey
>
OK, finally I found a way to build it successful. Actually it works as
long as the correct header files are included.

-Aubrey
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to