Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 2003 08:56:08 +0300 (EEST)
From:      "Vladimir V. Kalashnikov" <root@ksue.edu.ua>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/51120: MSGBUF_SIZE doesn't work in makefiles
Message-ID:  <200304180556.h3I5u8L34268@ksue.edu.ua>
Resent-Message-ID: <200304180600.h3I60PPS071703@freefall.freebsd.org>

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


>Number:         51120
>Category:       kern
>Synopsis:       MSGBUF_SIZE doesn't work in makefiles
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 17 23:00:24 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir V. Kalashnikov <root@ksue.edu.ua>
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
Kharkov State University of Economics
>Environment:
System: FreeBSD mirinda.local 4.4-RELEASE FreeBSD 4.4-RELEASE #1: Fri Apr 4 11:09:29 EEST 2003 root@mirinda.local:/usr/src/sys/compile/MIRINDA i386


	
>Description:
when option MSGBUF_SIZE is specified in configuration
file it doesn't affect making process of new kernel, so configuration
files should be inspected and rearrangement of include files should be
done to specify option MSGBUF_SIZE before the first access to it inside
sources will occure
	
>How-To-Repeat:
in msgbuf.h  (size: 2477 bytes) replace
#define MSGBUF_SIZE     32768
   with
#error "MSGBUF_SIZE isn't specified"

and do compilation of new kernel,
i.e. config xyz; make depend; make

even if "options MSGBUF_SIZE=91920" is placed somewhere in config
file the #error "MSGBUF_SIZE isn't specified" will be hit.

	
>Fix:
sorry, dunno exact recipe :-(
	
>Release-Note:
>Audit-Trail:
>Unformatted:



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