Bug 44335 - master fails to build against xserver 1.11
Summary: master fails to build against xserver 1.11
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/synaptics (show other bugs)
Version: git
Hardware: Other All
: medium major
Assignee: Peter Hutterer
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-30 18:20 UTC by Cyril Brulebois
Modified: 2012-01-03 16:04 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Cyril Brulebois 2011-12-30 18:20:52 UTC
Master as of:

commit 9f9b55ab55ed5251c1607c59d8817231d076d82c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Mon Dec 12 11:35:37 2011 +1000

    test: fix build errors introduced by upstream server change
    
    Introduced by upstream change xorg-server-1.11.99.1-33-g09e4b78,
        Fix gcc -Wwrite-strings warnings in xf86 ddx
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

fails to build against xserver 1.11 (1.11.2.902).

   CC     fake-symbols.o
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../test -I..  -I../../src -I../../include  -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/xorg   -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wformat=2 -Wold-style-definition -Wdeclaration-after-statement -g -O2 -c ../../test/fake-symbols.c
In file included from ../../test/fake-symbols.c:1:0:
../../test/fake-symbols.h:28:41: error: unknown type name 'XF86OptionPtr'
make[3]: *** [fake-symbols.o] Error 1

Therefore, I suggest we postpone releasing a synaptics snapshot until this regression is fixed.

[As a reminder, only 1.7 is required by configure.ac]
Comment 1 Peter Hutterer 2012-01-02 17:38:40 UTC
http://patchwork.freedesktop.org/patch/8568/
Comment 2 Peter Hutterer 2012-01-03 16:04:15 UTC
Fixed with c861d4568c2c6cc56db8e683a8d7035bef711262


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.