From owner-freebsd-questions Thu Jul 24 09:50:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA10598 for questions-outgoing; Thu, 24 Jul 1997 09:50:42 -0700 (PDT) Received: from pos-srv4100.javanet.com (pos-srv4100.javanet.com [208.134.56.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA10593 for ; Thu, 24 Jul 1997 09:50:40 -0700 (PDT) Received: from kona.javanet.com (kona.javanet.com [205.219.162.3]) by pos-srv4100.javanet.com (8.8.6/8.7) with ESMTP id MAA18990; Thu, 24 Jul 1997 12:50:32 -0400 (EDT) Received: from localhost (harpo@localhost) by kona.javanet.com (8.8.5/8.7) with SMTP id MAA32690; Thu, 24 Jul 1997 12:50:33 -0400 (EDT) Date: Thu, 24 Jul 1997 12:50:33 -0400 (EDT) From: John Szumowski To: Doug White cc: "Matthew D. Fuller" , questions@FreeBSD.ORG Subject: Re: Kernel build In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The default kernel may or may not recognize above 16 megs of ram, depending on your bios. I have 36 and needed to add a maxmem entry. Here's the relavent line: options "MAXMEM=(36*1024)" (from lint... i don't have my home machine handy) Sorry- don't know what to say about that error message. I've always: 1. cd to /usr/src/sys/i386/conf 2. edit kernel config 3. run "config MYKERNEL" (or whatever) 4. cd to build dir 5. make 6. make install One thought...are you trying to compile a different kernel than release (i.e. a 2.2 on a 2.1.x) Hope this shot in the dark hits something. ;-) _ _ ___ ______ ______ ______ | | | | / _ \ | __ \ | __ \ / ____ \ | |_| | / /_\ \ | |__| | | |__| | | / \ | | _ | / _____ \ | __ / | ____/ | | | | at javanet dot com | | | | / / \ \ | | \ \ | | | \____/ | http://www.javanet.com/~harpo |_| |_| /_/ \_\ |_| \_\ |_| \______/ On Thu, 24 Jul 1997, Doug White wrote: > On Thu, 24 Jul 1997, Matthew D. Fuller wrote: > > > I'm trying to build a kernel which will, among other things, let me use my > > full 24 megs of RAM. edited the config file, make depend came out fine. > > Make chokes rather hard. > > The default kernel recognizes up to 64mb. What does it report for your > machine? > > > I get several thousand (yes, thousand) errors, or rather warning, > > interspersed throughout the output lines, about warning: comparison of > > signed and unsigned value. Can this be normal? > > Not in -release. If you're on -stable or -current then it's somewhat > normal. What version are you trying to run here? > > > Finally, it coughs this up: > > cc -c -O -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit > > -nostdinc -I. -I../.. -I../../sys -I../../../include -DI586_CPU -DATAPI > > -DSYSVMSG -DSYSVSEM -DSYSVSHM -DVISUAL_USERCONFIG -DUSERCONFIG -DUCONSOLE > > -DBOUNCE_BUFFERS -DSCSI_DELAY=15 -DCOMPAT_43 -DPROCFS -DNFS -DFFS -DINET > > -DMAXMEM=24576 -DKERNEL -Di386 -DLOAD_ADDRESS=0xF0100000 -DMAXUSERS=20 > > param.c > > param.c:82: `TIMEZONE' undeclared here (not in a function) > > param.c:82: initializer element for `tz.tz_minuteswest' is not constant > > param.c:82: `DST' undeclared here (not in a function) > > param.c:82: initializer element for `tz.tz_dsttime' is not constant > > *** Error code 1 > > > > Stop. > > > > > > Now, this had BETTER not be normal, or how does one build a kernel? > > Any help would be greatly appreciated. > > No, it's not normal. I don't even know where to start, though. I'd have > to see your kernel config. > > Doug White | University of Oregon > Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant > http://gladstone.uoregon.edu/~dwhite | Computer Science Major > Spam routed to /dev/null by Procmail | Death to Cyberpromo > >