Subject: lib/14239: make build failes in libcom_err
To: None <gnats-bugs@gnats.netbsd.org>
From: Jon Buller <jon@bullbox.bullers.net>
List: netbsd-bugs
Date: 10/13/2001 08:08:58
>Number: 14239
>Category: lib
>Synopsis: make build failes in libcom_err
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 13 08:10:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Jon Buller
>Release: netbsd-1-5-PATCH002
>Organization:
>Environment:
System: NetBSD bullbox.bullers.net 1.5.2 NetBSD 1.5.2 (BULLBOX) #0: Wed Sep 12 22:12:00 PDT 2001 jon@bullbox.bullers.net:/usr/src/sys/arch/pc532/compile/BULLBOX pc532
>Description:
I was setting up my PC532 to do a full build of the 1.5 branch.
make build and make includes end up failing in /usr/src/lib/libcom_err
because there is no file parse.h in /usr/src/crypto/dist/heimdal/lib/com_err
[ this is after make build has failed, and cd /usr/src/lib/libcom_err ]
#make includes
cc -O -I. -I/usr/src/lib/libcom_err/compile_et/../../../include/heimdal -I/usr/src/lib/libroken/obj.pc532 -I/usr/src/lib/libcom_err/compile_et/../../../crypto/dist/heimdal/lib/com_err -I/usr/src/lib/libcom_err/compile_et/../../../crypto/dist/heimdal/lib/roken -DHAVE_CONFIG_H -c -o compile_et.lo /usr/src/lib/libcom_err/compile_et/../../../crypto/dist/heimdal/lib/com_err/compile_et.c
/usr/src/lib/libcom_err/compile_et/../../../crypto/dist/heimdal/lib/com_err/compile_et.c:42: parse.h: No such file or directory
*** Error code 1
>How-To-Repeat:
Checkout a clean copy of the 1.5 branch. do a make includes or
make build.
>Fix:
First, there is a parse.y file, and the makefile moves y.tab.c to
parse.c after running yacc if you try make parse.c. This procedure
does not generate y.tab.h though, as yacc is not given the -d flag.
Doing this go get a parse.h file does not seem to help though, as
there is no -I/usr/src/lib/libcom_err/obj.pc532 flag for cc. And
simply commenting out the #include "parse.h" lines make lex blow
big chunks later, although the compile of this file finishes fine...
>Release-Note:
>Audit-Trail:
>Unformatted: