[Xcb] Implementing XTestFakeMotionEvent
Charlls Quarra
charlls_quarra at yahoo.com.ar
Fri May 1 10:38:21 PDT 2009
Hi,
thanks everyone for the great info and code snippets
> De: Ian Osgood <iano at quirkster.com>
> Asunto: Re: [Xcb] Implementing XTestFakeMotionEvent
> XTest is one of the few extensions
> that has sample XCB code in the
> xcb/demo repository. You might check there for ideas as
> well.
>
> Ian
>
Hi Ian,
apparently i can't compile xcb-demo, compile error shown at the bottom of the email. I'm using libxcb 1.2, xcb-proto 1.4. greping over both tarballs couldn't find the following symbols reported in the error;
XCBAllocColorRep
XCBCWBackPixel
apparently these dependencies don't exist anymore?
$ make
make all-recursive
Making all in tests
gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include -g -O2 -MT julia.o -MD -MP -MF .deps/julia.Tpo -c -o julia.o julia.c
In file included from julia.c:10:
julia.h:8: error: syntax error before 'XCBConnection'
julia.h:8: warning: no semicolon at end of struct or union
julia.h:9: warning: data definition has no type or storage class
julia.h:10: error: syntax error before 'draw'
julia.h:10: warning: data definition has no type or storage class
julia.h:11: error: syntax error before 'gc'
julia.h:11: warning: data definition has no type or storage class
julia.h:12: error: syntax error before 'cmap'
julia.h:12: warning: data definition has no type or storage class
julia.h:13: error: syntax error before 'format'
julia.h:13: warning: data definition has no type or storage class
julia.h:15: error: syntax error before '*' token
julia.h:15: warning: data definition has no type or storage class
julia.h:16: error: syntax error before '*' token
julia.h:16: warning: data definition has no type or storage class
julia.h:17: error: syntax error before '}' token
julia.c: In function 'palette_julia':
julia.c:45: error: 'XCBAllocColorRep' undeclared (first use in this function)
julia.c:45: error: (Each undeclared identifier is reported only once
julia.c:45: error: for each function it appears in.)
julia.c:45: error: 'rep' undeclared (first use in this function)
julia.c:48: error: dereferencing pointer to incomplete type
julia.c:48: error: 'CARD32' undeclared (first use in this function)
julia.c:48: error: syntax error before ')' token
julia.c:53: error: dereferencing pointer to incomplete type
julia.c:54: error: dereferencing pointer to incomplete type
julia.c:55: error: dereferencing pointer to incomplete type
julia.c:59: error: dereferencing pointer to incomplete type
julia.c:60: error: dereferencing pointer to incomplete type
julia.c:61: error: dereferencing pointer to incomplete type
julia.c:65: error: dereferencing pointer to incomplete type
julia.c:66: error: dereferencing pointer to incomplete type
julia.c:67: error: dereferencing pointer to incomplete type
julia.c:72: error: dereferencing pointer to incomplete type
julia.c:74: error: dereferencing pointer to incomplete type
julia.c: In function 'draw_julia':
julia.c:87: error: dereferencing pointer to incomplete type
julia.c:87: error: dereferencing pointer to incomplete type
julia.c:87: error: dereferencing pointer to incomplete type
julia.c:89: error: dereferencing pointer to incomplete type
julia.c:91: error: dereferencing pointer to incomplete type
julia.c:92: error: dereferencing pointer to incomplete type
julia.c:94: error: dereferencing pointer to incomplete type
julia.c:95: error: dereferencing pointer to incomplete type
julia.c:105: error: dereferencing pointer to incomplete type
julia.c:107: error: dereferencing pointer to incomplete type
julia.c:110: error: dereferencing pointer to incomplete type
julia.c:110: error: dereferencing pointer to incomplete type
julia.c:110: error: dereferencing pointer to incomplete type
julia.c:110: error: dereferencing pointer to incomplete type
julia.c: In function 'main':
julia.c:117: error: storage size of 'data' isn't known
julia.c:118: error: 'XCBSCREEN' undeclared (first use in this function)
julia.c:118: error: 'screen' undeclared (first use in this function)
julia.c:119: error: 'XCBDRAWABLE' undeclared (first use in this function)
julia.c:119: error: syntax error before 'win'
julia.c:121: error: 'XCBGCONTEXT' undeclared (first use in this function)
julia.c:122: error: 'CARD32' undeclared (first use in this function)
julia.c:125: error: 'XCBRECTANGLE' undeclared (first use in this function)
julia.c: At top level:
julia.c:126: error: syntax error before '*' token
julia.c:126: warning: data definition has no type or storage class
julia.c:129: error: syntax error before '.' token
julia.c:130: error: 'data' undeclared here (not in a function)
julia.c:130: error: initializer element is not constant
julia.c:130: warning: data definition has no type or storage class
julia.c:131: error: syntax error before '.' token
julia.c:136: warning: data definition has no type or storage class
julia.c:137: error: invalid type argument of '->'
julia.c:137: warning: data definition has no type or storage class
julia.c:138: error: conflicting types for 'valgc'
julia.c:137: error: previous definition of 'valgc' was here
julia.c:138: error: invalid initializer
julia.c:138: warning: data definition has no type or storage class
julia.c:139: error: syntax error before '.' token
julia.c:139: warning: data definition has no type or storage class
julia.c:141: error: initializer element is not constant
julia.c:141: warning: data definition has no type or storage class
julia.c:142: error: redefinition of 'mask'
julia.c:136: error: previous definition of 'mask' was here
julia.c:142: warning: data definition has no type or storage class
julia.c:143: error: redefinition of 'valgc'
julia.c:137: error: previous definition of 'valgc' was here
julia.c:143: error: invalid type argument of '->'
julia.c:143: warning: data definition has no type or storage class
julia.c:144: error: conflicting types for 'valgc'
julia.c:137: error: previous definition of 'valgc' was here
julia.c:144: error: invalid initializer
julia.c:144: warning: data definition has no type or storage class
julia.c:145: error: syntax error before '.' token
julia.c:145: warning: data definition has no type or storage class
julia.c:147: error: syntax error before '.' token
julia.c:148: error: redefinition of 'mask'
julia.c:136: error: previous definition of 'mask' was here
julia.c:148: error: 'XCBCWBackPixel' undeclared here (not in a function)
julia.c:148: error: 'XCBCWEventMask' undeclared here (not in a function)
julia.c:148: error: 'XCBCWDontPropagate' undeclared here (not in a function)
julia.c:148: warning: data definition has no type or storage class
julia.c:149: error: invalid type argument of '->'
julia.c:149: warning: data definition has no type or storage class
julia.c:150: error: conflicting types for 'valwin'
julia.c:149: error: previous definition of 'valwin' was here
julia.c:150: error: invalid initializer
julia.c:150: warning: data definition has no type or storage class
julia.c:151: error: conflicting types for 'valwin'
julia.c:149: error: previous definition of 'valwin' was here
julia.c:151: error: invalid initializer
julia.c:151: warning: data definition has no type or storage class
julia.c:152: error: syntax error before '.' token
julia.c:159: warning: data definition has no type or storage class
julia.c:160: error: syntax error before '.' token
julia.c:160: warning: data definition has no type or storage class
julia.c:162: error: syntax error before '.' token
julia.c:163: error: syntax error before '.' token
julia.c:165: warning: data definition has no type or storage class
julia.c:166: error: syntax error before '.' token
julia.c:166: warning: data definition has no type or storage class
julia.c:168: error: syntax error before '.' token
julia.c:168: warning: data definition has no type or storage class
julia.c:170: error: syntax error before '.' token
julia.c:173: error: syntax error before '.' token
julia.c:177: warning: data definition has no type or storage class
julia.c:179: error: syntax error before '&' token
julia.c:179: error: conflicting types for 'palette_julia'
julia.c:44: error: previous definition of 'palette_julia' was here
julia.c:179: warning: data definition has no type or storage class
julia.c:181: error: syntax error before '.' token
julia.c:181: warning: data definition has no type or storage class
julia.c:191: error: syntax error before '&' token
julia.c:191: error: conflicting types for 'draw_julia'
julia.c:82: error: previous definition of 'draw_julia' was here
julia.c:191: warning: data definition has no type or storage class
julia.c:192: error: syntax error before '.' token
julia.c:192: warning: data definition has no type or storage class
julia.c:202: warning: parameter names (without types) in function declaration
julia.c:202: error: conflicting types for 'free'
/usr/include/stdlib.h:160: error: previous declaration of 'free' was here
julia.c:202: warning: data definition has no type or storage class
julia.c:203: error: syntax error before '.' token
julia.c:203: warning: data definition has no type or storage class
julia.c:204: error: syntax error before numeric constant
julia.c:204: error: conflicting types for 'exit'
julia.c:204: warning: data definition has no type or storage class
julia.c:208: warning: parameter names (without types) in function declaration
julia.c:208: error: conflicting types for 'free'
/usr/include/stdlib.h:160: error: previous declaration of 'free' was here
julia.c:208: warning: data definition has no type or storage class
julia.c:209: error: syntax error before '}' token
make[2]: *** [julia.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/
More information about the Xcb
mailing list