Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156306 - app-i18n/jfbterm-0.4.7-r1 compile error with linux-headers-2.6.18
Summary: app-i18n/jfbterm-0.4.7-r1 compile error with linux-headers-2.6.18
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mamoru KOMACHI (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: sane-linux-headers
  Show dependency tree
 
Reported: 2006-11-26 07:37 UTC by Shunichi Fuji
Modified: 2006-12-29 12:29 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix header location patch (jfbterm-0.4.7-fix-header.patch,389 bytes, patch)
2006-11-26 08:40 UTC, Shunichi Fuji
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shunichi Fuji 2006-11-26 07:37:17 UTC
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.
Comment 1 SpanKY gentoo-dev 2006-11-26 07:50:51 UTC
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
Comment 2 Shunichi Fuji 2006-11-26 08:39:26 UTC
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.
Comment 3 Shunichi Fuji 2006-11-26 08:40:26 UTC
Created attachment 102753 [details, diff]
fix header location patch
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-26 09:01:03 UTC
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.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-26 10:00:24 UTC
Thanks for reporting, this is now fixed in 0.4.7-r2 (together with a few other things).
Comment 6 Mamoru KOMACHI (RETIRED) gentoo-dev 2006-11-26 13:27:29 UTC
Thanks flameeyes :) (I do not have a Gentoo environment right now)