Skip site navigation (1)Skip section navigation (2)
Date:      31 May 2007 19:29:08 -0000
From:      Larry Baird <lab@gta.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/113204: dcons module doesn't compile if "MODULES_WITH_WORLD=true" 
Message-ID:  <20070531192908.52628.qmail@gta.com>
Resent-Message-ID: <200705312000.l4VK0CxV000609@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070531192908.52628.qmail>