xorg-server 1.1.0 on an amd64 fails to compile error is: make[3]: Entering directory `/var/tmp/portage/xorg-server-1.1.0/work/xorg-server-1.1.0/hw/kdrive/src' if 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/kdrive/src -I../../../miext/damage -I../../../miext/shadow -I../../../Xext -I../../../fb -I../../../mi -I../../../hw/kdrive/linux -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 -DHAVE_KDRIVE_CONFIG_H -DHAVE_DIX_CONFIG_H -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 -O3 -pipe -march=k8 -mtune=k8 -MT kmap.o -MD -MP -MF ".deps/kmap.Tpo" -c -o kmap.o kmap.c; \ then mv -f ".deps/kmap.Tpo" ".deps/kmap.Po"; else rm -f ".deps/kmap.Tpo"; exit 1; fi In file included from /usr/include/asm-x86_64/mtrr.h:29, from /usr/include/asm/mtrr.h:9, from kmap.c:34: /usr/include/linux/compat.h:165: Fehler: expected
xorg-server 1.1.0 on an amd64 fails to compile error is: make[3]: Entering directory `/var/tmp/portage/xorg-server-1.1.0/work/xorg-server-1.1.0/hw/kdrive/src' if 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/kdrive/src -I../../../miext/damage -I../../../miext/shadow -I../../../Xext -I../../../fb -I../../../mi -I../../../hw/kdrive/linux -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 -DHAVE_KDRIVE_CONFIG_H -DHAVE_DIX_CONFIG_H -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 -O3 -pipe -march=k8 -mtune=k8 -MT kmap.o -MD -MP -MF ".deps/kmap.Tpo" -c -o kmap.o kmap.c; \ then mv -f ".deps/kmap.Tpo" ".deps/kmap.Po"; else rm -f ".deps/kmap.Tpo"; exit 1; fi In file included from /usr/include/asm-x86_64/mtrr.h:29, from /usr/include/asm/mtrr.h:9, from kmap.c:34: /usr/include/linux/compat.h:165: Fehler: expected »)« before »*« token /usr/include/linux/compat.h:166: Fehler: expected »)« before »*« token /usr/include/linux/compat.h:167: Fehler: expected declaration specifiers or »...« before »siginfo_t« kmap.c: In Funktion »KdSetMappedMode«: including "asm/siginfo.h" fix this
Can you post your emerge --info please?
Here is my emerge --info. Note that i dont have the kdrive Flag anymore, because the Vesa-Driver fails to compile too, the driver needs asm/vm86.h which doesnt exist for x86_64 PS. Sorry for my english, it's not my native tongue. System uname: 2.6.16-gentoo x86_64 AMD Athlon(tm) 64 Processor 3700+ Gentoo Base System version 1.12.0 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 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.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -pipe -march=k8 -mtune=k8" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -pipe -march=k8 -mtune=k8" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE@euro" LINGUAS="de en" 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/portage /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/gentoo-de" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X X509 Xaw3d a52 aac acl acpi aio akode alsa apache2 arts asf avi bacula-split-init bash-completion berkdb bitmap-fonts bonobo bzip2 cairo caps cddb cdparanoia cdr cli crypt cscope css cups curl dba dbus dlz dmi dmx dnd doc dri dts dv dvb dvd dvdr dvdread dvi edl eds effects emboss encode enscript exif fame ffmpeg firefox flac foomaticdb gd gif gimpprint glitz gmp gnome gnutls gpm gstreamer gtk gtk2 hal hddtemp iconv ieee1394 imagemagick imap imlib inkjar irmc isdnlog jabber jack java jce jpeg jpeg2k kde kdeenablefinal lcms ldap lirc logitech-mouse logrotate lzo lzw lzw-tiff mad matroska mhash mjpeg mng mozcalendar mp3 mp4 mpeg mplayer musepack mysql mysqli nautilus ncurses network nls nntp nptl nsplugin nvram odbc offensive ogg openal opengl pam pam_chroot pam_console pam_timestamp pcre pda pdflib perl png postgres ppds pppd python qt quicktime readline reflection samba sasl sdl session sndfile snmp speex spell spl ssl subversion svg t1lib tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev usb userlocales v4l v4l2 vcd vim-with-x vorbis vorbis-psy wifi wmf x264 xanim xcomposite xext xface xine xinerama xml xml2 xorg xpm xprint xv xvid xvmc zlib zvbi elibc_glibc input_devices_aiptek input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_vmmouse kernel_linux linguas_de linguas_en userland_GNU video_cards_ati video_cards_fglrx video_cards_vmware video_cards_v4l" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
This looks like a linux-headers problem.
> including "asm/siginfo.h" fix this In which file and where? For me /usr/include/linux/compat.h already has an "#include <asm/siginfo.h>"...
sorry it's Pentecost and we had a Party here asm/siginfo.h should included in kmap.c right before mtrr.h
Try remerging linux-headers and then try xorg-server. If that still doesn't fix, what gcc version are you using?
(In reply to comment #6) > Try remerging linux-headers and then try xorg-server. If that still doesn't > fix, what gcc version are you using? See above, if problem persists please reopen bug.