Summary: | app-editors/xemacs-21.4.15-r3 doesn't compile using linux-headers-2.6.8.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Markus Rothe (RETIRED) <corsair> |
Component: | Current packages | Assignee: | Tim Yamin (RETIRED) <plasmaroo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ppc64 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
/usr/include/asm/paca.h
patch for sys-kernel/linux-headers/files/linux-headers-2.6.8.1-appCompat.patch result of `emerge --info` |
Description
Markus Rothe (RETIRED)
2005-04-20 00:57:35 UTC
Created attachment 56736 [details]
/usr/include/asm/paca.h
Created attachment 56754 [details, diff]
patch for sys-kernel/linux-headers/files/linux-headers-2.6.8.1-appCompat.patch
My environment also reproduced this problem.
I attach the patch for succeeding in compile of xemacs.
Created attachment 56756 [details]
result of `emerge --info`
I got this from plasmaroo on irc: 14:51 <@plasmaroo> corsair: Look at 82690 for that Xemacs thing, do the same workaround for paca.h 14:51 <@plasmaroo> corsair: Basically, upstream decides to screw all ANSI C standards and do #define register which is bad. 14:53 <@plasmaroo> corsair: So actually try putting the workaround in the bottom of types.h instead, that might be better. I'll try that ASAP. yes, adding this to the end of types.h solves the problem: #ifdef register #undef register #endif Works here. Fixed in CVS; please sync and remerge linux-headers. Thanks! |