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':
.... MUCH MORE :-)

The prog is not a driver, it cheats by opening /dev/io first.
Please help me, I would like to get this working under 3.1
as it did under 2.2.5

TIA

Josh

----------------------------------
E-Mail: Josh2 Lists <jo...@marvin.albury.net.au>
Date: 02-Jun-99
Time: 16:15:19

This message was sent by XFMail
----------------------------------


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to