xorg-server-0.99.1 - devices.c error

Łukasz Hejnak grupy at szift.org
Sat Dec 3 10:09:37 PST 2005


Hello

Today I've been trying to compile the modular X server, but it failed.
After a few hours of playing with the dependencies hierarchy, installing 
all the packages required before the xserver compile, I got to the main 
server (xorg-server-0.99.1)
The config I use is:
./configure --prefix=/usr/X11R6  --enable-werror --enable-composite 
--disable-screensaver --enable-dri  --enable-xorg 
--disable-tcp-transport --disable-ipv6 --with-gnu-ld 
--with-mesa-source=/usr/src/Mesa/Mesa-6.4/ 
--with-includes=/usr/X11R6/include/ --with-libs=/usr/X11R6/lib/

the error apears at make time, this seems to be only a warning, but I 
figure here this is enough to stop the process
Below I pasted the two relevant lines.
I tried with different versions of this file (devices.c), but still no luck

if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I../include -I../include -I../include -I../include -I../include 
-I../include -I../Xprint   -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fno-strict-aliasing -Werror -D_BSD_SOURCE -DHAS_FCHOWN 
-DHAS_STICKY_DIR_BIT -I/usr/X11R6/include -I/usr/X11R6//include 
-I/usr/include/freetype2   -I../include -I../include -I../Xext 
-I../render -I../randr -I../xfixes -I../damageext -I../composite -I../mi 
-I../miext/damage -I../miext/shadow -I../fb -I../Xi -g -O2 -MT 
devices.lo -MD -MP -MF ".deps/devices.Tpo" \
   -c -o devices.lo `test -f 'devices.c' || echo './'`devices.c; \
then mv -f ".deps/devices.Tpo" ".deps/devices.Plo"; \
else rm -f ".deps/devices.Tpo"; exit 1; \
fi
  gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include 
-I../include -I../include -I../include -I../Xprint -DHAVE_DIX_CONFIG_H 
-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Werror 
-D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/X11R6/include 
-I/usr/X11R6//include -I/usr/include/freetype2 -I../include -I../include 
-I../Xext -I../render -I../randr -I../xfixes -I../damageext 
-I../composite -I../mi -I../miext/damage -I../miext/shadow -I../fb 
-I../Xi -g -O2 -MT devices.lo -MD -MP -MF .deps/devices.Tpo -c devices.c 
  -fPIC -DPIC -o .libs/devices.o
devices.c: In function `_AddInputDevice':
devices.c:129: warning: assignment from incompatible pointer type
make: *** [devices.lo] Error 1


Anybody can help me?

--
Best wishes
Łukasz Hejnak



More information about the xorg mailing list