i have done some configurations according to http://dlc.sun.com/osol/on/downloads/current/README.opensolaris before my compilation of b136's code.
but in order to compile the debug version, i also modify NIGHTLY_OPTION to "-DnaCFlmpr", that is -t is deleted for the purpose of using the tools in /opt/onbld then bldenv -d +t ./opensolaris.sh is done in order to compile the debug version and use the /opt/onbld tools so the first questions i found after that is bldenv doesn't export socalled ONBLD_TOOLS or so out. this confuses me and i also wanna know which env variables bldenv should export out. --------------------------------------------------------- after that , i started to compile the code but i also encountered Error code, it seems to use mix two paths together, which is quite confusing in nightly.log, it says as follows: sh: line 1: /home/alex/opensolaris/onnv-gate/usr/src/tools/proto/opt/onbld /bin/i386/cw: not found *** Error code 127 dmake: Warning: Command failed for target `errgen.o Current working directory /home/alex/opensolaris/onnv-gate/usr/src/cmd/avs/errgen dmake: Warning: Target `install' not remade because of errors Current working directory /home/alex/opensolaris/onnv-gate/usr/src/cmd/avs/errgen and in mail_log, it says: ==== Nightly distributed build started: Sun Mar 28 14:39:57 CST 2010 ==== ==== Build environment ==== /usr/bin/uname SunOS opensolaris 5.11 snv_134 i86pc i386 i86pc /opt/onbld/bin/nightly opensolaris.sh PKGINST: SUNWonbld VERSION: 11.11,REV=2010.03.05.11.13 PSTAMP: elpaso20100305111326 /opt/SUNWspro/bin/dmake dmake: Sun Distributed Make 7.8 SunOS_i386 Patch 126504-01 2007/07/19 number of concurrent jobs = 4 32-bit compiler /opt/onbld/bin/i386/cw -_cc cw version 1.28 primary: /opt/SUNWspro/bin/cc cc: Sun C 5.9 SunOS_i386 Patch 124868-10 2009/04/30 shadow: /usr/sfw/bin/gcc gcc (GCC) 3.4.3 (csl-sol210-3_4-20050802) 64-bit compiler /opt/onbld/bin/i386/cw -_cc cw version 1.28 primary: /opt/SUNWspro/bin/cc cc: Sun C 5.9 SunOS_i386 Patch 124868-10 2009/04/30 shadow: /usr/sfw/bin/gcc gcc (GCC) 3.4.3 (csl-sol210-3_4-20050802) /usr/java/bin/javac java full version "1.6.0_18-b07" /usr/ccs/bin/as as: Sun Compiler Common 12 SunOS_i386 snv_121 08/03/2009 /usr/ccs/bin/ld ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1689 Build project: user.root Build taskid: 118 ==== Nightly argument issues ==== ==== Build version ==== onnv-gate-alex ==== Make clobber ERRORS ==== ==== Make tools clobber ERRORS ==== ==== Tools build errors ==== ==== Impact on tools packages ==== Files missing from packages: T File Name Reloc/Sym name perm owner group inode lnk maj min package(s) ------------------------------------------------------------------------------------------------------------ f root_i386-nd/opt/onbld/man/man1/check_rtime.1 - 644 - - 0 1 - - proto f root_i386-nd/opt/onbld/bin/i386/cpiotranslate - 555 - - 0 1 - - proto f root_i386-nd/opt/onbld/man/sman1/make_pkg_db.1 - 644 - - 0 1 - - proto d root_i386-nd/opt/onbld/lib/python/onbld/hgext - 755 - - 137598 2 - - proto f root_i386-nd/opt/onbld/man/man1/interface_cmp.1 - 644 - - 0 1 - - proto so secondly, i am writing for help for how to configure the system to let it use the tools in /opt/onbld globally. thanks first for your attention to those two question . -- This message posted from opensolaris.org