On Mon, May 20, 2013 at 4:33 AM, Peter Cheung <mcheun...@hotmail.com> wrote: > /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