Compilation of xserver broken ( git 2d2d49dab)

Knut Petersen Knut_Petersen at t-online.de
Thu Jan 16 04:21:21 PST 2014


On 15.01.2014 21:01, Knut Petersen wrote:
> Hi Keith!
>
> I see a build failure on an openSuSE 13.1 system:

Some more information: openSuSE 13.1,
cpu: Pentium-M (32 bits),
gcc (SUSE Linux) 4.8.1 20130909 [gcc-4_8-branch revision 202388]

Commit that breaks building xserver: 60014a4a98ff924ae7f6840781f768c1cc93bbab

Author: Keith Packard <keithp at keithp.com>
Date:   Sun Dec 15 01:05:51 2013 -0800

     Replace 'pointer' type with 'void *'

     This lets us stop using the 'pointer' typedef in Xdefs.h as 'pointer'
     is used throughout the X server for other things, and having duplicate
     names generates compiler warnings.

     Signed-off-by: Keith Packard <keithp at keithp.com>
     Reviewed-by: Eric Anholt <eric at anholt.net>



>
> make[2]: Entering directory `/home/knut/fast/xorg/xserver/dix'
>   CC       atom.lo
> . ../include/dix-config.h
> . /home/knut/fast/xorg/X11-s/usr/include/X11/X.h
> . /home/knut/fast/xorg/X11-s/usr/include/X11/Xatom.h
> . /usr/include/stdio.h
> .. /usr/include/features.h
> ... /usr/include/sys/cdefs.h
> .... /usr/include/bits/wordsize.h
> ... /usr/include/gnu/stubs.h
> .... /usr/include/gnu/stubs-32.h
> .. /usr/lib/gcc/i586-suse-linux/4.8/include/stddef.h
> .. /usr/include/bits/types.h
> ... /usr/include/bits/wordsize.h
> ... /usr/include/bits/typesizes.h
> .. /usr/include/libio.h
> ... /usr/include/_G_config.h
> .... /usr/lib/gcc/i586-suse-linux/4.8/include/stddef.h
> .... /usr/include/wchar.h
> ... /usr/lib/gcc/i586-suse-linux/4.8/include/stdarg.h
> .. /usr/include/bits/stdio_lim.h
> .. /usr/include/bits/sys_errlist.h
> .. /usr/include/bits/stdio.h
> . /usr/include/string.h
> .. /usr/lib/gcc/i586-suse-linux/4.8/include/stddef.h
> .. /usr/include/xlocale.h
> .. /usr/include/bits/string.h
> .. /usr/include/bits/string2.h
> ... /usr/include/endian.h
> .... /usr/include/bits/endian.h
> .... /usr/include/bits/byteswap.h
> ..... /usr/include/bits/wordsize.h
> ..... /usr/include/bits/byteswap-16.h
> ... /usr/include/stdlib.h
> .... /usr/lib/gcc/i586-suse-linux/4.8/include/stddef.h
> . ../include/misc.h
> .. /home/knut/fast/xorg/X11-s/usr/include/X11/Xosdefs.h
> .. /home/knut/fast/xorg/X11-s/usr/include/X11/Xfuncproto.h
> .. /home/knut/fast/xorg/X11-s/usr/include/X11/Xmd.h
> .. /home/knut/fast/xorg/X11-s/usr/include/X11/Xdefs.h
> In file included from ../include/misc.h:78:0,
>                  from atom.c:55:
> /home/knut/fast/xorg/X11-s/usr/include/X11/Xdefs.h:105:10: error: expected ')' before 'OSTimePtr'
>           OSTimePtr /* pTimeout */,
>           ^
> .. /usr/lib/gcc/i586-suse-linux/4.8/include/stddef.h
> .. /usr/lib/gcc/i586-suse-linux/4.8/include/stdint.h
> ... /usr/include/stdint.h
> .... /usr/include/bits/wchar.h
> .... /usr/include/bits/wordsize.h
> .. ../include/os.h
> ... ../include/misc.h
> ... /usr/lib/gcc/i586-suse-linux/4.8/include/stdarg.h
> ... ../include/Xprintf.h
> .. /home/knut/fast/xorg/X11-s/usr/include/X11/Xfuncs.h
> .. /usr/include/stdlib.h
> ... /usr/lib/gcc/i586-suse-linux/4.8/include/stddef.h
> ... /usr/include/bits/waitflags.h
> ... /usr/include/bits/waitstatus.h
> ... /usr/include/sys/types.h
> .... /usr/include/time.h
> .... /usr/lib/gcc/i586-suse-linux/4.8/include/stddef.h
> .... /usr/include/sys/select.h
> ..... /usr/include/bits/select.h
> ...... /usr/include/bits/wordsize.h
> ..... /usr/include/bits/sigset.h
> ..... /usr/include/time.h
> ..... /usr/include/bits/time.h
> .... /usr/include/sys/sysmacros.h
> .... /usr/include/bits/pthreadtypes.h
> ..... /usr/include/bits/wordsize.h
> ... /usr/include/alloca.h
> .... /usr/lib/gcc/i586-suse-linux/4.8/include/stddef.h
> ... /usr/include/bits/stdlib-bsearch.h
> ... /usr/include/bits/stdlib-float.h
> .. /usr/lib/gcc/i586-suse-linux/4.8/include-fixed/limits.h
> ... /usr/lib/gcc/i586-suse-linux/4.8/include-fixed/syslimits.h
> .... /usr/lib/gcc/i586-suse-linux/4.8/include-fixed/limits.h
> ..... /usr/include/limits.h
> ...... /usr/include/bits/posix1_lim.h
> ....... /usr/include/bits/local_lim.h
> ........ /usr/include/linux/limits.h
> ...... /usr/include/bits/posix2_lim.h
> ...... /usr/include/bits/xopen_lim.h
> ....... /usr/include/bits/stdio_lim.h
> .. /usr/include/math.h
> ... /usr/include/bits/huge_val.h
> ... /usr/include/bits/huge_valf.h
> ... /usr/include/bits/huge_vall.h
> ... /usr/include/bits/inf.h
> ... /usr/include/bits/nan.h
> ... /usr/include/bits/mathdef.h
> ... /usr/include/bits/mathcalls.h
> ... /usr/include/bits/mathcalls.h
> ... /usr/include/bits/mathcalls.h
> ... /usr/include/bits/mathinline.h
> .. /usr/include/assert.h
> .. /usr/include/ctype.h
> . ../include/resource.h
> .. ../include/dixaccess.h
> . ../include/dix.h
> .. ../include/callback.h
> ... /home/knut/fast/xorg/X11-s/usr/include/X11/Xproto.h
> .... /home/knut/fast/xorg/X11-s/usr/include/X11/Xprotostr.h
> .. ../include/gc.h
> ... ../include/screenint.h
> ... ../include/pixmap.h
> .... ../include/regionstr.h
> ..... ../include/miscstruct.h
> ...... /home/knut/fast/xorg/X11-s/usr/include/pixman-1/pixman.h
> ....... /home/knut/fast/xorg/X11-s/usr/include/pixman-1/pixman-version.h
> .. ../include/window.h
> ... ../include/region.h
> .. ../include/input.h
> ... ../include/xkbrules.h
> ... ../include/events.h
> ... ../include/list.h
> .... /usr/lib/gcc/i586-suse-linux/4.8/include/stddef.h
> ... /home/knut/fast/xorg/X11-s/usr/include/X11/extensions/XI2.h
> .. ../include/cursor.h
> ... ../include/privates.h
> .... ../include/dix.h
> .... ../include/resource.h
> .. ../Xext/geext.h
> ... /home/knut/fast/xorg/X11-s/usr/include/X11/extensions/geproto.h
> .... /home/knut/fast/xorg/X11-s/usr/include/X11/extensions/ge.h
> .. /home/knut/fast/xorg/X11-s/usr/include/X11/extensions/XI.h
> In file included from atom.c:57:0:
> ../include/dix.h:224:54: error: expected ')' before 'WakeupHandlerProcPtr'
> WakeupHandlerProcPtr
>                                                       ^
> ../include/dix.h:230:52: error: expected ')' before 'WakeupHandlerProcPtr'
> WakeupHandlerProcPtr
>                                                     ^
>
>
>
> cu,
>  Knut
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>



More information about the xorg-devel mailing list