*BSD News Article 95043


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news-peer.sprintlink.net!news.sprintlink.net!Sprint!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: compile failing while installing kernal
Date: 9 May 1997 11:03:09 GMT
Organization: Awfulhak Ltd.
Lines: 37
Message-ID: <5kv09d$8cq@ui-gate.utell.co.uk>
References: <3371B021.167EB0E7@netgate.net>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40630

In article <3371B021.167EB0E7@netgate.net>,
	glame <meaker1@netgate.net> writes:
> I was wondering is anyone has seen this compile error, and knows how to
> fix it.  It is happening during 'make':
> 
> cc -c -O -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit 
> -nostdinc -I. -I../.. -I../../sys
> -I../../../include -DI586_CPU -DKTRACE -DVISUAL_USERCONFIG -DUSERCONFIG
> -DFAILSAFE -DUCONSOLE -DBOUNCE_BUFFERS
> -DSCSI_DELAY=10 -DCOMPAT_43 -DPROCFS -DFFS -DINET -DKERNEL -Di386
> -DLOAD_ADDRESS=0xF0100000 -DMAXUSERS=6
> 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.

options LOAD_ADDRESS isn't necessary in your config any more.

TIMEZONE doesn't appear on line 82 of param.c (not in the 2.2
branch as of a few days ago anyway).  Nor does DST.

Check out your copy of param.c (/sys/conf/param.c).  If this
stuff isn't in the file, you're looking at a memory/cache
hardware problem.

> Thanks.
> 
> glame

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !