Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 1996 11:45:40 -0500
From:      micro@sensenet.com
To:        freebsd-bugs@freebsd.org
Subject:   Re: MAXMEM in LINT...
Message-ID:  <199611011645.LAA00503@ip.sensenet.com>

next in thread | raw e-mail | index | archive | help
Fri Nov  1 11:37:44 EST 1996

> This has changed in -current.
>
> Btw., yours should be
>
>       options "MAXMEM='(128*1024)'"
>
> to be exact.  The double quotes protect it from being misinterpreted
> by config(8), while the single quotes are for the shell when building
> the kernel.

Using the above breaks compilation of the kernel:
        ../../i386/i386/machdep.c :line 1181 Character constant too large:

The line in machdep.c is:

        Maxmem = MAXMEM/4;

In opt_machdep.h we have:
        #define MAXMEM  '(128*1024)'

when this is changed to:
        #define MAXMEM (128*1024)
compilation continues.

-primus

PS      I am now using 2.2-961014-SNAP



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