Skip to contentSkip to conversation

building xen-3.1-testing.hg

DISCUSSION sanket hase 2 participants 2 messages Jan 5, 2008

lore
Share & tools
lore
#0 lore raw

Hi ,

I cloned xen-3.1-testing.hg from mercurial repository (changeset 15565) . I was trying to build it.

I changed base make file to =>KERNELS="linux-2.6-xen0 linux-2.6-xenU"

1. make world XEN_TARGET_X86_PAE=n
2. make install

Well, at the end, make install fails showing references to undefined variables in xen-3.1-testing.hg/xen/arch/x86/built_in.o

I understand that repository may not be stable, but it is important for me to get latest sourcecode. Is there any option to clone hg after a particular changeset which was relatively stable ?

Thanks,
Sanket

#1 lore raw
Quoted 10 lines

I cloned xen-3.1-testing.hg from mercurial repository (changeset 15565) . I was trying to build it.

I changed base make file to =>KERNELS="linux-2.6-xen0 linux-2.6-xenU"

1. make world XEN_TARGET_X86_PAE=n
2. make install

Well, at the end, make install fails showing references to undefined variables in xen-3.1-testing.hg/xen/arch/x86/built_in.o

Clean out your repository with a "make clean"

then do:

make world XEN_TARGET_X86_PAE=n
make install XEN_TARGET_X86_PAE=n

I think you need to pass the XEN_TARGET argument to all commands, otherwise bad things can happen (in this case, make install is probably doing something crazy like trying to rebuild some objects in Xen - but it's not got the XEN_TARGET option set, so it's failing).

Does that make sense?

Quoted 3 lines

I understand that repository may not be stable, but it is important for me to get latest sourcecode. Is there any option to clone hg after a particular changeset which was relatively stable ?

The -testing repository should be always pretty stable since it's just used to queue up smallish bug fixes and minor features for 3.1.x releases. xen-unstable may occasionally break, but the -testing tree should be quite sane, therefore you shouldn't need to take special measures to get a stable tree.

Cheers,
Mark

Signature · 4 lines
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!