Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.21-xen is not clean->can't compile xen-sources
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
takuan4
n00b
n00b


Joined: 06 Feb 2007
Posts: 17

PostPosted: Fri Apr 11, 2008 4:05 am    Post subject: 2.6.21-xen is not clean->can't compile xen-sources Reply with quote

I am following the official xen guide but am having problems compiling the kernel sources.
I get the following error.
Code:
Using /usr/src/linux-2.6.21-xen as source for kernel
/usr/src/linux-2.6.21-xen is not clean, please run 'make mrproper'
in the /usr/src/linux-2.6.21-xen' directory
make[1]: *** [prepare3] Error 1
make: *** [_all] Error 2

when i run "make O=/root/build/dom0"

If i run make mrproper, it just deletes my .config file, which isn't too helpful.

I can do a "make && make modules_install" from /usr/src/linux but it won't compile the build into ~/build/dom0

Any ideas??
Back to top
View user's profile Send private message
qubix
Tux's lil' helper
Tux's lil' helper


Joined: 22 Sep 2003
Posts: 144
Location: Warsaw/Poland

PostPosted: Tue Apr 15, 2008 7:20 am    Post subject: Reply with quote

is ~/build/dom0 empty?
_________________
qubix
Back to top
View user's profile Send private message
qriff
n00b
n00b


Joined: 04 Dec 2003
Posts: 73

PostPosted: Mon Jun 09, 2008 10:58 pm    Post subject: Reply with quote

Notice: This is just a hint...

Warning: This will remove your current kernel-configuration.

Code:
cd /usr/src/linux
make mrproper
make O=/root/build/dom0 mrproper
make O=/root/build/domU mrproper


and restart configuration with

Code:

make O=/root/build/dom0 menuconfig
make O=/root/build/domU menuconfig


build

Code:

make O=/root/build/dom0
make O=/root/build/domU
Back to top
View user's profile Send private message
man in the hill
Veteran
Veteran


Joined: 15 Dec 2005
Posts: 1552
Location: Madinina

PostPosted: Fri Jul 18, 2008 11:09 pm    Post subject: Reply with quote

Hi,

I have the same trouble and your solution donc work ...
Code:

IRIA linux # make O=~/build/dom0
  GEN     /root/build/dom0/Makefile
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86_64/Kconfig
  Using /usr/src/linux-2.6.21-xen as source for kernel
  /usr/src/linux-2.6.21-xen is not clean, please run 'make mrproper'
  in the '/usr/src/linux-2.6.21-xen' directory.
make[1]: *** [prepare3] Erreur 1
make: *** [_all] Erreur 2


Any idea is welcome !!!

Thanks
_________________
Get Up and Go !
Back to top
View user's profile Send private message
man in the hill
Veteran
Veteran


Joined: 15 Dec 2005
Posts: 1552
Location: Madinina

PostPosted: Sat Jul 19, 2008 4:49 am    Post subject: Reply with quote

The patch HERE
_________________
Get Up and Go !
Back to top
View user's profile Send private message
PatomaS
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2006
Posts: 120

PostPosted: Sat Aug 02, 2008 6:20 am    Post subject: Reply with quote

Hi

I have the same problem and maybe i'm not getting the idea related to the patch right.

Can you, man in the hill, or some one else explain the process.

Thank you.

Bye
_________________
¡ hey, hou, hou, hey !
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum