Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 1996 19:01:31 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        root@dec.acnit.ac.ru (Vasily V. Grechishnikov &)
Cc:        bugs@freebsd.org
Subject:   Re: User kernel compiling
Message-ID:  <199611161801.TAA17974@uriah.heep.sax.de>
In-Reply-To: <AAL1oXoiA0@dec.acnit.ac.ru> from "Vasily V. Grechishnikov &" at "Nov 11, 96 12:47:16 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As Vasily V. Grechishnikov & wrote:

> When I try to recompile my own kernel using LINT template,
> cc found a syntax error.
> LINT contains an error in directive MAXMEM=(128*1024),
> "(",")" not needed.

You are using the wrong LINT file.  FreeBSD <= 2.1.X required this
being written as:

options         "MAXMEM='(128*1024)'"

while FreeBSD >= 2.2 uses

options         "MAXMEM=(128*1024)"

NB: the parenthesis should always be present since you can never be
sure how the macro is being used in the C code, or will be used in
future.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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