> > But then: when I start a dmake (using b91 in a VirtualBox on a laptop) > > it seems I trying to build the kernel it self? And this fails after a > > while with: > > > > dmake: Fatal error: Don't know how to make target > > `../../intel/genunix/debug64/libgenunix.so' > > Current working directory /export/testws/usr/src/uts/i86pc/unix > > *** Error code 1 > > The following command caused the error: > > BUILD_TYPE=DBG64 VERSION='testws' dmake def.targ > > dmake: Fatal error: Command failed for target `def.debug64' > > Current working directory /export/testws/usr/src/uts/i86pc/unix > > *** Error code 1 > > The following command caused the error: > > cd unix; pwd; dmake def > > dmake: Fatal error: Command failed for target `unix' > > > > Well, offhand I don't know why the kernel would need to be changed to > support your changes. I would think that only the CPU driver would need > to change. Are you sure this build failure is due to your changes? Have > you tried building the kernel without your changes? > > > May be I'm completely om the wrong track here and this is not the way to > > do this. > > > > Is there someone that could help out? > > > > I can take a look at your build if you provide me a pointer. I should > probably be able to figure out what's going wrong without looking at the > specifics of your code (and possibly risk tainting myself ;-)). > > Mark >
FWIW, many components in uts make use of libgenunix (as well is items in usr/src/common), but don't have the rules to build it. I usually suggest doing a make in uts before changing any code, as it verifies that all the dependancies are available and properly build. Then if there are build failures after modifying code, it must be related to the changes. ---- Randy