i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -march=athlon-xp -fomit-frame-pointer -pipe -MT fbdpsp.o -MD -MP -MF .deps/fbdpsp.Tpo -c -o fbdpsp.o fbdpsp.c fbdpsp.c:830:20: error: asm/io.h: No such file or directory fbdpsp.c:831:24: error: asm/system.h: No such file or directory make[1]: *** [fbdpsp.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-i18n/jfbterm-0.4.7-r1/work/jfbterm-0.4.7' make: *** [all] Error 2 >fbdpsp.c:830:20: error: asm/io.h: No such file or directory >fbdpsp.c:831:24: error: asm/system.h: No such file or directory asm/io.h and asm/system.h from linux-headers before 2.6.17, but 2.6.18 ebuild does not install them.
if your code actually needs io.h, then it should include sys/io.h as for asm/system.h, i cant guess why userspace is including that header
thank SpanKY for advice. i create patch to remove asm/io.h and asm/system.h, and add sys/io.h. By quickly test, it works on x86 system.
Created attachment 102753 [details, diff] fix header location patch
Hoping that Usata won't mind, I'll take care of this, while testing I found a couple of other issues with the current modular Xorg, so I'll try to fix this altogether.
Thanks for reporting, this is now fixed in 0.4.7-r2 (together with a few other things).
Thanks flameeyes :) (I do not have a Gentoo environment right now)