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 <machine/cpufunc.h>. 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 <sys/param.h> or <sys/types.h>.  Both
include <sys/cdefs.h> which #defines something you need to be
able to use cpufunc.h.

-- 
Chris Costello                                <[email protected]>
If a program is useful, it must be changed.


To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to