Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66398 - xorg-6.7.0 and 6.8.0 don't compile under linux26-headers-
Summary: xorg-6.7.0 and 6.8.0 don't compile under linux26-headers-
Status: VERIFIED DUPLICATE of bug 66223
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC64 Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
: 66399 (view as bug list)
Depends on:
Reported: 2004-10-05 03:05 UTC by Yang Dehua
Modified: 2004-11-17 07:34 UTC (History)
3 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Yang Dehua 2004-10-05 03:05:17 UTC
I compiled both xorg-6.7.0 and xorg-6.8.0 under linux26-headers- with the following errors:

In file included from /usr/include/asm/atomic.h:16,
                 from /usr/include/asm/processor.h:16,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/wait.h:12,
                 from /usr/include/linux/keyboard.h:4,
                 from lnx_KbdMap.c:108:
/usr/include/asm/memory.h:26:30: macro "eieio" passed 1 arguments, but takes just 0
In file included from /usr/include/asm/atomic.h:16,
                 from /usr/include/asm/processor.h:16,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/wait.h:12,
                 from /usr/include/linux/keyboard.h:4,
                 from lnx_KbdMap.c:108:
/usr/include/asm/memory.h:27: error: syntax error before '{' token
make[6]: *** [lnx_KbdMap.o] Error 1
make[5]: *** [linux] Error 2
make[4]: *** [all] Error 2
make[3]: *** [hw/xfree86] Error 2

Reproducible: Always
Steps to Reproduce:
1.emerge xorg-x11

Actual Results:  
Errors as reported

Expected Results:  
Emerged successfully.
Comment 1 Joe McCann (RETIRED) gentoo-dev 2004-10-05 03:34:06 UTC
*** Bug 66399 has been marked as a duplicate of this bug. ***
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-05 08:15:44 UTC
Does it with with plain
Comment 3 Yang Dehua 2004-10-05 18:11:24 UTC
No, if you mean the linux26-headers- With that headers I got more but different errors as above when compiling xorg, both 6.7 and 6.8. Both xorg 6.7 and 6.8 compile under kernel gentoo-dev-sources-2.6.8-r3 with linux-headers 2.4.22 in my system.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-05 19:57:47 UTC
Provide `emerge info` output please. I've successfully emerged xorg-x11 using

donnie@supernova /usr/local/gentoo/xml/htdocs/proj/en/infrastructure $ emerge -V
Portage 2.0.51_rc7 (default-x86-2004.2, gcc-3.4.2, glibc-, 2.6.8-gentoo-r6-usb i686)
Comment 5 Yang Dehua 2004-10-05 20:24:33 UTC
Gentoo Base System version 1.5.3
Portage 2.0.50-r11 (default-ppc64-2004.2, gcc-3.4.1, glibc-, 2.6.8-custom)
System uname: 2.6.8-custom ppc64 PPC970, altivec supported
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
CFLAGS="-O2 -mcpu=G5 -mtune=G5 -mpowerpc64 -mpowerpc-gpopt -maltivec -mabi=altivec -fno-strict-aliasing  -pipe"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=G5 -mtune=G5 -mpowerpc64 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
FEATURES="autoaddcvs ccache sandbox"
USE="X berkdb bitmap-fonts cdr cjk cups dvd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libwww mitshm motif mozilla mysql nls nptl oggvorbis opengl oss pam perl png ppc64 python qt readline sdl slang ssl tcpd truetype xprint xv"

Comment 6 Markus Rothe (RETIRED) gentoo-dev 2004-10-17 13:20:48 UTC
should this bug be marked as a dublicate of bug #66223?

Comment 7 Tim Yamin (RETIRED) gentoo-dev 2004-10-17 13:26:14 UTC
Want to try "sed -i -e 's/inline/__inline__/g' /usr/include/asm/memory.h" and see if that helps?

*** This bug has been marked as a duplicate of 66223 ***

*** This bug has been marked as a duplicate of 66223 ***
Comment 8 Markus Rothe (RETIRED) gentoo-dev 2004-11-17 07:34:14 UTC