x86_64-pc-linux-gnu-gcc -O2 -march=athlon64 -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/fbcon/SDL_fbvideo.c -fPIC -DPIC -o build/.libs/SDL_fbvideo.o ./src/video/fbcon/SDL_fbvideo.c:32:57: error: asm/page.h: No such file or directory ./src/video/fbcon/SDL_fbvideo.c: In function 'FB_VideoInit': ./src/video/fbcon/SDL_fbvideo.c:550: error: 'PAGE_SIZE' undeclared (first use in this function) ./src/video/fbcon/SDL_fbvideo.c:550: error: (Each undeclared identifier is reported only once ./src/video/fbcon/SDL_fbvideo.c:550: error: for each function it appears in.) x86_64-pc-linux-gnu-gcc -O2 -march=athlon64 -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/thread/pthread/SDL_systhread.c -o build/SDL_systhread.o >/dev/null 2>&1 make: *** [build/SDL_fbvideo.lo] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR in media-libs/libsdl-1.2.11: !!! In src_compile at line 3676 !!! emake failed !!! Call stack: !!! * src_compile (/var/tmp/paludis/media-libs/libsdl-1.2.11/temp/loadsaveenv:3676) !!! * ebuild_f_compile (/usr/libexec/paludis/src_compile.bash:51) !!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:363) !!! * main (/usr/libexec/paludis/ebuild.bash:381)