do not use kernel headers' asm/page.h http://bugs.gentoo.org/187083 --- libs/video/targets/vid_fbdev.c +++ libs/video/targets/vid_fbdev.c @@ -58,7 +58,7 @@ #include #include #include -#include +#define PAGE_MASK sysconf(_SC_PAGE_SIZE) #include #include #include