From owner-freebsd-stable Wed Jun 3 15:25:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA16006 for freebsd-stable-outgoing; Wed, 3 Jun 1998 15:25:27 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from penguin.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [194.237.142.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA15978 for ; Wed, 3 Jun 1998 15:25:16 -0700 (PDT) (envelope-from usenet@erix.ericsson.se) Received: from super.du.etx.ericsson.se (root@super.du.etx.ericsson.se [150.236.14.16]) by penguin.wise.edt.ericsson.se (8.9.0/8.7.3/glacier-0.9) with ESMTP id AAA05644 for ; Thu, 4 Jun 1998 00:24:37 +0200 (MET DST) Received: from news.du.etx.ericsson.se (news@news.du.etx.ericsson.se [150.236.14.18]) by super.du.etx.ericsson.se (8.9.0/8.9.0/erix-1.4) with ESMTP id AAA09904 for ; Thu, 4 Jun 1998 00:24:36 +0200 (MET DST) Received: (from news@localhost) by news.du.etx.ericsson.se (8.9.0/8.9.0/news-1.1) id AAA14913 for freebsd-stable@freebsd.org; Thu, 4 Jun 1998 00:24:30 +0200 (MET DST) Received: from GATEWAY by news with netnews for freebsd-stable@freebsd.org (freebsd-stable@freebsd.org) To: freebsd-stable@FreeBSD.ORG Date: 04 Jun 1998 00:24:16 +0200 From: Sebastian Strollo Message-ID: Organization: Ericsson Telecom, Stockholm, Sweden References: <19980603063357.59747@sr.se> Subject: Re: [gunnar@pluto.sr.se: Compile error] Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG gunnar@pluto.sr.se (Gunnar Flygt) writes: > > Is there really noone that can comment on this?? No answer so far. Ok, here is a shot: [long list of headers removed] > > I fetched the total src and ran a make buildworld this morning. After 1 1/2 > hours of compilation I get this error: ... > /usr/src/sbin/newfs/mkfs.c:902: structure has no member named `ts_sec' > /usr/src/sbin/newfs/mkfs.c:903: structure has no member named `ts_sec' > /usr/src/sbin/newfs/mkfs.c:904: structure has no member named `ts_sec' > > Something missing! What? When it comes to sources I found the CVS web interface (http://www.freebsd.org/cgi/cvsweb.cgi) to be very helpful! Taking a look at http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/newfs/mkfs.c shows that the rename of ts_sec to tv_sec took place a *long* time ago and that makes it sound that you have old source code. Checking the directory of ftp.sunet.se as you mentioned does reveal that it is an old version of that file, in fact it is the version in the old "-stable" branch, i.e. the RELENG_2_1_0. I don't know what the file is doing there (is the directory FreeBSD-stable on the ftp mirrors used anymore, anyone?). If you want to rebuild your system from the sources I suggest you get the sources from the 2.2.6 release (as I think you said you were running 2.2.6 in another email) and then run cvsup to get up to date with the latest sources. How to do this is described in the handbook: http://www.se.freebsd.org/handbook/handbook260.html Hope this helps, -- Sebastian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message