From owner-freebsd-standards@FreeBSD.ORG Sat Apr 3 09:33:48 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E62916A4CE; Sat, 3 Apr 2004 09:33:48 -0800 (PST) Received: from iteso.mx (iteso.mx [148.201.1.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA30143D5C; Sat, 3 Apr 2004 09:33:47 -0800 (PST) (envelope-from eric@iteso.mx) Received: from iteso.mx (localhost [127.0.0.1]) by iteso.mx (8.12.3/8.12.3/Debian-6.6) with ESMTP id i33HXigf012312 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 3 Apr 2004 11:33:44 -0600 Received: (from www-data@localhost) by iteso.mx (8.12.3/8.12.3/Debian-6.6) id i33HXieD012311; Sat, 3 Apr 2004 11:33:44 -0600 From: Eric De la Cruz Lugo X-Authentication-Warning: iteso.mx: www-data set sender to eric@iteso.mx using -f Received: from 148.240.117.70 ([148.240.117.70]) by iteso.mx (IMP) with HTTP for ; Sat, 3 Apr 2004 11:33:44 -0600 Message-ID: <1081013624.406ef5788b3a1@iteso.mx> Date: Sat, 3 Apr 2004 11:33:44 -0600 To: David Schultz References: <1080397817.40658ff979c2e@iteso.mx> <20040328231756.GA86437@VARK.homeunix.com> In-Reply-To: <20040328231756.GA86437@VARK.homeunix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 148.240.117.70 X-Virus-Scanned: clamd / ClamAV version 0.67+CVS20040305, clamav-milter version 0.67j cc: freebsd-standards@FreeBSD.ORG Subject: i386_get_ioperm syntax.... X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2004 17:33:48 -0000 Hi, am not on the list, please reply to my e-mail for possible solutions. I have this problem compiling a code: terra# make make all-recursive Making all in m4 Making all in src if g++ -DREENTRANT -I. -I. -I.. -O6 -I/usr/include/bhpos -O6 -I/usr/ include/bhpos -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/ lib/gtkmm/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/ usr/X11R6/include -I/usr/local/include/sigc++-1.0 -I/usr/include/bhpos/hw -I/usr/include/bhpos/widget -g -O2 -MT callbacks.o -MD -MP -MF ".deps/ callbacks.Tpo" -c -o callbacks.o `test -f 'callbacks.cc' || echo './'`callbacks.cc; then mv ".deps/callbacks.Tpo" ".deps/callbacks.Po"; else rm -f ".deps/callbacks.Tpo"; exit 1; fi callbacks.cc: In member function `int CPost::DeviceControl(int, int)': callbacks.cc:160: error: invalid conversion from `int' to `unsigned int*' callbacks.cc:160: error: invalid conversion from `int' to `int*' callbacks.cc:163: error: invalid conversion from `int' to `unsigned int*' *** Error code 1 Stop in /home/eric/banana/post-1.2.1/src. *** Error code 1 Stop in /home/eric/banana/post-1.2.1. *** Error code 1 Stop in /home/eric/banana/post-1.2.1. terra# ------- the relevant lines are : else if(flags==5){ return i386_get_ioperm(0x3F8, 6, 1); } else if(flags==6){ return i386_get_ioperm(0x3F8, 6, 0); } and: else if(flags==5){ i386_set_ioperm(0x2F8, 6, 1); } else if(flags==6){ i386_set_ioperm(0x2F8, 6, 0); } ------- some knows how to solve something like this?, am not a c++ programmer, if someone can give me a hint about what the right values for the i386_get_ioperm() should be in FreeBSD 5.2.1, please reply to my e-mail. thanks in advance. Eric De La Cruz Lugo. Merida, Yucatan, Mexico ---