Re: compile error, ppatch 2.3.25-1

Matti Aarnio (matti.aarnio@sonera.fi)
Fri, 29 Oct 1999 11:05:57 +0300


On Thu, Oct 28, 1999 at 08:18:27PM -0700, Leiden, Soren wrote:
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer
> -fno-strict-aliasing -pipe -fno-strength-reduce -DCPU=686
> -march=i686 -DEXPORT_SYMTAB -c fbmem.c
> fbmem.c: In function `fb_mmap':
> fbmem.c:508: structure has no member named `vm_offset'
....

Sure, replace with:

unsigned long vm_pgoff; /* offset in PAGE_SIZE units, *not* PAGE_CACHE_SIZE */

and apply " << PAGE_SHIFT ", if appropriate.

When you get it working, send a patch to linux-kernel.

> Soren

/Matti Aarnio <matti.aarnio@sonera.fi>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/