On Sun, 14 Jun 2009 16:02:03 -0700 (PDT) Luis Useche <use...@gmail.com> wrote:
> Hi Guys, > > I want to modify OpenSolaris kernel for some project. I have been struggling > really hard to compile the OpenSolaris kernel 2 days now with no success. I > am doing this using the last release of OpenSolaris Indiana 2009.06. My steps: > > 1) clone the code with hg > 2) Install all requirements to build ON with the package manager (the package > is called onet) > 3) Install the SunStudio > 4) Build the environment with bldenv > 5) cd usr/src/uts/; dmake all > > After long time compiling, the compiler raise an error in the file ncall.c > stating that the header <sys/nsctl/nsvers.h> does not exist. Looks like you didn't run $ make setup before your build in $SRC/uts. make/dmake setup should be the very first make command that you run for any new workspace. It sets up the proto area so that all the header files and sundry required directories are in the right places. cheers, James C. McPherson -- Senior Kernel Software Engineer, Solaris Sun Microsystems http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog Kernel Conference Australia - http://au.sun.com/sunnews/events/2009/kernel _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code