Subject: misc/12774: with generated includes in objdir, -I is needed
To: None <gnats-bugs@gnats.netbsd.org>
From: S.P.Zeidler <spz@sagitta.1st.de>
List: netbsd-bugs
Date: 04/28/2001 10:09:58
>Number:         12774
>Category:       misc
>Synopsis:       with generated includes in objdir, -I<objdir> is needed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 28 01:11:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     S.P.Zeidler
>Release:        Apr 24
>Organization:
	dis-
>Environment:
	
System: NetBSD sagitta 1.5U NetBSD 1.5U (SAGITTA) #19: Tue Apr 24 08:00:40 MEST 2001 spz@sagitta:/data/cvs/src/sys/arch/i386/compile/SAGITTA i386
Architecture: i386
Machine: i386
>Description:
	make build fails in dependall gnu/usr.bin/groff/eqn with:
/data/cvs/src/gnu/usr.bin/groff/eqn/lex.cc:22: eqn.tab.h: No such file or directory

this is due to:
dependall ===> gnu/usr.bin/groff/eqn
yacc  -d /data/cvs/src/gnu/usr.bin/groff/eqn/eqn.y
mv y.tab.c eqn.cc
mv y.tab.h eqn.tab.h

and

sagitta# ls /data/cvs/src/gnu/usr.bin/groff/eqn/obj.i386
eqn.cc    eqn.tab.h

and mkdep -a not having the objdir in its include path

>How-To-Repeat:
	make build with objdirs on
>Fix:
	-I${.CURDIR}/${__objdir} somewhere
>Release-Note:
>Audit-Trail:
>Unformatted: