[17444] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Error with make depend

daemon@ATHENA.MIT.EDU (Aleksander Adamowski)
Sat Dec 17 06:16:25 2011

MIME-Version: 1.0
From: Aleksander Adamowski <krb5@olo.org.pl>
Date: Sat, 17 Dec 2011 12:15:59 +0100
Message-ID: <CADTpmS7TnBwXSyr6Upi5V-ZDV-wxJ+XdvfQq1JgrKuydJh2RWw@mail.gmail.com>
To: krbdev@mit.edu
Content-Type: text/plain; charset="utf-8"
Errors-To: krbdev-bounces@mit.edu
Content-Transfer-Encoding: 8bit

Hi!

While working on a new experimental LDAP integration, I were trying to
regenerate dependencies in the krb5 project source tree (working on
the latest trunk sources - or, to be exact, master branch from
git://github.com/krb5/krb5-anonsvn which is synced with SVN).

I'm building this on Ubuntu 11.10 Oneiric.

After getting an error instructing that building in a separate tree
from sources, I've started a separate build tree.

To be sure, I've started with fresh unmodified MIT sources (no changes from me).

The make depend target gets interrupted with the following error:

../src/configure && make depend
...
make[2]: Entering directory
`/var/soft/PAM/krb5-github-old/x86_64/util/gss-kernel-lib'
cp ../../../src/lib/gssapi/krb5/k5seal.c k5seal.c
cp ../../../src/lib/gssapi/krb5/k5sealiov.c k5sealiov.c
cp ../../../src/lib/gssapi/krb5/k5unseal.c k5unseal.c
cp ../../../src/lib/gssapi/krb5/k5unsealiov.c k5unsealiov.c
cp ../../../src/lib/gssapi/krb5/k5sealv3.c k5sealv3.c
cp ../../../src/lib/gssapi/krb5/k5sealv3iov.c k5sealv3iov.c
cp ../../../src/lib/gssapi/krb5/util_cksum.c util_cksum.c
cp ../../../src/lib/gssapi/krb5/util_crypt.c util_crypt.c
cp ../../../src/lib/gssapi/krb5/util_seqnum.c util_seqnum.c
cp ../../../src/lib/gssapi/krb5/util_seed.c util_seed.c
cp ../../../src/lib/gssapi/generic/util_token.c util_token.c
cp ../../../src/lib/gssapi/generic/util_set.c util_set.c
cp ../../../src/lib/gssapi/generic/util_ordering.c util_ordering.c
test -d gssapi || mkdir gssapi
make[2]: *** No rule to make target
`../../lib/gssapi/generic/gssapi.h', needed by `gssapi/gssapi.h'.
Stop.
make[2]: Leaving directory
`/var/soft/PAM/krb5-github-old/x86_64/util/gss-kernel-lib'
make[1]: *** [depend-recurse] Error 1
make[1]: Leaving directory `/var/soft/PAM/krb5-github-old/x86_64/util'
make: *** [depend-recurse] Error 1

The problem may be worked around if I work on unmodified, compiling
project: if I first build the whole project using argument-less make
invocation, then "make depend" finishes successfully.

So I have a feeling that some other target from Makefile needs to be
run first in order to provide the needed  headers and generated
sources (if any) for "make depend", but this dependency hasn't been
provided in the Makefile.

After sifting through the project's Makefiles I have no idea which one
would that be.

The problem for me is that when I place my modifications in the
sources, I need to update the dependencies, but to run "make depend" I
would first have to run the whole build using make, and my code won't
compile without updated dependencies, so I'm in a sort of
chicken-and-egg problem.

Any hints on how to successfully proceed with make depend without
building everything first?

-- 
Best Regards,
  Aleksander Adamowski
  http://olo.org.pl

_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev


home help back first fref pref prev next nref lref last post