Xlib.h:110: error: `XPointer' previously declared

Carl Karsten carl at personnelware.com
Wed Nov 3 13:20:18 PST 2004


rm -f attributes.o
gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing -ansi 
-pedantic -Wall -Wpointer-arith -Wstrict-prototypes 
   -Wmissing-prototypes -Wmissing-declarations 
-Wredundant-decls -Wnested-externs -Wundef   -fno-merge-constants 
-I../../../exports/include/X11 -I. -I../mfb -I../mi -I../cfb 
   -I../include -I../../../include -I../../../lib 
-I../../../include/extensions -I../../../include/fonts 
-I../../../lib/X11  -I../../.. -I../../../exports/include   -Dlinux 
-D__i386__ -D_POSIX_C_SOURCE=199309L 
-D_POSIX_SOURCE -D_XOPEN_SOURCE                -D_BSD_SOURCE 
-D_SVID_SOURCE                              -D_GNU_SOURCE 
-DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP        -DXCSECURITY -DTOGCUP 
-DXF86BIGFONT -DDPMSExtension    -DPIXPRIV       -DRENDER -DRANDR 
-DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE    -DGCCUSESGAS -DAVOID_GLYPHBLT 
-DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension 
          -DXFree86LOADER  -DXFree86Server 
   -DXF86VIDMODE                          -DXvMCExtension 
            -DSMART_SCHEDULE                       -DBUILDDEBUG 
-DXResExtension 
-DX_BYTE_ORDER=X_LITTLE_ENDIAN 
-DXORG_VERSION_CURRENT="(((6) * 10000000) + ((8) * 100000) + ((1) * 
1000) + 99)" -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO 
-DXPRINTDIR=\"/usr/X11R6/lib/X11/xserver\" -DXPRASTERDDX -DXPPCLDDX 
-DXPMONOPCLDDX          -DXPPSDDX -DHAS_MKSTEMP -UXFree86LOADER 
-D_XP_PRINT_SERVER_   attributes.c
In file included from AttrValid.h:38,
                  from attributes.h:38,
                  from attributes.c:60:
Oid.h:208: warning: function declaration isn't a prototype
In file included from attributes.h:38,
                  from attributes.c:60:
AttrValid.h:181: warning: function declaration isn't a prototype
In file included from attributes.c:63:
Xresource.h:256: warning: type defaults to `int' in declaration of 
`XrmQGetResource'
In file included from attributes.c:64:
Xrm.c:67: error: redefinition of `XPointer'
../../../exports/include/X11/Xlib.h:110: error: `XPointer' previously 
declared here
In file included from attributes.c:64:

Just say Bugzilla and I'll post it.  Should I just post there anway, or 
here first and wait for a confirmation?

Carl K



More information about the xorg mailing list