This is an out of tree build but your source tree
Hi all I have this problem in my Mac
/Users/peter/workspace/qemu_latest>makeMakefile:16: *** This is an out of tree build but your source tree (/Users/peter/workspace/qemu_latest) seems to have been used for an in-tree build. You can fix this by running "make distclean && rm -rf *-linux-user *-softmmu" in your source tree. Stop. even i run "make distclean && rm -rf *-linux-user *-softmmu", it doesn't help.
thanksfrom Peter
Quoted 8 lines · Peter Cheung
/Users/peter/workspace/qemu_latest>make
Makefile:16: *** This is an out of tree build but your source tree (/Users/peter/workspace/qemu_latest) seems to have been used for an in-tree build. You can fix this by running "make distclean && rm -rf *-linux-user *-softmmu" in your source tree. Stop.even i run "make distclean && rm -rf *-linux-user *-softmmu", it doesn't help.
Are you trying to do an out-of-tree build? If yes, run the distclean command in the _source tree_ and not in your out-of-tree directory.
If you are not trying to do an out-of-tree build then maybe the Makefile is buggy here on Mac OS X:
ifneq ($(realpath $(SRC_PATH)),$(realpath .))
Please add $(realpath $(SRC_PATH)) and $(realpath .) to the error message. That way you can confirm whether the path matching makes sense.
Stefan
Quoted 3 lines · Stefan Hajnoczi
If you are not trying to do an out-of-tree build then maybe the
Makefileis buggy here on Mac OS X:
ifneq ($(realpath $(SRC_PATH)),$(realpath .))
manooth$ realpath
-bash: realpath: command not found
...might be why this rune does not work on MacOS X :-)
-- PMM
Quoted 7 lines · Peter Maydell
Quoted 3 lines · Stefan Hajnoczi
If you are not trying to do an out-of-tree build then maybe the
Makefileis buggy here on Mac OS X:
ifneq ($(realpath $(SRC_PATH)),$(realpath .))manooth$ realpath
-bash: realpath: command not found
Man, I should stop sending email before I wake up. Ignore this obvious rubbish.
-- PMM
Thanks gentlemen :-)
Quoted 29 lines
Date: Mon, 20 May 2013 08:17:33 +0200
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [Qemu-devel] This is an out of tree build but your source treeQuoted 8 lines · Peter Cheung
/Users/peter/workspace/qemu_latest>make
Makefile:16: *** This is an out of tree build but your source tree (/Users/peter/workspace/qemu_latest) seems to have been used for an in-tree build. You can fix this by running "make distclean && rm -rf *-linux-user *-softmmu" in your source tree. Stop.even i run "make distclean && rm -rf *-linux-user *-softmmu", it doesn't help.
Are you trying to do an out-of-tree build? If yes, run the distclean command in the
_sourcetree_and not in your out-of-tree directory.If you are not trying to do an out-of-tree build then maybe the
Makefileis buggy here on Mac OS X:
ifneq ($(realpath $(SRC_PATH)),$(realpath .))Please add $(realpath $(SRC_PATH)) and $(realpath .) to the error message. That way you can confirm whether the path matching makes sense.
Stefan
Hi,
Am 20.05.2013 04:33, schrieb Peter Cheung:
Quoted 11 lines
Hi all
I have this problem in my Mac/Users/peter/workspace/qemu_latest>make
Makefile:16: *** This is an out of tree build but your source tree (/Users/peter/workspace/qemu_latest) seems to have been used for an in-tree build. You can fix this by running "make distclean && rm -rf *-linux-user *-softmmu" in your source tree. Stop.even i run "make distclean && rm -rf *-linux-user *-softmmu", it doesn't help.
If nothing else works, commit all your changes to your source tree and run in the source directory rm -rf * (this should delete all non-hidden files, leaving .git intact) followed by git reset --hard to restore all files from the index.
Regards,
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Hi Andreas, Peter,
Quoted 12 lines · Andreas Färber
Hi,
Am 20.05.2013 04:33, schrieb Peter Cheung:
Quoted 9 lines
Hi all
I have this problem in my Mac/Users/peter/workspace/qemu_latest>make
Makefile:16: *** This is an out of tree build but your source tree (/Users/peter/workspace/qemu_latest) seems to have been used for an in-tree build. You can fix this by running "make distclean && rm -rf *-linux-user *-softmmu" in your source tree. Stop.
Quoted 8 lines
Quoted 2 lines
even i run "make distclean && rm -rf *-linux-user *-softmmu", it doesn't help.
If nothing else works, commit all your changes to your source tree and run in the source directory
rm -rf *(this should delete all non-hidden files, leaving .git intact) followed bygit reset --hardto restore all files from the index.
FWIW, I think git clean -dxf has the same net effect, purging all untracked and even gitignored files. Its verbose and its output may shed light on what bogus files are in your tree as well.
Regards,
Peter
Quoted 7 lines
Regards,
Andreas--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Nice idea, thanks Andreas
Quoted 33 lines
Date: Mon, 20 May 2013 17:59:12 +0200
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [Qemu-devel] This is an out of tree build but your source treeHi,
Am 20.05.2013 04:33, schrieb Peter Cheung:
Quoted 11 lines
Hi all
I have this problem in my Mac/Users/peter/workspace/qemu_latest>make
Makefile:16: *** This is an out of tree build but your source tree (/Users/peter/workspace/qemu_latest) seems to have been used for an in-tree build. You can fix this by running "make distclean && rm -rf *-linux-user *-softmmu" in your source tree. Stop.even i run "make distclean && rm -rf *-linux-user *-softmmu", it doesn't help.
If nothing else works, commit all your changes to your source tree and run in the source directory
rm -rf *(this should delete all non-hidden files, leaving .git intact) followed bygit reset --hardto restore all files from the index.Regards,
AndreasSignature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg