Hi folks, I am not able to build xvm source pulled from xvm-3.3+ gate. Can anybody tell me what I am missing? What I am doing are: 1. pull and update the source from gate $ ./sunos.hg/bin/update-gate `pwd` ssh://anon@hg.opensolaris.org//hg/xen-gate/xvm-3.3+ 2. setup the environment [allen@blu-wbg:hg]cat ~/.hgrc [extensions] hgext.mq [allen@blu-wbg:hg]cat ~/.bashrc- #environment setting for xvm build export EMAIL="baolu.lu@intel.com" export XVM_WS="/export/home/allen/Workspace/xvm-gate" export EDITOR="vi" export SOLARIS_BUILD_TOOLS="/opt" 3. start to build $ cd /export/home/allen/Workspace/xvm-gate $ export XVM_WS=`pwd` $ sunos.hg/bin/build-xen ... ... fsimage.c:40:19: vdisk.h: No such file or directory fsimage.c: In function `fsi_open_fsimage'': fsimage.c:51: warning: implicit declaration of function `vdisk_check_vdisk'' fsimage.c:52: warning: implicit declaration of function `vdisk_open'' fsimage.c:52: warning: assignment makes pointer from integer without a cast fsimage.c: In function `fsi_close_fsimage'': fsimage.c:100: warning: implicit declaration of function `vdisk_close'' gmake[6]: *** [fsimage.opic] Error 1 gmake[6]: Leaving directory `/export/home/allen/Workspace/xvm-gate/xen.hg/tools/libfsimage/common'' gmake[5]: *** [subdir-install-common] Error 2 gmake[5]: Leaving directory `/export/home/allen/Workspace/xvm-gate/xen.hg/tools/libfsimage'' gmake[4]: *** [subdirs-install] Error 2 gmake[4]: Leaving directory `/export/home/allen/Workspace/xvm-gate/xen.hg/tools/libfsimage'' gmake[3]: *** [subdir-install-libfsimage] Error 2 gmake[3]: Leaving directory `/export/home/allen/Workspace/xvm-gate/xen.hg/tools'' gmake[2]: *** [subdirs-install] Error 2 gmake[2]: Leaving directory `/export/home/allen/Workspace/xvm-gate/xen.hg/tools'' gmake[1]: *** [install-tools] Error 2 gmake[1]: Leaving directory `/export/home/allen/Workspace/xvm-gate/xen.hg'' gmake: *** [world] Error 2 I have repeated above steps on Nevada 111, 110 and 109. All failed at the same error point. Did I miss anything? Thanks, Allen
Lu Baolu wrote:> Hi folks, > > I am not able to build xvm source pulled from xvm-3.3+ gate. Can > anybody tell me what I am missing? > > What I am doing are: > > 1. pull and update the source from gate > $ ./sunos.hg/bin/update-gate `pwd` > ssh://anon@hg.opensolaris.org//hg/xen-gate/xvm-3.3+Can you try an update-gate again? You probably should have done a "cd sunos.hg;hg pull -uv" first to update the update-gate script first. If that doesn''t work, try a ./sunos.hg/bin/outgoing to make sure you gate is in good shape.. If that looks like, try pulling a new gate? MRJ> 2. setup the environment > [allen@blu-wbg:hg]cat ~/.hgrc > [extensions] > hgext.mq > > [allen@blu-wbg:hg]cat ~/.bashrc- > #environment setting for xvm build > export EMAIL="baolu.lu@intel.com" > export XVM_WS="/export/home/allen/Workspace/xvm-gate" > export EDITOR="vi" > export SOLARIS_BUILD_TOOLS="/opt" > > 3. start to build > $ cd /export/home/allen/Workspace/xvm-gate > $ export XVM_WS=`pwd` > $ sunos.hg/bin/build-xen > > ... ... > fsimage.c:40:19: vdisk.h: No such file or directory > fsimage.c: In function `fsi_open_fsimage'': > fsimage.c:51: warning: implicit declaration of function `vdisk_check_vdisk'' > fsimage.c:52: warning: implicit declaration of function `vdisk_open'' > fsimage.c:52: warning: assignment makes pointer from integer without a cast > fsimage.c: In function `fsi_close_fsimage'': > fsimage.c:100: warning: implicit declaration of function `vdisk_close'' > gmake[6]: *** [fsimage.opic] Error 1 > gmake[6]: Leaving directory > `/export/home/allen/Workspace/xvm-gate/xen.hg/tools/libfsimage/common'' > gmake[5]: *** [subdir-install-common] Error 2 > gmake[5]: Leaving directory > `/export/home/allen/Workspace/xvm-gate/xen.hg/tools/libfsimage'' > gmake[4]: *** [subdirs-install] Error 2 > gmake[4]: Leaving directory > `/export/home/allen/Workspace/xvm-gate/xen.hg/tools/libfsimage'' > gmake[3]: *** [subdir-install-libfsimage] Error 2 > gmake[3]: Leaving directory `/export/home/allen/Workspace/xvm-gate/xen.hg/tools'' > gmake[2]: *** [subdirs-install] Error 2 > gmake[2]: Leaving directory `/export/home/allen/Workspace/xvm-gate/xen.hg/tools'' > gmake[1]: *** [install-tools] Error 2 > gmake[1]: Leaving directory `/export/home/allen/Workspace/xvm-gate/xen.hg'' > gmake: *** [world] Error 2 > > > I have repeated above steps on Nevada 111, 110 and 109. All failed at > the same error point. > > Did I miss anything? > > Thanks, > Allen > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org
Hi Mark, I have figured out this problem. Thanks for help. Allen On Mon, Apr 6, 2009 at 9:07 PM, Mark Johnson <Mark.Johnson@sun.com> wrote:> > > Lu Baolu wrote: >> >> Hi folks, >> >> I am not able to build xvm source pulled from xvm-3.3+ gate. Can >> anybody tell me what I am missing? >> >> What I am doing are: >> >> 1. pull and update the source from gate >> $ ./sunos.hg/bin/update-gate `pwd` >> ssh://anon@hg.opensolaris.org//hg/xen-gate/xvm-3.3+ > > > Can you try an update-gate again? You probably should have done > a "cd sunos.hg;hg pull -uv" first to update the update-gate script > first. > > If that doesn''t work, try a ./sunos.hg/bin/outgoing to make sure you > gate is in good shape.. If that looks like, try pulling a new gate? > > > > MRJ > > > > > > >> 2. setup the environment >> [allen@blu-wbg:hg]cat ~/.hgrc >> [extensions] >> hgext.mq >> >> [allen@blu-wbg:hg]cat ~/.bashrc- >> #environment setting for xvm build >> export EMAIL="baolu.lu@intel.com" >> export XVM_WS="/export/home/allen/Workspace/xvm-gate" >> export EDITOR="vi" >> export SOLARIS_BUILD_TOOLS="/opt" >> >> 3. start to build >> $ cd /export/home/allen/Workspace/xvm-gate >> $ export XVM_WS=`pwd` >> $ sunos.hg/bin/build-xen >> >> ... ... >> fsimage.c:40:19: vdisk.h: No such file or directory >> fsimage.c: In function `fsi_open_fsimage'': >> fsimage.c:51: warning: implicit declaration of function >> `vdisk_check_vdisk'' >> fsimage.c:52: warning: implicit declaration of function `vdisk_open'' >> fsimage.c:52: warning: assignment makes pointer from integer without a >> cast >> fsimage.c: In function `fsi_close_fsimage'': >> fsimage.c:100: warning: implicit declaration of function `vdisk_close'' >> gmake[6]: *** [fsimage.opic] Error 1 >> gmake[6]: Leaving directory >> `/export/home/allen/Workspace/xvm-gate/xen.hg/tools/libfsimage/common'' >> gmake[5]: *** [subdir-install-common] Error 2 >> gmake[5]: Leaving directory >> `/export/home/allen/Workspace/xvm-gate/xen.hg/tools/libfsimage'' >> gmake[4]: *** [subdirs-install] Error 2 >> gmake[4]: Leaving directory >> `/export/home/allen/Workspace/xvm-gate/xen.hg/tools/libfsimage'' >> gmake[3]: *** [subdir-install-libfsimage] Error 2 >> gmake[3]: Leaving directory >> `/export/home/allen/Workspace/xvm-gate/xen.hg/tools'' >> gmake[2]: *** [subdirs-install] Error 2 >> gmake[2]: Leaving directory >> `/export/home/allen/Workspace/xvm-gate/xen.hg/tools'' >> gmake[1]: *** [install-tools] Error 2 >> gmake[1]: Leaving directory `/export/home/allen/Workspace/xvm-gate/xen.hg'' >> gmake: *** [world] Error 2 >> >> >> I have repeated above steps on Nevada 111, 110 and 109. All failed at >> the same error point. >> >> Did I miss anything? >> >> Thanks, >> Allen >> _______________________________________________ >> xen-discuss mailing list >> xen-discuss@opensolaris.org >
On Tue, Apr 07, 2009 at 02:47:24PM +0800, Lu Baolu wrote:> Hi Mark, > > I have figured out this problem. Thanks for help. > > AllenFor the benefit of any future readers of this thread, could you detail how you found what the problem was, and how you fixed it? [Don''t just say "user error" - many problems are, and users wish to know how not to be in error! ;-)] Thanks. -- /*********************************************************************\ ** ** Joe Yao jsdy@tux.org - Joseph S. D. Yao ** \*********************************************************************/
I am sorry that I''ve ignored the background information. I think I have described what problem I was having. I am just about to tell how I fix/workaround this problem. There seems to be some dependence between the patches in xvm-3.3 gate. If I build-xen in the fresh downloaded source tree, it will failed. On the other hand, if I build-all first, and then build-xen, everything works well. Actually, I don''t what kind of dependece exists here. Another thing is that I need to download readline-5.2.tar.gz from Internet and set the path to it well in sunos.hg/bin/build-libvirt. For the latest source, I only need to move readline-5.2.tar.gz to the build directory. Thanks, Allen On Tue, Apr 7, 2009 at 10:20 PM, Joseph S D Yao <jsdy@tux.org> wrote:> On Tue, Apr 07, 2009 at 02:47:24PM +0800, Lu Baolu wrote: >> Hi Mark, >> >> I have figured out this problem. Thanks for help. >> >> Allen > > > For the benefit of any future readers of this thread, could you detail > how you found what the problem was, and how you fixed it? [Don''t just > say "user error" - many problems are, and users wish to know how not to > be in error! ;-)] > > Thanks. > > > -- > /*********************************************************************\ > ** > ** Joe Yao jsdy@tux.org - Joseph S. D. Yao > ** > \*********************************************************************/ >
Lu Baolu wrote:> I am sorry that I''ve ignored the background information. I think I > have described what problem I was having. I am just about to tell how > I fix/workaround this problem. > > There seems to be some dependence between the patches in xvm-3.3 gate. > If I build-xen in the fresh downloaded source tree, it will failed. On > the other hand, if I build-all first, and then build-xen, everything > works well. Actually, I don''t what kind of dependece exists here. > > Another thing is that I need to download readline-5.2.tar.gz from > Internet and set the path to it well in sunos.hg/bin/build-libvirt. > For the latest source, I only need to move readline-5.2.tar.gz to the > build directory. >FYI, I''ve updated the build instructions for the 3.3 bits @ http://opensolaris.org/os/project/xen-gate/BuildInstructions/ MRJ> Thanks, > Allen > > On Tue, Apr 7, 2009 at 10:20 PM, Joseph S D Yao <jsdy@tux.org> wrote: >> On Tue, Apr 07, 2009 at 02:47:24PM +0800, Lu Baolu wrote: >>> Hi Mark, >>> >>> I have figured out this problem. Thanks for help. >>> >>> Allen >> >> For the benefit of any future readers of this thread, could you detail >> how you found what the problem was, and how you fixed it? [Don''t just >> say "user error" - many problems are, and users wish to know how not to >> be in error! ;-)] >> >> Thanks. >> >> >> -- >> /*********************************************************************\ >> ** >> ** Joe Yao jsdy@tux.org - Joseph S. D. Yao >> ** >> \*********************************************************************/ >>