kern/51120: MSGBUF_SIZE doesn't work in makefiles
Ruslan Ermilov
ru at freebsd.org
Thu Apr 17 23:40:12 PDT 2003
The following reply was made to PR kern/51120; it has been noted by GNATS.
From: Ruslan Ermilov <ru at freebsd.org>
To: "Vladimir V. Kalashnikov" <root at ksue.edu.ua>
Cc: FreeBSD-gnats-submit at freebsd.org
Subject: Re: kern/51120: MSGBUF_SIZE doesn't work in makefiles
Date: Fri, 18 Apr 2003 09:39:56 +0300
On Fri, Apr 18, 2003 at 08:56:08AM +0300, Vladimir V. Kalashnikov wrote:
> 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.
>
Sources playing with MSGBUF_SIZE are expected to
#include "opt_msgbuf.h" before #include <sys/msgbuf.h>.
Cheers,
--
Ruslan Ermilov Sysadmin and DBA,
ru at sunbay.com Sunbay Software AG,
ru at FreeBSD.org FreeBSD committer,
+380.652.512.251 Simferopol, Ukraine
http://www.FreeBSD.org The Power To Serve
http://www.oracle.com Enabling The Information Age
More information about the freebsd-bugs
mailing list