Skip site navigation (1)Skip section navigation (2)
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
Message-ID:  <19970817142943.IB36053@uriah.heep.sax.de>
In-Reply-To: <9708152246.AA101234@csemail.cropsci.ncsu.edu>; from rdkeys@csemail.cropsci.ncsu.edu on Aug 15, 1997 18:46:20 -0400
References:  <9708152246.AA101234@csemail.cropsci.ncsu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



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