From owner-freebsd-hackers Sun Aug 17 05:51:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA26068 for hackers-outgoing; Sun, 17 Aug 1997 05:51:19 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id FAA26062 for ; Sun, 17 Aug 1997 05:51:12 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id OAA16179; Sun, 17 Aug 1997 14:51:09 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id OAA01444; Sun, 17 Aug 1997 14:29:43 +0200 (MET DST) Message-ID: <19970817142943.IB36053@uriah.heep.sax.de> Date: Sun, 17 Aug 1997 14:29:43 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-hackers@FreeBSD.ORG Cc: rdkeys@csemail.cropsci.ncsu.edu Subject: Re: Kernel rebuild timezone error in param.c References: <9708152246.AA101234@csemail.cropsci.ncsu.edu> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 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 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <9708152246.AA101234@csemail.cropsci.ncsu.edu>; from rdkeys@csemail.cropsci.ncsu.edu on Aug 15, 1997 18:46:20 -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As rdkeys@csemail.cropsci.ncsu.edu wrote: > FreeBSD 2.2.-970814-SNAP. > > While rebuilding my kernel I get an error in param.c: > > cc -c -O -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -nostdinc > -I. -I../.. -I../../sys -I../../../include -DI486_CPU -DSYSVMSG -DSYSVSEM > -DSYSVSHM -DVISUAL_USERCONFIG -DUSERCONFIG -DUCONSOLE -DBOUNCE_BUFFERS > -DCOMPAT_43 -DPROCFS -DDFFS -DINET -DKERNEL -Di386 -DLOAD_ADDRESS=0xF0100000 > -DMAXUSERS=10 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 You must be using some terribly old code. The timezone information has long since been diminished from the kernel. Timezones are completely handled in userland (and on a per-process and thus per-user basis). I suspect you're using a config(8) that doesn't match your kernel sources. -- 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. ;-)