the very latest linux-headers package no longer installs asm/page.h ... this will (and is) causing trouble for many packages
no, the answer is not any of the following: - start installing asm/page.h again - screw with /usr/src/linux/include/asm/page.h - patch asm/page.h internally the solution here is quite simple: - dont include asm/page.h - dont use the PAGE_SIZE define - use the getpagesize() or sysconf(_SC_PAGESIZE) functions from unistd.h people who are maintaining portable programs and want to work with upstream to get the issue properly resolved (this should apply to everyone :P) may want to introduce some sort of configure magic to see which of these may be usuable (in order of preference): - unistd.h + _SC_PAGESIZE (or _SC_PAGE_SIZE) + sysconf() - unistd.h + getpagesize() - asm/page.h + PAGE_SIZE -mike
pgp4qJVkmXSw3.pgp
Description: PGP signature