kern/113204: dcons module doesn't compile if
"MODULES_WITH_WORLD=true"
Larry Baird
lab at gta.com
Thu May 31 20:00:13 UTC 2007
>Number: 113204
>Category: kern
>Synopsis: dcons module doesn't compile if "MODULES_WITH_WORLD=true"
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu May 31 20:00:12 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Larry Baird
>Release: FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD dragon.gta.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed May 30 07:4
0:40 EDT 2007 root at dragon.gta.com:/usr/src/sys/i386/compile/DRAGON i386
>Description:
if MODULES_WITH_WORLD=true then dcons doesn't compile during buildworld.
>How-To-Repeat:
add "MODULES_WITH_WORLD=true" to /etc/make.conf
cd /usr/src && make buildworld
>Fix:
Patch is:
--- sys/modules/dcons/Makefile.orig Thu May 31 15:22:38 2007
+++ sys/modules/dcons/Makefile Thu May 31 15:25:53 2007
@@ -5,7 +5,8 @@
KMOD = dcons
SRCS = dcons.c dcons.h dcons_os.c dcons_os.h \
- opt_dcons.h opt_ddb.h opt_comconsole.h
+ opt_dcons.h opt_ddb.h opt_comconsole.h \
+ opt_kdb.h opt_gdb.h
.if !defined(KERNBUILDDIR)
opt_ddb.h:
@@ -13,6 +14,12 @@
opt_comconsole.h:
echo "#define ALT_BREAK_TO_DEBUGGER 1" > $@
+
+opt_kdb.h:
+ echo "" > $@
+
+opt_gdb.h:
+ echo "" > $@
.endif
CFLAGS+= -I${.CURDIR}/../..
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list