From owner-freebsd-bugs Sat Nov 16 10:23:42 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA11051 for bugs-outgoing; Sat, 16 Nov 1996 10:23:42 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id KAA11037 for ; Sat, 16 Nov 1996 10:23:25 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id TAA22975; Sat, 16 Nov 1996 19:21:50 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id TAA11747; Sat, 16 Nov 1996 19:21:42 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.2/8.6.9) id TAA17974; Sat, 16 Nov 1996 19:01:31 +0100 (MET) From: J Wunsch Message-Id: <199611161801.TAA17974@uriah.heep.sax.de> Subject: Re: User kernel compiling To: root@dec.acnit.ac.ru (Vasily V. Grechishnikov &) Date: Sat, 16 Nov 1996 19:01:31 +0100 (MET) Cc: bugs@freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Vasily V. Grechishnikov &" at "Nov 11, 96 12:47:16 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. ;-)