Compilation of Xgl Server

Jon Smirl jonsmirl at gmail.com
Sat Feb 26 14:31:46 PST 2005


EV_SYN should be defined in the kernel's input.h 

On my system I am running 2.6.11-rc5-fb

[jonsmirl at jonsmirl linux]$ ls /lib/modules/2.6.11-rc5-fb/source -l
lrwxrwxrwx  1 root root 29 Feb 26 03:03
/lib/modules/2.6.11-rc5-fb/source -> /home/jonsmirl/linux-fb-sysfs
[jonsmirl at jonsmirl linux]$

I can build without problem so it must be getting the wrong input.h

On Sat, 26 Feb 2005 22:02:21 +0000, Jonathan Marriott <jon at kiwiuk.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Well this is getting a tad silly now. I have got clean CVS checkouts of
> all the libs and installed them, same with XExtensions. This is my brand
> spanking new compile error:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../hw/kdrive/src
> - -I../../../miext/damage -I../../../miext/shadow -I../../../Xext
> - -I../../../record -I../../../render -I../../../randr -I../../../xfixes
> - -I../../../damageext -I../../../composite                  -I../../../fb
> - -I../../../mi -I../../../hw/kdrive/linux -Wall -Wpointer-arith
> - -Wstrict-prototypes       -Wmissing-prototypes -Wmissing-declarations
> ~ -Wnested-externs -fno-strict-aliasing -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
> - -I/usr/local/include -I/usr/local/include/X11/fonts
> - -I/usr/local/include/X11/Xtrans   -D_BSD_SOURCE -I../../../include
> - -I../../../Xext    -g -O2 -MT evdev.o -MD -MP -MF ".deps/evdev.Tpo" -c
> - -o evdev.o evdev.c; \
> then mv -f ".deps/evdev.Tpo" ".deps/evdev.Po"; else rm -f
> ".deps/evdev.Tpo"; exit 1; fi
> evdev.c:62: error: field `absinfo' has incomplete type
> evdev.c: In function `EvdevRead':
> evdev.c:119: error: `EV_SYN' undeclared (first use in this function)
> evdev.c:119: error: (Each undeclared identifier is reported only once
> evdev.c:119: error: for each function it appears in.)
> make[3]: *** [evdev.o] Error 1
> make[3]: Leaving directory
> `/home/jonathan/data/downloads/src/Xgl/xserver/hw/kdrive/linux'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/jonathan/data/downloads/src/Xgl/xserver/hw/kdrive'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/jonathan/data/downloads/src/Xgl/xserver/hw'
> make: *** [all-recursive] Error 1
> 
> evdev struck me as something I've seen in the kernel config so I checked
> I had my linux symlink in /usr/src and I do.
> 
> I'm having fun, are you?
> 
> Thanks very much for your time,
> Jon
> 
> Jonathan Marriott wrote:
> | Thanks, I knew what modules to install but that script I hadn't notice.
> | I'll use that.
> |
> | Jon
> |
> | Adam Jackson wrote:
> | | On Saturday 26 February 2005 12:15, Jonathan Marriott wrote:
> | |
> | |>That did indeed fix that problem, thanks. I was using
> | |>xestensions-1.0.1.tar.gz. However, I now have:
> | |>
> | |>In file included from fboverlay.c:31:
> | |>../Xext/shmint.h:35: error: redefinition of `struct _ShmFuncs'
> | |>../Xext/shmint.h:54: error: redefinition of `ShmFuncs'
> | |>/usr/X11R6/include/X11/extensions/shmstr.h:74: error: `ShmFuncs'
> | |>previously declared here
> | |>../Xext/shmint.h:54: error: redefinition of `ShmFuncsPtr'
> | |>/usr/X11R6/include/X11/extensions/shmstr.h:74: error: `ShmFuncsPtr'
> | |>previously declared here
> | |>make[1]: *** [fboverlay.o] Error 1
> | |>make[1]: Leaving directory
> | |>`/home/jonathan/data/downloads/src/Xgl/xserver/fb'
> | |>make: *** [all-recursive] Error 1
> | |>
> | |>So I'll be trying the fresh checkout of all those modules. Is there any
> | |>way to checkout the entire xlibs directory or must I check out each
> | |>module required manually? The CVS man page didn't seem to indicate a way
> | |>sadly. My internet connection is pathetically slow for CVS checkouts so
> | |>its handy if I can just leave it to sort itself out.
> | |
> | |
> | | http://freedesktop.org/Software/Xserver/InstallGuide
> | |
> | | Tells you all the modules you need.
> | |
> | | - ajax
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.0 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFCIPHt/hbGbNGhPO4RAkMbAJ9myHAn8nTwCSH2n1T9erLhJ40wEwCfYry3
> spajaeMhXOz6k5PrlSSbPLs=
> =PAx3
> -----END PGP SIGNATURE-----
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
> 


-- 
Jon Smirl
jonsmirl at gmail.com



More information about the xorg mailing list