bug-hurd
[Top][All Lists]
Advanced

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

Re: two build system issues


From: Ivan Shmakov
Subject: Re: two build system issues
Date: Sun, 06 Apr 2014 09:15:06 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

>>>>> Justus Winter <4winter@informatik.uni-hamburg.de> writes:

 > The second issue is due to me doing an out-of-tree build.  That it
 > currently works is more or less by chance I fear.  I just came up
 > with a (legit in my opinion) patch that breaks oot builds.

 > So what happens here is that demuxer.c includes
 > "../libports/notify_S.h", which is a mig-generated file:

 > build/build-deb/libdiskfs$ ls ../libports/notify_S.h 
 > ../libports/notify_S.h

 > And this file includes "mig-decls.h" (that's the change I made that
 > breaks the build), because that file is in the source tree:

 > build/build-deb/libdiskfs$ ls ../libports/mig-decls.h 
 > ls: cannot access ../libports/mig-decls.h: No such file or directory
 > build/build-deb/libdiskfs$ ls ../../libports/mig-decls.h 
 > ../../libports/mig-decls.h

 > :/

 > Any help?

        Well, shouldn’t CPPFLAGS (or rather AM_CPPFLAGS, when Automake
        is used) include -I$(srcdir) whenever any header files from the
        source directory are to be included?

-- 
FSF associate member #7257



reply via email to

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