Subject: Re: make build error
To: MOCHIZUKI Tomomitsu <t-mochi@mail.wbs.ne.jp>
From: David Laight <David.Laight@btinternet.com>
List: current-users
Date: 11/19/2001 16:59:16
MOCHIZUKI> /usr/sup/src/tools/compile_et/../../crypto/dist/heimdal/lib/roken/print_version.c:40: print_version.h: No such file or
directory
>
> I've had this same message about print_version.h not found while
> building roken. The only quick and dirty fix i've found was to copy
> print_version.h in the /usr/src/crypto/dist/heimdal/lib/roken/
> directory (you can find it in /usr/src/lib/libasn1/asn1_compile/).
>
> That's the only fix i've found : make clean|cleandir, removal of obj
> reps, further sups, etc. don't change anything
>
> If someone has an explanation, i would be happy to hear from.
>
> I'm afraid my solution will cause some problem when print_version.h
> will be updated...

An alternate (safe) fix would be to create the include file as:

echo "#include "../../../../lib/libasn1/asn1_compile/print_version.h" \
  > /usr/src/crypto/dist/heimdal/lib/roken/print_version.h

that way there is still only one copy of the file...

(If I got the number of .. right... maybe there is nicer way to
reference the real file - but I don't know what -I options are active)

    David