Re: "sparc_cpu_model" undefined

Jakub Jelinek <[email protected]>
Newsgroups org.kernel.vger.ultralinux
Message-ID <marc-linux-ultrasparc-95874054230333@msgid-missing>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.