From owner-freebsd-questions Fri May 30 12:49:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA03800 for questions-outgoing; Fri, 30 May 1997 12:49:55 -0700 (PDT) Received: from horton.iaces.com (root@horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA03793 for ; Fri, 30 May 1997 12:49:53 -0700 (PDT) Received: (from proot@localhost) by horton.iaces.com (8.8.5/8.8.4) id OAA00907; Fri, 30 May 1997 14:49:42 -0500 (CDT) From: "Paul T. Root" Message-Id: <199705301949.OAA00907@horton.iaces.com> Subject: Re: TIMEZONE error during compilation To: A.J.Caines@TracerTech.COM Date: Fri, 30 May 1997 14:49:42 -0500 (CDT) Cc: questions@freebsd.org In-Reply-To: <199705301917.PAA05450@obelix.tracertech.com> from "Andrew J. Caines" at "May 30, 97 03:17:01 pm" X-Organization: !nterprise Networking Services - ACES X-Phone: (612) 663-1979 X-Fax: (612) 663-8030 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 200 S. 5th St., Suite 1100 X-Address: Minneapolis, MN 55402 X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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.'