bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tmpfs compilation


From: Thomas Schwinge
Subject: Re: tmpfs compilation
Date: Fri, 28 Oct 2011 00:21:16 +0200
User-agent: Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/23.3.1 (i486-pc-linux-gnu)

Hi!

Maksym, this has been a bit light on details.  You should always give
complete examples what you have done, so that others can reproduce it.


On Fri, 28 Oct 2011 00:15:22 +0300, Maksym Planeta <mcsim.planeta@gmail.com> 
wrote:
> I have a problem with compiling of tmpfs. First when I tried to run
> configure script from ../hurd/ it didn't generate Makefiles, so i ran
> configure from ../ (this is root directory for hurd repository).

Yes, the latter is indeed the configure script you should run.  Sorry, I
didn't even remember that we have a [hurd]/hurd/configure (for
install-headers solely), too.

My suggestion on IRC was to have a build tree *outside* of the Hurd
sources directory: for example, $PWD/hurd-build/ for building, and
$PWD/hurd/ containing the sources.  Thus, ``cd hurd-build/ &&
../hurd/configure --disable-profile [...]''.


> After
> compilation of tmpfs I added some changes and ran "make tmpfs". But this
> time compilation didn't complete. Here are last line of compilation log:
> 
> make -C libdiskfs all
> make[1]: Entering directory `/home/mcsim/hurd/libdiskfs'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/mcsim/hurd/libdiskfs'
> make -C tmpfs all
> make: *** [tmpfs] Error 2
> 
> Than I refused my changes, but tmpfs didn't compile until I ran "make clean".

That's strange.  Have you added/removed any files?  (That's what I would
empirically guess from ``Error 2''.)  What kind of changes have you done?

I just tried to reproduce this with a build inside a subdirectory of the
source directory (your ``../configure'' case), and after a first ``make
tmpfs'', I ``modified'' the tmpfs sources (``touch ../tmpfs/*''), and
then the next ``make tmpfs'' works without any issues for me.


Grüße,
 Thomas

Attachment: pgpcJLXAmlMCJ.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]