Kurt Schreiner wrote:
>On Tue, Apr 18, 2006 at 08:02:19PM +0200, Juan RP wrote:
>
>
>>[...]
>>Do you have ndiscvt/inf-parse.y? it seems to build
correctly.
>>
>>
>Yes, it's where I would expect it to be
>But maybe yacc expects it to be in the obj-dir
>(/u/NetBSD/arch/i386/obj/usr.sbin/ndiscvt)? Don't
know...
>
>[ks ipaddi-bsd:/usr/src/usr.sbin/ndiscvt] 11:33 ttyp1
>-1007: ll
>total 52
>drwxr-x--- 6 ks staff - 512 Apr 15 11:14 ./
>drwxr-x--- 310 ks staff - 3072 Apr 18 19:41 ../
>drwxr-x--- 2 ks staff - 512 Apr 15 11:14 CVS/
>-rw-r----- 1 ks staff - 513 Apr 18 19:05 Makefile
>-rw-r----- 1 ks staff - 3007 Apr 18 19:05
inf-parse.y
>-rw-r----- 1 ks staff - 3550 Apr 18 19:05
inf-token.l
>-rw-r----- 1 ks staff - 16532 Apr 18 19:05 inf.c
>-rw-r----- 1 ks staff - 1461 Apr 18 19:05 inf.h
>-rw-r--r-- 1 ks staff - 7990 Apr 5 19:33
ndiscvt.8
>-rw-r----- 1 ks staff - 11979 Apr 3 20:55
ndiscvt.c
>[ks ipaddi-bsd:/usr/src/usr.sbin/ndiscvt] 11:33 ttyp1
>-1008:
/u/NetBSD/arch/i386/TOOLS/bin/nbmake-i386
>/u/NetBSD/arch/i386/TOOLS/bin/nbyacc: f - cannot open
"inf-parse.y"
>
>*** Failed target: y.tab.h
>*** Failed command: /u/NetBSD/arch/i386/TOOLS/bin/nbyacc
-v -d inf-parse.y
>*** Error code 2
>
>Stop.
>nbmake: stopped in /u/NetBSD/src/usr.sbin/ndiscvt
>
>
>
The Makefile has a bug when using obj-dirs. One workaround
is to replace
inf-parse.y with $? in the Makefile.
Frank
|