On Wed, Sep 28, 2005 at 11:06:10AM -0700, Adil Rajput wrote: > However, if I try to make the kernel by cd/usr/src/uts and typing dmake > for some strange reason, the gcc compiler gets invoked. Ofcourse that build > fails fo rmany reasons.
gcc would be invoked only if you're on x86, and then only when building 64-bit objects. It should work correctly in that case; I'd like to see the error messages. If you're setting __GNUC, don't. Unset this variable in your environment unless you're using the gcc-gate sources. > Also, if I try to make the usr/cmd/ps project, I get an error saying that > libpool.so.1 is not found. When I do check under the closed/root_i386 ... > directory, I do see a libpool.so which is a soft link to libpool.so.1 which > does not exist. You can build and install libpool yourself from the sources you already have. It has dependencies also, though - libnvpair and libexacct at least. If you want to link against your system's libpool (not recommended), removing that link and any libpool.so* from proto/root_i386/* should do the trick. But you're really better off doing something like cd usr/src dmake setup cd lib dmake install cd ../cmd/ps dmake install to ensure you have all the header and library dependencies right. Or, just run nightly as the instructions tell you to. If nightly is taking too long, try using the "i" option to do an incremental build. See nightly(1) for more information. Replies to opensolaris-help, please. -- Keith M Wesolowski "Sir, we're surrounded!" Solaris Kernel Team "Excellent; we can attack in any direction!" _______________________________________________ opensolaris-code mailing list [email protected] https://opensolaris.org:444/mailman/listinfo/opensolaris-code
