Bug 9163 - Missing Xinerama causes xserver build to cause undefined errors.
Summary: Missing Xinerama causes xserver build to cause undefined errors.
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: xorg-7.4
  Show dependency treegraph
 
Reported: 2006-11-26 14:39 UTC by Boris
Modified: 2008-05-06 10:31 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Boris 2006-11-26 14:39:17 UTC
When compiling the common protos and libraries from git (except non essential 
Xinerama protos and libs) causes xserver to error out with an undefined 
reference.

gcc -DHAVE_XORG_CONFIG_H -I/usr/X11/include -DXF86PM -Wall -Wpointer-arith -
Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-
externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -
I/usr/X11/include -I/usr/include/freetype2 -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 -g -O2 -o Xorg -rdynamic 
xorg.o  ../../dix/.libs/libdix.a ../../config/libconfig.a common/libinit.a 
loader/libloader.a ./.libs/libosandcommon.a rac/librac.a parser/libxf86config.a 
dixmods/.libs/libdixmods.a ../../composite/.libs/libcomposite.a ../../mi/.libs/l
ibmi.a ../../xfixes/.libs/libxfixes.a ../../Xext/.libs/libXextbuiltin.a ../../re
nder/.libs/librender.a ../../randr/.libs/librandr.a ../../damageext/.libs/libdam
ageext.a ../../miext/damage/.libs/libdamage.a ../../miext/cw/.libs/libcw.a ../..
/miext/shadow/.libs/libshadow.a ../../Xi/.libs/libXi.a ../../xkb/.libs/libxkb.a 
../../dix/.libs/libxpstubs.a ../../os/.libs/libos.a -ldl -
L/usr/X11/lib /usr/X11/lib/libXfont.so /usr/lib/libfreetype.so /usr/X11/lib/libX
au.so /usr/X11/lib/libfontenc.so -lz /usr/X11/lib/libXdmcp.so 
dixmods/.libs/libxorgxkb.a -lm
../../dix/.libs/libdix.a(events.o): In function `CheckPhysLimits':
/storage/temp/xserver/dix/events.c:760: undefined reference to `SyntheticMotion'
../../dix/.libs/libdix.a(events.o): In function `ConfineCursorToWindow':
/storage/temp/xserver/dix/events.c:834: undefined reference to `SyntheticMotion'
collect2: ld returned 1 exit status
make[4]: *** [Xorg] Error 1
make[4]: Leaving directory `/storage/temp/xserver/hw/xfree86'

Since Xinerama is a non essential library, it seems that xserver has a bug when 
it's not available. Can anyone please fix this? Thanks.
Comment 1 Boris 2006-11-26 16:13:27 UTC
I found a temp fix but it's not an appropriate fix. If you have the Xinerama 
proto's installed and to try to configure Xserver with --disable-xinerama, that 
causes the undefined reference to `SyntheticMotion'. If you take that out, 
(xserver will find the headers then) it compiles properly. Maybe some checks or 
ifdef's aren't defined properly in the xserver package?
Comment 2 Daniel Stone 2007-02-27 01:34:50 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 3 Adam Jackson 2008-05-06 10:31:22 UTC
Unable to reproduce with server-1.5-branch.  Calling this one fixed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.