Date: Fri, 30 May 1997 15:26:58 -0700 (PDT) From: Annelise Anderson <andrsn@andrsn.stanford.edu> To: "Paul T. Root" <proot@horton.iaces.com> Cc: A.J.Caines@TracerTech.COM, freebsd-questions@FreeBSD.ORG Subject: Re: TIMEZONE error during compilation Message-ID: <Pine.BSI.3.94.970530151522.3272A-100000@andrsn.stanford.edu> In-Reply-To: <199705301949.OAA00907@horton.iaces.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 30 May 1997, Paul T. Root wrote: > In a previous message, Andrew J. Caines said: > > Dear Paul, > > > > Thank you for your advice concerning my previous problem. I have removed all > > references to devices not on my system in my kernal config file. Having done > > this and done "config KIPPER" and make as before, I get the error > > > > cc -c -O -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -nostdinc -I. -I../.. -I../../sys -I../../../include -DI486_CPU -DXSERVER -DATAPI -DSYSVMSG -DSYSVSEM -DSYSVSHM -DVISUAL_USERCONFIG -DUSERCONFIG -DUCONSOLE -DBOUNCE_BUFFERS -DSCSI_DELAY=15 -DCOMPAT_43 -DPROCFS -DCD9660 -DMSDOSFS -DNFS -DFFS -DINET -DGPL_MATH_EMULATE -DKERNEL -Di386 -DLOAD_ADDRESS=0xF0100000 -DMAXUSERS=5 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. I got the same error trying to compile a kernel on 2.2.1. My mistake turned out to have been installing the new source code over the old source code. When I zapped the /usr/src/sys directory (actually I zapped everything under /usr/src) and reinstalled it (I just copied it from the live file system cd), everything worked. Getting rid of /usr/src/sys destroys your kernel config file so it's a good idea to save it to a safe place first. I also created some links with lndir to the source code on the cd for directories other than /usr/src/sys, so it could find anything else it might happen to need. So at least in my case it was not a timezone problem.... Annelise
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.970530151522.3272A-100000>