*BSD News Article 51635


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!tank.news.pipex.net!pipex!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!irz401!uriah.heep!not-for-mail
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD equivalent for Linux ioperm() ???
Date: 25 Sep 1995 09:03:17 +0100
Organization: Private FreeBSD site, Dresden.
Lines: 21
Message-ID: <445no5$6ri@uriah.heep.sax.de>
References: <43muf2$jv1@crcnis3.unl.edu> <43o8a9$g8s@reason.cdrom.com> <4448or$fps@taiwan.informatik.uni-rostock.de>
NNTP-Posting-Host: uriah.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Lars Koeller <uphya001@odie.physik2.uni-rostock.de> wrote:

>cc -Wall -g -c trprog.c
>/usr/include/machine/cpufunc.h: In function `inbc':
>/usr/include/machine/cpufunc.h:125: inconsistent operand constraints in an `asm'
>/usr/include/machine/cpufunc.h: In function `outbc':
>/usr/include/machine/cpufunc.h:132: inconsistent operand constraints in an `asm'
>*** Error code 1
>
>
>   What is wrong with this include file?

You forgot the "-O" flag. :-)

(The problem has been fixed since, but it hasn't been apparent before
2.0.5, since the kernel is always compiled with -O.)
-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)