Subject: bin/6985: make depend fails in /usr/src/gnu/usr.bin/gdb
To: None <gnats-bugs@gnats.netbsd.org>
From: Wolfgang Helbig <helbig@Informatik.BA-Stuttgart.DE>
List: netbsd-bugs
Date: 02/11/1999 09:25:42
>Number: 6985
>Category: bin
>Synopsis: make depend fails in /usr/src/gnu/usr.bin/gdb
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 11 00:35:00 1999
>Last-Modified:
>Originator: Wolfgang Helbig
>Organization:
>Release: NetBSD-current February 10
>Environment:
System: NetBSD rvc1 1.3I NetBSD 1.3I (RVC1) #6: Mon Feb 8 01:35:24 CET 1999 helbig@rvc1:/usr/src/sys/arch/i386/compile/RVC1 i386
>Description:
make depend gets you:
cd: can't cd to /usr/src/gnu/usr.bin/gdb/../../lib/bfd
mkdep -a -I/usr/src/gnu/usr.bin/gdb/obj
[long line deleted]
In file included from /usr/src/gnu/usr.bin/gdb/../../dist/gdb/main.c:21:
/usr/src/gnu/usr.bin/gdb/../../dist/gdb/defs.h:57: bfd.h: No such file or directory
In file included from /usr/src/gnu/usr.bin/gdb/../../dist/gdb/defs.h:860,
from /usr/src/gnu/usr.bin/gdb/../../dist/gdb/main.c:21:
/usr/src/gnu/usr.bin/gdb/../../dist/include/dis-asm.h:13: bfd.h: No such file or directory
In file included from /usr/src/gnu/usr.bin/gdb/../../dist/gdb/main.c:24:
[many more lines like this deleted]
/usr/src/gnu/usr.bin/gdb/../../dist/gdb/m2-exp.y:49: bfd.h: No such file or directory
mkdep: compile failed.
*** Error code 1
Stop.
>How-To-Repeat:
>Fix:
Here is a patch to /usr/src/gnu/usr.bin/Makefile:
--- Makefile.orig Mon Feb 8 13:09:13 1999
+++ Makefile Thu Feb 11 09:18:28 1999
@@ -10,7 +10,7 @@
PROG= gdb
-BFDOBJ!=cd ${TOP}/lib/bfd; \
+BFDOBJ!=cd ${TOP}/lib/libbfd; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
# Note: nm.h, tm.h are in $(.OBJDIR),
>Audit-Trail:
>Unformatted: