it's opensolaris ?
use pkg(5)
sartek at osol:~$ pkg search sunddi.h
INDEX      ACTION    VALUE                     PACKAGE
basename   file      usr/include/asm/sunddi.h  pkg:/SUNWhea at 0.5.11-0.95
basename   file      usr/include/sys/sunddi.h  pkg:/SUNWhea at 0.5.11-0.95


On Wed, Aug 27, 2008 at 7:21 AM, L.K <lk.atwork at yahoo.com> wrote:
> Hi,
>
> I'm trying to build the sample driver that comes with the solaris device 
> driver tutorial.
> The preprocessor is unable to find any of the system header files such as
> sys/cmn_err.h, sys/ddi.h sys/sunddi.h etc.
>
> I have Sun Studio 11 installed on system and have also downloaded the 
> opensolaris source code onto my system.
>
> Here is what I get for uname -a
>
> SunOS opensolaris 5.11 snv_86 i86pc i386 i86pc Solaris
>
> What package should I install for the headers? Is it SUNWhea? Where can I 
> find it?
>
> thanks in advance
> LK
>
>
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-help mailing list
> opensolaris-help at opensolaris.org
>



-- 
Andy
http://blog.sartek.net

Reply via email to