Radeontool fails to fails to install.
Reproducible: Always
Steps to Reproduce:
1.emerge -va radeontool
2.
3.
Actual Results:
>>> Emerging (1 of 1) app-laptop/radeontool-1.5-r3 to /
* radeontool-1.5.tar.gz MD5 ;-) ...
[ ok ]
* radeontool-1.5.tar.gz RMD160 ;-) ...
[ ok ]
* radeontool-1.5.tar.gz SHA1 ;-) ...
[ ok ]
* radeontool-1.5.tar.gz SHA256 ;-) ...
[ ok ]
* radeontool-1.5.tar.gz size ;-) ...
[ ok ]
* checking ebuild checksums ;-) ...
[ ok ]
* checking auxfile checksums ;-) ...
[ ok ]
* checking miscfile checksums ;-) ...
[ ok ]
* checking radeontool-1.5.tar.gz ;-) ...
[ ok ]
>>> Unpacking source...
>>> Unpacking radeontool-1.5.tar.gz to /var/tmp/portage/app-laptop/radeontool-1.5-r3/work
* Applying radeontool-1.5-mmap.patch ...
[ ok ]
* Applying radeontool-1.5-vga-ati.patch ...
[ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-laptop/radeontool-1.5-r3/work/radeontool-1.5 ...
i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -fomit-frame-pointer
radeontool.c -o radeontool
radeontool.c:24:22: error: asm/page.h: No such file or directory
radeontool.c: In function ?map_devince_memory?:
radeontool.c:97: error: ?PAGE_SIZE? undeclared (first use in this function)
radeontool.c:97: error: (Each undeclared identifier is reported only once
radeontool.c:97: error: for each function it appears in.)
make: *** [radeontool] Error 1
!!! ERROR: app-laptop/radeontool-1.5-r3 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3040: Called src_compile
radeontool-1.5-r3.ebuild, line 35: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/tmp/portage/app-laptop/radeontool-1.5-r3/temp/build.log'.
Expected Results:
well it should just emerge...
A workaround is quite simpel, just do:
# ln -sf /usr/src/linux/include/asm/page.h /usr/include/asm/page.h
and it should compile correctly.