Date: Fri, 30 May 1997 15:24:54 -0700 (PDT) From: Kevin Eliuk <kevin_eliuk@sunshine.net> To: "Paul T. Root" <proot@horton.iaces.com> Cc: A.J.Caines@TracerTech.COM, questions@FreeBSD.ORG Subject: Re: TIMEZONE error during compilation Message-ID: <Pine.BSF.3.96.970530152132.218C-100000@kevin.sunshine.net> In-Reply-To: <199705301949.OAA00907@horton.iaces.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This seems to be a common failure and this seems to be the solution: On Mon, 12 May 1997, Kevin Eliuk wrote: > > Did you rm -rf /usr/src/sys and made sure that your cvsupfile is pointing > to the proper directory? > > Doug White | University of Oregon > Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant > http://gladstone.uoregon.edu/~dwhite | Computer Science Major > > [ ..end clip.. ] > > Hope it helps :) Kevin--it did help! I've been happily simply writing over old stuff in /usr/src/sys and didn't realize it was important to zap it before getting the new stuff--so the kernel has now compiled (and I can do pppd home-office). Thanks very much.... 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. > > Hmm, this doesn't look good. I wonder if your timezone is set right. > > Looking at param.c it looks like it wants TIMEZONE defined, there is > a defines file in the same directory, that looks like it's parsing files > to get what it wants. > > > > > Prior to this I reran /stand/sysinstall and in "Options" chose various > > parameters including TIMEZONE. I do not know if this was actually relevant. > > This runs the program tzsetup. It should just create /etc/localtime and > /etc/wall_cmos_clock if needed. > > It says you have to reboot to take effect. Did you do that? > > > > Can you suggest what the source of this problem is? Naturally, I appreciate > > that you are not tech support and I thank you for your time and effort. > > When you installed 2.2.2 (is that what this is) the first time, did you > do it from boot floppy or from the regular system? If so, how did you > get /stand/sysinstall to do 2.2.2 instead of 2.1.6? > > To me it's looking like the install did work right. I'm not using 2.2.2 > yet, waiting for the CD. > > Please continue to copy all messages to questions, I don't know everything, > someone else there may catch what I miss. > > Paul. > > > > > > yours, > > > > -Andrew- > > > > > > #I didn't see many changes to your kernel config. The error here is in the > > #Adaptec SCSI controller code. If you don't have a device, comment it out > > #or delete it from your config. There's little point in building a new > > #kernel if your not going to get rid of the stuff you don't need. > > > > > > > -- > `The time has come,' the Walrus said, Of shoes--and ships--and sealing wax-- > `To talk of many things: Of cabbages--and kings-- > > And why the sea is boiling hot-- > And whether pigs have wings.' > > > > _______________________________________ |\ /| | \ kevin_eliuk@sunshine.net / | | \ Kevin G. Eliuk / | | /^\_________________________/^\ | | / \ | |/--===### Powered By FreeBSD 2.2.1 \| | www.freebsd.org | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970530152132.218C-100000>