Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126182 - x11-drivers/xf86-input-evdev-1.0.0.5 can't find xorg-server.h
Summary: x11-drivers/xf86-input-evdev-1.0.0.5 can't find xorg-server.h
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-14 09:48 UTC by Karol Krizka
Modified: 2006-03-14 18:10 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karol Krizka 2006-03-14 09:48:38 UTC
I was using a patched version of xf86 evdev driver up to now, but I decided to go back to the normal one. So I removed the overlay and did an emerge xf86-input-evdev and watched it run. But it failed at the first comiliation at evdev.c with the following error:
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -DXGLServer -I -I../src -MT evdev.lo -MD -MP -MF .deps/evdev.Tpo -c evdev.c  -fPIC -DPIC -o .libs/evdev.o
In file included from evdev.c:27:
../config.h:4:25: error: xorg-server.h: No such file or directory
evdev.c:40:18: error: misc.h: No such file or directory
evdev.c:41:18: error: xf86.h: No such file or directory
evdev.c:42:21: error: xf86str.h: No such file or directory
evdev.c:43:25: error: xf86_OSproc.h: No such file or directory
evdev.c:44:24: error: xf86_ansic.h: No such file or directory
evdev.c:45:23: error: xf86_libc.h: No such file or directory
evdev.c:46:24: error: xf86Xinput.h: No such file or directory
evdev.c:47:22: error: exevents.h: No such file or directory
evdev.c:48:23: error: mipointer.h: No such file or directory
evdev.c:50:24: error: xf86Module.h: No such file or directory
evdev.c:92: error: syntax error before 'pInfo'
evdev.c: In function 'PostButtonClicks':
evdev.c:96: error: 'count' undeclared (first use in this function)
evdev.c:96: error: (Each undeclared identifier is reported only once
evdev.c:96: error: for each function it appears in.)
evdev.c:97: error: 'pInfo' undeclared (first use in this function)
evdev.c:97: error: 'button' undeclared (first use in this function)
evdev.c: At top level:
evdev.c:103: error: syntax error before 'pInfo'
evdev.c: In function 'PostKbdEvent':
evdev.c:106: error: 'value' undeclared (first use in this function)
evdev.c:107: error: 'ev' undeclared (first use in this function)
evdev.c:115: error: 'pInfo' undeclared (first use in this function)
evdev.c: At top level:
evdev.c:119: error: syntax error before 'pInfo'
evdev.c: In function 'EvdevReadInput':
evdev.c:128: error: 'pInfo' undeclared (first use in this function)
evdev.c:133: error: 'X_ERROR' undeclared (first use in this function)
evdev.c:133: error: 'errno' undeclared (first use in this function)
evdev.c: At top level:
evdev.c:205: error: syntax error before 'device'
evdev.c:348: error: syntax error before 'DeviceIntPtr'
evdev.c:354: error: syntax error before 'device'
evdev.c: In function 'EvdevKbdCtrl':
evdev.c:364: error: 'InputInfoPtr' undeclared (first use in this function)
evdev.c:364: error: syntax error before 'pInfo'
evdev.c:368: error: 'pInfo' undeclared (first use in this function)
evdev.c:368: error: 'device' undeclared (first use in this function)
evdev.c:372: error: 'ctrl' undeclared (first use in this function)
evdev.c: At top level:
evdev.c:379: error: syntax error before 'device'
evdev.c: In function 'EvdevAddKeyClass':
evdev.c:381: error: 'InputInfoPtr' undeclared (first use in this function)
evdev.c:381: error: syntax error before 'pInfo'
evdev.c:382: error: 'KeySymsRec' undeclared (first use in this function)
evdev.c:383: error: 'MAP_LENGTH' undeclared (first use in this function)
evdev.c:406: error: 'pInfo' undeclared (first use in this function)
evdev.c:406: error: 'device' undeclared (first use in this function)
evdev.c:409: warning: incompatible implicit declaration of built-in function 'memset'
evdev.c:419: error: 'keySyms' undeclared (first use in this function)
evdev.c:433: error: 'XI86_KEYBOARD_CAPABLE' undeclared (first use in this function)
evdev.c: At top level:
evdev.c:439: error: syntax error before 'device'
evdev.c: In function 'EvdevAddRelClass':
evdev.c:441: error: 'InputInfoPtr' undeclared (first use in this function)
evdev.c:441: error: syntax error before 'pInfo'
evdev.c:443: error: 'pInfo' undeclared (first use in this function)
evdev.c:443: error: 'device' undeclared (first use in this function)
evdev.c:446: error: 'miPointerGetMotionEvents' undeclared (first use in this function)
evdev.c: At top level:
evdev.c:466: error: syntax error before 'device'
evdev.c: In function 'EvdevAddButtonClass':
evdev.c:469: error: 'InputInfoPtr' undeclared (first use in this function)
evdev.c:469: error: syntax error before 'pInfo'
evdev.c:472: error: 'pInfo' undeclared (first use in this function)
evdev.c:472: error: 'device' undeclared (first use in this function)
evdev.c:487: error: 'XI86_POINTER_CAPABLE' undeclared (first use in this function)
evdev.c:487: error: 'XI86_SEND_DRAG_EVENTS' undeclared (first use in this function)
evdev.c: At top level:
evdev.c:493: error: syntax error before 'device'
evdev.c: In function 'EvdevInit':
evdev.c:495: error: 'InputInfoPtr' undeclared (first use in this function)
evdev.c:495: error: syntax error before 'pInfo'
evdev.c:497: error: 'pInfo' undeclared (first use in this function)
evdev.c:497: error: 'device' undeclared (first use in this function)
evdev.c:502: error: 'XI86_KEYBOARD_CAPABLE' undeclared (first use in this function)
evdev.c:506: error: 'XI86_POINTER_CAPABLE' undeclared (first use in this function)
evdev.c: At top level:
evdev.c:515: error: syntax error before 'device'
evdev.c: In function 'EvdevProc':
evdev.c:517: error: 'InputInfoPtr' undeclared (first use in this function)
evdev.c:517: error: syntax error before 'pInfo'
evdev.c:520: error: 'pInfo' undeclared (first use in this function)
evdev.c:520: error: 'device' undeclared (first use in this function)
evdev.c:523: error: 'what' undeclared (first use in this function)
evdev.c:525: error: 'DEVICE_INIT' undeclared (first use in this function)
evdev.c:528: error: 'DEVICE_ON' undeclared (first use in this function)
evdev.c:530: error: 'X_WARNING' undeclared (first use in this function)
evdev.c:531: error: 'errno' undeclared (first use in this function)
evdev.c:533: error: 'TRUE' undeclared (first use in this function)
evdev.c:536: error: 'DEVICE_OFF' undeclared (first use in this function)
evdev.c:541: error: 'FALSE' undeclared (first use in this function)
evdev.c:544: error: 'DEVICE_CLOSE' undeclared (first use in this function)
evdev.c:545: error: 'X_INFO' undeclared (first use in this function)
evdev.c: At top level:
evdev.c:553: error: syntax error before 'EvdevConvert'
evdev.c:553: error: syntax error before 'pInfo'
evdev.c: In function 'EvdevConvert':
evdev.c:556: error: 'first' undeclared (first use in this function)
evdev.c:556: error: 'num' undeclared (first use in this function)
evdev.c:557: error: 'x' undeclared (first use in this function)
evdev.c:557: error: 'v0' undeclared (first use in this function)
evdev.c:558: error: 'y' undeclared (first use in this function)
evdev.c:558: error: 'v1' undeclared (first use in this function)
evdev.c:559: error: 'TRUE' undeclared (first use in this function)
evdev.c:562: error: 'FALSE' undeclared (first use in this function)
evdev.c: At top level:
evdev.c:566: error: syntax error before 'pInfo'
evdev.c: In function 'EvdevProbe':
evdev.c:571: error: 'pInfo' undeclared (first use in this function)
evdev.c:573: error: 'errno' undeclared (first use in this function)
evdev.c:573: error: 'EINVAL' undeclared (first use in this function)
evdev.c:582: error: 'X_ERROR' undeclared (first use in this function)
evdev.c:592: error: 'FALSE' undeclared (first use in this function)
evdev.c:597: error: 'X_INFO' undeclared (first use in this function)
evdev.c:598: error: 'TRUE' undeclared (first use in this function)
evdev.c:618: error: 'XI86_POINTER_CAPABLE' undeclared (first use in this function)
evdev.c:618: error: 'XI86_SEND_DRAG_EVENTS' undeclared (first use in this function)
evdev.c:619: error: 'XI86_CONFIGURED' undeclared (first use in this function)
evdev.c:620: error: 'XI_MOUSE' undeclared (first use in this function)
evdev.c:629: error: 'XI86_KEYBOARD_CAPABLE' undeclared (first use in this function)
evdev.c:630: error: 'XI_KEYBOARD' undeclared (first use in this function)
evdev.c:635: error: 'X_WARNING' undeclared (first use in this function)
evdev.c: At top level:
evdev.c:644: error: syntax error before 'EvdevPreInit'
evdev.c:644: error: syntax error before 'drv'
evdev.c: In function 'EvdevPreInit':
evdev.c:646: error: 'InputInfoPtr' undeclared (first use in this function)
evdev.c:646: error: syntax error before 'pInfo'
evdev.c:647: error: 'MessageType' undeclared (first use in this function)
evdev.c:651: error: 'pInfo' undeclared (first use in this function)
evdev.c:651: error: 'drv' undeclared (first use in this function)
evdev.c:652: error: 'NULL' undeclared (first use in this function)
evdev.c:655: error: 'dev' undeclared (first use in this function)
evdev.c:660: error: 'xf86GetMotionEvents' undeclared (first use in this function)
evdev.c:672: warning: assignment makes pointer from integer without a cast
evdev.c:679: warning: assignment makes pointer from integer without a cast
evdev.c:681: error: 'X_ERROR' undeclared (first use in this function)
evdev.c:686: error: 'deviceFrom' undeclared (first use in this function)
evdev.c:688: error: 'O_RDWR' undeclared (first use in this function)
evdev.c:690: error: 'errno' undeclared (first use in this function)
evdev.c:690: error: 'EINTR' undeclared (first use in this function)
evdev.c: At top level:
evdev.c:704: error: syntax error before 'InputDriverRec'
evdev.c:706: warning: excess elements in scalar initializer
evdev.c:706: warning: (near initialization for 'EVDEV')
evdev.c:707: error: 'NULL' undeclared here (not in a function)
evdev.c:707: warning: excess elements in scalar initializer
evdev.c:707: warning: (near initialization for 'EVDEV')
evdev.c:708: warning: excess elements in scalar initializer
evdev.c:708: warning: (near initialization for 'EVDEV')
evdev.c:709: warning: excess elements in scalar initializer
evdev.c:709: warning: (near initialization for 'EVDEV')
evdev.c:710: warning: excess elements in scalar initializer
evdev.c:710: warning: (near initialization for 'EVDEV')
evdev.c:712: warning: excess elements in scalar initializer
evdev.c:712: warning: (near initialization for 'EVDEV')
evdev.c:712: warning: data definition has no type or storage class

Here is my emerge info:
Portage 2.1_pre6-r2 (default-linux/amd64/2005.0, gcc-4.0.2, glibc-2.4-r0, 2.6.15-suspend2-r8 x86_64)
=================================================================
System uname: 2.6.15-suspend2-r8 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.2-r1
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.91.0.6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe -fomit-frame-pointer -g -Bdirect"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe -fomit-frame-pointer -g -Bdirect -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.ITDNet.net/gentoo ftp://gentoo.itdnet.net/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-xgl /usr/local/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 3ds X Xaw3d a52 aac aalib accessibility acl acpi ada aim allegro alsa alut amuled ao apache2 arts artswrappersuid asf athena audiofile avalon avi backward-compatible bash-completion batch bcmath berkdb berkkdb bidi bitmap-fonts bl browserplugin buttons bzip2 bzlib cairo calendar canna caps cdb cdda cddb cdio cdparanoia cdparanois cdr cegui cg chasen cjk clanJavaScript clanVoice clearcase cli cpdflibcrypt crypt cscope css ctype cups curl curlwrappers custom-cflags dba dbase dbm dbus dbx devil dga dio directfb directfbdivx4linux djbfft djvu dllloader dlloader dnd doc double-precision dpms dri dts dv dvb dvd dvdr dvdread dxr3 dynagraph editor edl eds elf emacs emacs-w3 emboss emul-linux-x86 encode epiphany escreen examples exif expat ext-doc ext-dvi ext-html ext-koffice ext-kpresenter ext-kspread ext-kword ext-lyx ext-man ext-pdf ext-ppt ext-ps ext-rtf ext-tex ext-xls f77 fam fame fat fbcon fbsplash ffmpeg fftw firefox flac flash flatfile font-server foomaticdb fortan fortran fping fpx freetds freetype freewnn ftp fuse gaim gb gd gdbm geoip gg ggi gif giff gii ginac glibc-compat20 glibc-omitfp glitz glut gmail gmailtimestamps gnomedb gnustep gnutls gphoto2 gpm graphviz guile hal haskell hfs howl httpd i18n iconv icq ieee1394 imagemagick imap imlib inifile innodb iodbc ipv6 irc ithreads jabber java javamail javascript jbig jce jfs jikes jms jmx jpeg jpeg2k junit jython kde lame lcms ldap leim libcaca libclamav libedit libg++ libgda libsamplerate libvisual libwww live lj logitech-mouse lzo lzw lzw-tiff mad maildir mailwrapper matroska matrox mbox mcal mcve md5sum mdb memlimit mhash migemo mikmod mime ming mjpeg mng mozcalendar mozdevelop mozillampg3 mozsvg mp3 mpeg mpi mplayer mpm-worker msn mule musepack musicbrainz mysql mysqli mythtv nas ncurses neXt network nfs ng nls nntp nomalloccheck nowin nptl nptlonly nsplugin ntfs nvidia oav odbc offensive ofx ogg oggvorbis openal openexr opengl oss pam parse-clocks pascal pcmcia pcntl pcre pda pdf pdflib pear perforce perl pertty php physfs plotutils png pnp portaudio posix postgres povray ppds python qmail qt qt-copy quicktime rar rdesktop readlibe real reiserfs remote rhino risky rpm rss rtc ruby samba sametime sasl sblive scanner sdk sdl sendfile server session shaper silc silvercity simplexml slang sms smux sndfile snmp soap sockets sox speex spell spl sql sqlite srp ssl stats stream subp subtitles subversion svg symlink synlinkszip sysfs sysvipc tcltk tcpd tga theora threads tidy tiff tokenizer tools truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd videos visualization vlm vorbis wddx wifi wmf wxgtk1 wxwindows x11vnc xanim xattr xbase xchatdccserver xchattext xcomposite xface xfs xine xml xml2 xmlrpc xosd xpm xprint xsl xv xvid xvmc yahoo yaz yv12 zeo zeroconf zip zlib zvbi elibc_glibc input_devices_keyboard input_devices_evdev input_devices_mouse input_devices_synaptics kernel_linux userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-14 13:55:27 UTC
Remerge xorg-server. If that doesn't fix it, reopen.
Comment 2 Karol Krizka 2006-03-14 18:10:40 UTC
Thanks, that fixed it.