From owner-freebsd-hackers Thu Sep 14 00:24:57 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA28587 for hackers-outgoing; Thu, 14 Sep 1995 00:24:57 -0700 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA28581 ; Thu, 14 Sep 1995 00:24:53 -0700 Received: (from julian@localhost) by ref.tfs.com (8.6.11/8.6.9) id AAA02527; Thu, 14 Sep 1995 00:24:50 -0700 From: Julian Elischer Message-Id: <199509140724.AAA02527@ref.tfs.com> Subject: Re: oh oh! To: julian@freefall.freebsd.org (Julian Elischer) Date: Thu, 14 Sep 1995 00:24:50 -0700 (PDT) Cc: hackers@freefall.freebsd.org In-Reply-To: <199509140614.XAA24214@freefall.freebsd.org> from "Julian Elischer" at Sep 13, 95 11:14:13 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1350 Sender: hackers-owner@FreeBSD.org Precedence: bulk on investigation: sys/types.h:72 is: typedef _BSD_OFF_T_ off_t; /* file offset */ where BSD_OFF_T is defined in i386/include/ansi.h but the files in /sys/libkern are looking in machine/ansi.h as the /sys doesn't COME with a machine directory in it, it is looking I presume in /usr/include/machine which has an old version without BSD_OFF_T this is dangerous! it means we are picking up old include files if we checkout a new sys tree! is there a suggested way of fixing this? I just quickly made a symlink machine -> i386/include and it all magically fixed, but I bet the depend.mk has the wrong one in it now.. (going to check) julian > > making the kernel.. > from a freshly checked out sys tree.. > cc -O -pipe -I/a/julian/src/sys/libkern -I/a/julian/src/sys/libkern/.. -DKERNEL -c adddi3.c -o adddi3.o > In file included from quad.h:57, > from adddi3.c:40: > /a/julian/src/sys/libkern/../sys/types.h:72: parse error before `off_t' > /a/julian/src/sys/libkern/../sys/types.h:72: warning: data definition has no type or storage class > /a/julian/src/sys/libkern/../sys/types.h:73: parse error before `pid_t' > /a/julian/src/sys/libkern/../sys/types.h:73: warning: data definition has no type or storage class > *** Error code 1 > > eh? > > anyone changed something recently that would do this? > > julian >