From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Jelinek Date: Fri, 19 May 2000 12:49:20 +0000 Subject: Re: "sparc_cpu_model" undefined Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ultralinux@vger.kernel.org On Fri, May 19, 2000 at 05:34:37AM -0700, Murray Stokely wrote: > > I can't compile any code that includes asm/io.h with Red Hat 6.1, or > 6.2 on my Ultra5. This includes many useful programs such as 'sane', > the scanner drivers. The defines are all messed up so that the > headers can't tell what type of sparc you are compiling for. This > problem has been reported on this list before but I've never seen a > solution and can't find any with the search engine. Can someone point > me in the right direction? Don't include asm/io.h ever. sane package Red Hat ships has this fixed (see sane src.rpm in PowerTools). Jakub