Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Jun 1999 16:36:51 +1000 (EST)
From:      Josh2 Lists <josh2@marvin.albury.net.au>
To:        freebsd-hackers@freebsd.org
Subject:   cant compile with cpufunc.h, barfs.
Message-ID:  <XFMail.990602163651.josh2@marvin.albury.net.au>

next in thread | raw e-mail | index | archive | help
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 <josh2@marvin.albury.net.au>
Date: 02-Jun-99
Time: 16:15:19

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


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990602163651.josh2>