Hi Andreas, Peter, On Tue, May 21, 2013 at 1:59 AM, Andreas Färber <afaer...@suse.de> wrote: > Hi, > > Am 20.05.2013 04:33, schrieb Peter Cheung: >> 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. >
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 > 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 >