From owner-freebsd-hackers Wed Jun 2 3: 9: 6 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from leap.innerx.net (leap.innerx.net [38.179.176.25]) by hub.freebsd.org (Postfix) with ESMTP id C592814E85 for ; Wed, 2 Jun 1999 03:09:02 -0700 (PDT) (envelope-from chris@holly.dyndns.org) Received: from holly.dyndns.org (ip137.houston2.tx.pub-ip.psi.net [38.11.201.137]) by leap.innerx.net (Postfix) with ESMTP id 17E2837079; Wed, 2 Jun 1999 06:09:00 -0400 (EDT) Received: (from chris@localhost) by holly.dyndns.org (8.9.3/8.9.3) id FAA36828; Wed, 2 Jun 1999 05:08:45 -0500 (CDT) (envelope-from chris) Date: Wed, 2 Jun 1999 05:08:44 -0500 From: Chris Costello To: Josh2 Lists Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: cant compile with cpufunc.h, barfs. Message-ID: <19990602050844.D34732@holly.dyndns.org> Reply-To: chris@calldei.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.2i In-Reply-To: ; from Josh2 Lists on Wed, Jun 02, 1999 at 04:36:51PM +1000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jun 2, 1999, Josh2 Lists wrote: > Hi there. > I have a simple prog that writes to a bit on the parallel port. > It compiles fine under 2.2.x (tested on 2.2.5 and 2.2.8) BUT > the compiler barfs over . with 3.1-release. > I am trying to use outb(base,onoff). > > bash-2.02$ cc -o out1 outF.c > In file included from outF.c:10: > /usr/include/machine/cpufunc.h:155: parse error before `inbc' > /usr/include/machine/cpufunc.h:155: parse error before `port' > /usr/include/machine/cpufunc.h: In function `inbc': You need to include or . Both include which #defines something you need to be able to use cpufunc.h. -- Chris Costello If a program is useful, it must be changed. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message