I'd say to "make clean" or some harsher (distclean etc). Build systems record the (auto-generated) dependencies (in the .d files, for example), with absolute pathnames, so if
1/ you move your source tree, the build system will consider wrong paths 2/ your "system" headers change, same happens. So, you need to get rid of those .d files, and also generated Makefiles & everything generated by previous configure/autoconf.... On Wed, Jul 11, 2012 at 12:18 PM, Gabor Z. Papp <[email protected]> wrote: > lo lo, > > I'm trying to compile sawfish 1.9.0 from source, and getting the > following error: > > make[1]: *** No rule to make target `/x.o', needed by `x.lo'. Stop. > > The problem started when I reinstalled my X, and changed the X prefix > from /x to /x.org > > Same problem exist with sawfish 1.7 and 1.8. > > I think, the problem is around libtool. Of course reinstalled libtool > too, but I can't resolve the problem, except with renaming x.c xraw.c, > but that generates new problems later. > > So, could someone reveiw this problem - and rename x.c? > > -- > Sawfish ML > -- Sawfish ML
