[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: creating a tftpboot kernel/compiling a kernel for ultra 5



Martin Bruns wrote:
> 
> Compiling a kernel failed with this:
> atyfb.c: In function `atyfb_ioctl':
> atyfb.c:2213: `FBTYPE_PCI_GENERIC' undeclared (first use this function)
> atyfb.c:2213: (Each undeclared identifier is reported only once
> atyfb.c:2213: for each function it appears in.)
> atyfb.c: In function `atyfb_mmap':
> atyfb.c:2251: warning: integer constant out of range
> atyfb.c: In function `atyfb_init':
> atyfb.c:2835: `_PAGE_CACHE' undeclared (first use this function)
> atyfb.c:2836: `_PAGE_E' undeclared (first use this function)
> atyfb.c:2849: `_PAGE_IE' undeclared (first use this function)
> atyfb.c:3029: warning: integer constant out of range
> 
> Kernel-source 2.2.9 or 2.2.10. I guess it compiles sparc and not sparc64
> but how to change this.

Do you mean the other way round? FBTYPE_PCI_GENERIC, _PAGE_CACHE, etc
are only defined in include/asm-sparc64/fbio.h.

The file atyfb.c is only used if CONFIG_FB_ATY. Do you need that? If
not, just unconfigure it, I suppose.

Edmund


Reply to: