From owner-freebsd-questions@FreeBSD.ORG Thu Dec 16 04:12:52 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 441EA16A4CE for ; Thu, 16 Dec 2004 04:12:52 +0000 (GMT) Received: from dallypost.com (ns1.dallypost.com [12.160.224.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC4B743D2D for ; Thu, 16 Dec 2004 04:12:51 +0000 (GMT) (envelope-from lance@dallypost.com) Received: from dallypost.com (DallyPost [127.0.0.1] (may be forged)) by dallypost.com (8.12.8/8.12.5) with ESMTP id iBG5ExgE012670 for ; Wed, 15 Dec 2004 22:14:59 -0700 Received: (from apache@localhost) by dallypost.com (8.12.8/8.12.8/Submit) id iBG5EwKE012668; Wed, 15 Dec 2004 22:14:58 -0700 X-Authentication-Warning: dallypost.com: apache set sender to lance@dallypost.com using -f Received: from 66.82.9.41 (SquirrelMail authenticated user lance) by www.dallypost.com with HTTP; Wed, 15 Dec 2004 22:14:58 -0700 (MST) Message-ID: <4459.66.82.9.41.1103174098.squirrel@www.dallypost.com> Date: Wed, 15 Dec 2004 22:14:58 -0700 (MST) From: "Lance Earl" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.2-1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: Parallel Port Control Problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: lance@dallypost.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2004 04:12:52 -0000 I am writing a C++ program on a freebsd 5.2.1 system and compiling it with g++. I need to get control of the parallel port and send data to various pins. I am attempting to use the functions ioperm(), outb() and inb(). I found somewhere that the function was declared in perm.h, no joy. I found something that said it was declared in unistd.h, no joy. I also tried port.h with no success. The error I get while compiling is "ioperm undeclared". Can anyone help me? Lance Earl DallyPost, Inc. 208-548-2721