From owner-freebsd-hackers Tue Jul 11 21:30:12 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id VAA19881 for hackers-outgoing; Tue, 11 Jul 1995 21:30:12 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id VAA19850 ; Tue, 11 Jul 1995 21:29:57 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id OAA09376; Wed, 12 Jul 1995 14:28:46 +1000 Date: Wed, 12 Jul 1995 14:28:46 +1000 From: Bruce Evans Message-Id: <199507120428.OAA09376@godzilla.zeta.org.au> To: freebsd-hackers@freebsd.org, root@debian.cps.cmich.edu Subject: Re: Help me please.. :) Cc: current@freebsd.org Sender: hackers-owner@freebsd.org Precedence: bulk >debian# make >cc -O2 -I/usr/src/sys/libkern -I/usr/src/sys/libkern/.. -DKERNEL -c >adddi3.c -o adddi3.o >In file included from quad.h:57, > from adddi3.c:40: >/usr/src/sys/libkern/../sys/types.h:72: parse error before `off_t' >/usr/src/sys/libkern/../sys/types.h:72: warning: data definition has no >type or storage class >/usr/src/sys/libkern/../sys/types.h:73: parse error before `pid_t' >/usr/src/sys/libkern/../sys/types.h:73: warning: data definition has no >type or storage class >*** Error code 1 Your is out of date. There are two bugs here: 1) The include path is incorrect for compiling libkern. is /usr/include/machine/ansi.h for compiling libkern but it is usually /usr/src/sys/i386/include/ansi.h for compiling the main part of the kernel. 2) FreeBSD releases have /usr/include/machine populated with files. It should be a symlink to /sys/i386/include to avoid update problems. Bruce