From owner-freebsd-hackers Tue Jun 1 23:37:50 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from marvin.albury.net.au (marvin.albury.NET.AU [203.15.244.108]) by hub.freebsd.org (Postfix) with ESMTP id EB14214D61 for ; Tue, 1 Jun 1999 23:37:45 -0700 (PDT) (envelope-from josh2@marvin.albury.net.au) Received: (from josh2@localhost) by marvin.albury.net.au (8.9.2/8.9.2) id QAA41850 for freebsd-hackers@freebsd.org; Wed, 2 Jun 1999 16:36:52 +1000 (EST) (envelope-from josh2) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Wed, 02 Jun 1999 16:36:51 +1000 (EST) From: Josh2 Lists To: freebsd-hackers@freebsd.org Subject: cant compile with cpufunc.h, barfs. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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': .... 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 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