Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 146156

Summary: xorg-server-1.1.1 fails with linux-headers-2.6.17
Product: Gentoo Linux Reporter: Stefan de Konink <stefan>
Component: [OLD] Core systemAssignee: Tim Yamin (RETIRED) <plasmaroo>
Status: RESOLVED DUPLICATE    
Severity: normal CC: amd64
Priority: High    
Version: 2006.1   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stefan de Konink 2006-09-03 09:53:16 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -I../../../../include -I../../../../include -I../../../../include -I../../../../include -I../../../../include -I../../../../include -I../../../../include -I../../../../hw/xfree86 -I../../../../hw/xfree86/include -I../../../../hw/xfree86/common -I../../../../hw/xfree86/os-support -I../../../../hw/xfree86/os-support/bus -I../../../../os -I/usr/include/drm -DUSESTDRES -DHAVE_SYSV_IPC -DHAVE_XORG_CONFIG_H -DXF86PM -DHAVE_ACPI -DHAVE_APM -DXFree86Server -DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I../../../../include -I../../../../include -I../../../../Xext -I../../../../composite -I../../../../damageext -I../../../../xfixes -I../../../../Xi -I../../../../mi -I../../../../miext/shadow -I../../../../miext/damage -I../../../../render -I../../../../randr -I../../../../fb -march=k8 -O2 -pipe -MT lnx_video.lo -MD -MP -MF .deps/lnx_video.Tpo -c lnx_video.c  -fPIC -DPIC -o .libs/lnx_video.o
In file included from /usr/include/asm/processor.h:8,
                 from /usr/include/asm-x86_64/timex.h:14,
                 from /usr/include/asm/timex.h:8,
                 from /usr/include/linux/timex.h:61,
                 from /usr/include/linux/sched.h:11,
                 from /usr/include/asm-x86_64/compat.h:8,
                 from /usr/include/asm/compat.h:4,
                 from /usr/include/linux/compat.h:21,
                 from /usr/include/asm-x86_64/mtrr.h:28,
                 from /usr/include/asm/mtrr.h:8,
                 from lnx_video.c:50:
/usr/include/asm-x86_64/processor.h:70: error: expected specifier-qualifier-list before 'cpumask_t'
In file included from /usr/include/asm/semaphore.h:8,
                 from /usr/include/linux/sched.h:20,
                 from /usr/include/asm-x86_64/compat.h:8,
                 from /usr/include/asm/compat.h:4,
                 from /usr/include/linux/compat.h:21,
                 from /usr/include/asm-x86_64/mtrr.h:28,
                 from /usr/include/asm/mtrr.h:8,
                 from lnx_video.c:50:
/usr/include/asm-x86_64/semaphore.h:47: error: expected specifier-qualifier-list before 'wait_queue_head_t'
/usr/include/asm-x86_64/semaphore.h: In function 'sema_init':
/usr/include/asm-x86_64/semaphore.h:73: error: 'struct semaphore' has no member named 'wait'
In file included from /usr/include/linux/sched.h:32,
                 from /usr/include/asm-x86_64/compat.h:8,
                 from /usr/include/asm/compat.h:4,
                 from /usr/include/linux/compat.h:21,
                 from /usr/include/asm-x86_64/mtrr.h:28,
                 from /usr/include/asm/mtrr.h:8,
                 from lnx_video.c:50:
/usr/include/linux/completion.h: At top level:
/usr/include/linux/completion.h:15: error: expected specifier-qualifier-list before 'wait_queue_head_t'
/usr/include/linux/completion.h: In function 'init_completion':
/usr/include/linux/completion.h:27: error: 'struct completion' has no member named 'wait'
make[5]: *** [lnx_video.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/xorg-server-1.1.1/work/xorg-server-1.1.1/hw/xfree86/os-support/linux'


Portage 2.1.1_rc1-r2 (default-linux/amd64/2006.1, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo x86_64)
=================================================================
System uname: 2.6.17-gentoo x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.4
Last Sync: Sat, 02 Sep 2006 14:20:01 +0000
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc1-r6
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo "
LINGUAS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/livesupport /usr/local/overlays/ebuildexchange /usr/local/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="amd64 X alsa aotuv apache2 bitmap-fonts bz2 bzip2 cairo cgi cli crypt cups dba dlloader dri dv elibc_glibc esd flac font-server force-cgi-redirect fortran gcc64 gd gdbm gtk2 input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux lcms libg++ libsamplerate mad mysql ncurses nls nptl nptlonly ogg opengl pam pcre pear perl pic png posix postgres ppds pppd python readline reflection rtc session sndfile sox spl sqlite ssl svg tcpd theora tidy tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU userlocales v4l v4l2 video_cards_at3d video_cards_vesa video_cards_voodoo vorbis xml2 xorg xprint xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-03 10:02:25 UTC
That's what you get for using unkeyworded linux-headers.
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2006-09-03 16:12:16 UTC

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