Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jul 1999 12:07:19 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        jon giles <jong@clinedavis.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: trouble compiling kernel with memory option
Message-ID:  <Pine.BSF.4.10.9907021205480.98238-100000@resnet.uoregon.edu>
In-Reply-To: <377B85C5.66ADAE96@clinedavis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 1 Jul 1999, jon giles wrote:

> "options "MAXMEM=<n>"
> 
> Where n is your memory in Kilobytes. For a 128 MB machine, you'd want to
> use 131072."
> 
> After adding this line, my make came back with this error:
> 
> cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit
> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith  -nostdinc -I- -I. -I../.. -I/usr/include
> -DAPM_BROKEN_STATCLOCK -DFAILSAFE -DCOMPAT_43 -DCD9660 -DMSDOSFS -DNFS
> -DFFS -DINET -DKERNEL  ../../i386/i386/machdep.c
> ../../i386/i386/machdep.c: In function `init386':
> ../../i386/i386/machdep.c:1157: parse error before `<'
> *** Error code 1
> 
> If I take out the line, if makes fine.
> 
> Any help with this would really be apreciated.


You took the example too literally.  You were supposed to remove the
brakets too.  The line should look like

options	"MAXMEM=131072"

Notice that there are no brackets around any of the other options with
arguments.

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9907021205480.98238-100000>