Xorg compile error

Wu, Nian nian.wu at intel.com
Wed Apr 25 02:28:04 PDT 2007


When we compiled the xserver tip, it reported error:
 

Making all in dix

make[1]: Entering directory `/GFX/build/component/Xorg/xorg/xserver/dix'

make  all-am

make[2]: Entering directory `/GFX/build/component/Xorg/xorg/xserver/dix'

if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I../include -I../include -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
-D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/opt/X11R7/include
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include   -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 -DVENDOR_STRING=\""The X.Org Foundation"\"
-DVENDOR_RELEASE="(((7) * 10000000) + ((2) * 100000) + ((0) * 1000) +
0)" -g -O2 -MT devices.lo -MD -MP -MF ".deps/devices.Tpo" -c -o
devices.lo 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../include -I../include
-I../Xprint -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/opt/X11R7/include -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -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
"-DVENDOR_STRING=\"The X.Org Foundation\"" "-DVENDOR_RELEASE=(((7) *
10000000) + ((2) * 100000) + ((0) * 1000) + 0)" -g -O2 -MT devices.lo
-MD -MP -MF .deps/devices.Tpo -c devices.c  -fPIC -DPIC -o
.libs/devices.o

devices.c: In function 'EnableDevice':

devices.c:183: error: 'DeviceEnabled' undeclared (first use in this
function)

devices.c:183: error: (Each undeclared identifier is reported only once

devices.c:183: error: for each function it appears in.)

devices.c: In function 'DisableDevice':

devices.c:213: error: 'DeviceDisabled' undeclared (first use in this
function)

devices.c: In function 'ActivateDevice':

devices.c:237: error: 'DeviceAdded' undeclared (first use in this
function)

devices.c: In function 'RemoveDevice':

devices.c:616: error: 'DeviceRemoved' undeclared (first use in this
function)

make[2]: *** [devices.lo] Error 1

make[2]: Leaving directory `/GFX/build/component/Xorg/xorg/xserver/dix'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/GFX/build/component/Xorg/xorg/xserver/dix'

make: *** [all-recursive] Error 1 

 

Some function declaration seems lost. Please fix it. Thanks,

 

 

Nian 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20070425/fac212de/attachment.html>


More information about the xorg mailing list