[Xcb] xcb-util make error

Vincent Torri vtorri at univ-evry.fr
Mon Dec 25 07:21:27 PST 2006


Hey

I suppose that you get the archive somewhere. It's not uptodate. Get the 
git repository (named util). You'll be able to compile it

regards

Vincent

On Mon, 25 Dec 2006, Christer Sandvik wrote:

> Hello!
>
> I'm sorry if I mention something old here but I just can't fix it, please 
> help me!
>
> I absolutely need xcb-util and is there any way to bypass this? It's so 
> disturbing!
>
> Yours sincerely, Christer
>
> In file included from atoms.gperf:4:
> xcb_atom.h:11: error: parse error before 'XCBInternAtomCookie'
> xcb_atom.h:11: warning: no semicolon at end of struct or union
> xcb_atom.h:11: warning: no semicolon at end of struct or union
> xcb_atom.h:12: warning: data definition has no type or storage class
> xcb_atom.h:13: warning: data definition has no type or storage class
> xcb_atom.h:14: error: parse error before '}' token
> xcb_atom.h:14: warning: data definition has no type or storage class
> xcb_atom.h:16: error: parse error before 'InternAtomPredefined'
> xcb_atom.h:16: error: parse error before 'name_len'
> xcb_atom.h:16: warning: data definition has no type or storage class
> xcb_atom.h:17: error: parse error before 'InternAtomFast'
> xcb_atom.h:17: error: parse error before '*' token
> xcb_atom.h:17: warning: data definition has no type or storage class
> xcb_atom.h:18: error: parse error before 'InternAtomFastReply'
> xcb_atom.h:18: error: parse error before '*' token
> xcb_atom.h:18: warning: data definition has no type or storage class
> xcb_atom.h:20: error: parse error before 'atom'
> xcb_atom.h:21: error: parse error before '*' token
> xcb_atom.h:23: error: parse error before 'PRIMARY'
> xcb_atom.h:23: warning: data definition has no type or storage class
> xcb_atom.h:24: error: parse error before 'SECONDARY'
> xcb_atom.h:24: warning: data definition has no type or storage class
> xcb_atom.h:25: error: parse error before 'ARC'
> xcb_atom.h:25: warning: data definition has no type or storage class
> xcb_atom.h:26: error: parse error before 'ATOM'
> xcb_atom.h:26: warning: data definition has no type or storage class
> xcb_atom.h:27: error: parse error before 'BITMAP'
> xcb_atom.h:27: warning: data definition has no type or storage class
> xcb_atom.h:28: error: parse error before 'CARDINAL'
> xcb_atom.h:28: warning: data definition has no type or storage class
> xcb_atom.h:29: error: parse error before 'COLORMAP'
> xcb_atom.h:29: warning: data definition has no type or storage class
> xcb_atom.h:30: error: parse error before 'CURSOR'
> xcb_atom.h:30: warning: data definition has no type or storage class
> xcb_atom.h:31: error: parse error before 'CUT_BUFFER0'
> xcb_atom.h:31: warning: data definition has no type or storage class
> xcb_atom.h:32: error: parse error before 'CUT_BUFFER1'
> xcb_atom.h:32: warning: data definition has no type or storage class
> xcb_atom.h:33: error: parse error before 'CUT_BUFFER2'
> xcb_atom.h:33: warning: data definition has no type or storage class
> xcb_atom.h:34: error: parse error before 'CUT_BUFFER3'
> xcb_atom.h:34: warning: data definition has no type or storage class
> xcb_atom.h:35: error: parse error before 'CUT_BUFFER4'
> xcb_atom.h:35: warning: data definition has no type or storage class
> xcb_atom.h:36: error: parse error before 'CUT_BUFFER5'
> xcb_atom.h:36: warning: data definition has no type or storage class
> xcb_atom.h:37: error: parse error before 'CUT_BUFFER6'
> xcb_atom.h:37: warning: data definition has no type or storage class
> xcb_atom.h:38: error: parse error before 'CUT_BUFFER7'
> xcb_atom.h:38: warning: data definition has no type or storage class
> xcb_atom.h:39: error: parse error before 'DRAWABLE'
> xcb_atom.h:39: warning: data definition has no type or storage class
> xcb_atom.h:40: error: parse error before 'FONT'
> xcb_atom.h:40: warning: data definition has no type or storage class
> xcb_atom.h:41: error: parse error before 'INTEGER'
> xcb_atom.h:41: warning: data definition has no type or storage class
> xcb_atom.h:42: error: parse error before 'PIXMAP'
> xcb_atom.h:42: warning: data definition has no type or storage class
> xcb_atom.h:43: error: parse error before 'POINT'
> xcb_atom.h:43: warning: data definition has no type or storage class
> xcb_atom.h:44: error: parse error before 'RECTANGLE'
> xcb_atom.h:44: warning: data definition has no type or storage class
> xcb_atom.h:45: error: parse error before 'RESOURCE_MANAGER'
> xcb_atom.h:45: warning: data definition has no type or storage class
> xcb_atom.h:46: error: parse error before 'RGB_COLOR_MAP'
> xcb_atom.h:46: warning: data definition has no type or storage class
> xcb_atom.h:47: error: parse error before 'RGB_BEST_MAP'
> xcb_atom.h:47: warning: data definition has no type or storage class
> xcb_atom.h:48: error: parse error before 'RGB_BLUE_MAP'
> xcb_atom.h:48: warning: data definition has no type or storage class
> xcb_atom.h:49: error: parse error before 'RGB_DEFAULT_MAP'
> xcb_atom.h:49: warning: data definition has no type or storage class
> xcb_atom.h:50: error: parse error before 'RGB_GRAY_MAP'
> xcb_atom.h:50: warning: data definition has no type or storage class
> xcb_atom.h:51: error: parse error before 'RGB_GREEN_MAP'
> xcb_atom.h:51: warning: data definition has no type or storage class
> xcb_atom.h:52: error: parse error before 'RGB_RED_MAP'
> xcb_atom.h:52: warning: data definition has no type or storage class
> xcb_atom.h:53: error: parse error before 'STRING'
> xcb_atom.h:53: warning: data definition has no type or storage class
> xcb_atom.h:54: error: parse error before 'VISUALID'
> xcb_atom.h:54: warning: data definition has no type or storage class
> xcb_atom.h:55: error: parse error before 'WINDOW'
> xcb_atom.h:55: warning: data definition has no type or storage class
> xcb_atom.h:56: error: parse error before 'WM_COMMAND'
> xcb_atom.h:56: warning: data definition has no type or storage class
> xcb_atom.h:57: error: parse error before 'WM_HINTS'
> xcb_atom.h:57: warning: data definition has no type or storage class
> xcb_atom.h:58: error: parse error before 'WM_CLIENT_MACHINE'
> xcb_atom.h:58: warning: data definition has no type or storage class
> xcb_atom.h:59: error: parse error before 'WM_ICON_NAME'
> xcb_atom.h:59: warning: data definition has no type or storage class
> xcb_atom.h:60: error: parse error before 'WM_ICON_SIZE'
> xcb_atom.h:60: warning: data definition has no type or storage class
> xcb_atom.h:61: error: parse error before 'WM_NAME'
> xcb_atom.h:61: warning: data definition has no type or storage class
> xcb_atom.h:62: error: parse error before 'WM_NORMAL_HINTS'
> xcb_atom.h:62: warning: data definition has no type or storage class
> xcb_atom.h:63: error: parse error before 'WM_SIZE_HINTS'
> xcb_atom.h:63: warning: data definition has no type or storage class
> xcb_atom.h:64: error: parse error before 'WM_ZOOM_HINTS'
> xcb_atom.h:64: warning: data definition has no type or storage class
> xcb_atom.h:65: error: parse error before 'MIN_SPACE'
> xcb_atom.h:65: warning: data definition has no type or storage class
> xcb_atom.h:66: error: parse error before 'NORM_SPACE'
> xcb_atom.h:66: warning: data definition has no type or storage class
> xcb_atom.h:67: error: parse error before 'MAX_SPACE'
> xcb_atom.h:67: warning: data definition has no type or storage class
> xcb_atom.h:68: error: parse error before 'END_SPACE'
> xcb_atom.h:68: warning: data definition has no type or storage class
> xcb_atom.h:69: error: parse error before 'SUPERSCRIPT_X'
> xcb_atom.h:69: warning: data definition has no type or storage class
> xcb_atom.h:70: error: parse error before 'SUPERSCRIPT_Y'
> xcb_atom.h:70: warning: data definition has no type or storage class
> xcb_atom.h:71: error: parse error before 'SUBSCRIPT_X'
> xcb_atom.h:71: warning: data definition has no type or storage class
> xcb_atom.h:72: error: parse error before 'SUBSCRIPT_Y'
> xcb_atom.h:72: warning: data definition has no type or storage class
> xcb_atom.h:73: error: parse error before 'UNDERLINE_POSITION'
> xcb_atom.h:73: warning: data definition has no type or storage class
> xcb_atom.h:74: error: parse error before 'UNDERLINE_THICKNESS'
> xcb_atom.h:74: warning: data definition has no type or storage class
> xcb_atom.h:75: error: parse error before 'STRIKEOUT_ASCENT'
> xcb_atom.h:75: warning: data definition has no type or storage class
> xcb_atom.h:76: error: parse error before 'STRIKEOUT_DESCENT'
> xcb_atom.h:76: warning: data definition has no type or storage class
> xcb_atom.h:77: error: parse error before 'ITALIC_ANGLE'
> xcb_atom.h:77: warning: data definition has no type or storage class
> xcb_atom.h:78: error: parse error before 'X_HEIGHT'
> xcb_atom.h:78: warning: data definition has no type or storage class
> xcb_atom.h:79: error: parse error before 'QUAD_WIDTH'
> xcb_atom.h:79: warning: data definition has no type or storage class
> xcb_atom.h:80: error: parse error before 'WEIGHT'
> xcb_atom.h:80: warning: data definition has no type or storage class
> xcb_atom.h:81: error: parse error before 'POINT_SIZE'
> xcb_atom.h:81: warning: data definition has no type or storage class
> xcb_atom.h:82: error: parse error before 'RESOLUTION'
> xcb_atom.h:82: warning: data definition has no type or storage class
> xcb_atom.h:83: error: parse error before 'COPYRIGHT'
> xcb_atom.h:83: warning: data definition has no type or storage class
> xcb_atom.h:84: error: parse error before 'NOTICE'
> xcb_atom.h:84: warning: data definition has no type or storage class
> xcb_atom.h:85: error: parse error before 'FONT_NAME'
> xcb_atom.h:85: warning: data definition has no type or storage class
> xcb_atom.h:86: error: parse error before 'FAMILY_NAME'
> xcb_atom.h:86: warning: data definition has no type or storage class
> xcb_atom.h:87: error: parse error before 'FULL_NAME'
> xcb_atom.h:87: warning: data definition has no type or storage class
> xcb_atom.h:88: error: parse error before 'CAP_HEIGHT'
> xcb_atom.h:88: warning: data definition has no type or storage class
> xcb_atom.h:89: error: parse error before 'WM_CLASS'
> xcb_atom.h:89: warning: data definition has no type or storage class
> xcb_atom.h:90: error: parse error before 'WM_TRANSIENT_FOR'
> xcb_atom.h:90: warning: data definition has no type or storage class
> atoms.gperf:6: error: parse error before 'PRIMARY'
> atoms.gperf:6: warning: data definition has no type or storage class
> atoms.gperf:7: error: parse error before 'SECONDARY'
> atoms.gperf:7: warning: data definition has no type or storage class
> atoms.gperf:8: error: parse error before 'ARC'
> atoms.gperf:8: warning: data definition has no type or storage class
> atoms.gperf:9: error: parse error before 'ATOM'
> atoms.gperf:9: warning: data definition has no type or storage class
> atoms.gperf:10: error: parse error before 'BITMAP'
> atoms.gperf:10: warning: data definition has no type or storage class
> atoms.gperf:11: error: parse error before 'CARDINAL'
> atoms.gperf:11: warning: data definition has no type or storage class
> atoms.gperf:12: error: parse error before 'COLORMAP'
> atoms.gperf:12: warning: data definition has no type or storage class
> atoms.gperf:13: error: parse error before 'CURSOR'
> atoms.gperf:13: warning: data definition has no type or storage class
> atoms.gperf:14: error: parse error before 'CUT_BUFFER0'
> atoms.gperf:14: warning: data definition has no type or storage class
> atoms.gperf:15: error: parse error before 'CUT_BUFFER1'
> atoms.gperf:15: warning: data definition has no type or storage class
> atoms.gperf:16: error: parse error before 'CUT_BUFFER2'
> atoms.gperf:16: warning: data definition has no type or storage class
> atoms.gperf:17: error: parse error before 'CUT_BUFFER3'
> atoms.gperf:17: warning: data definition has no type or storage class
> atoms.gperf:18: error: parse error before 'CUT_BUFFER4'
> atoms.gperf:18: warning: data definition has no type or storage class
> atoms.gperf:19: error: parse error before 'CUT_BUFFER5'
> atoms.gperf:19: warning: data definition has no type or storage class
> atoms.gperf:20: error: parse error before 'CUT_BUFFER6'
> atoms.gperf:20: warning: data definition has no type or storage class
> atoms.gperf:21: error: parse error before 'CUT_BUFFER7'
> atoms.gperf:21: warning: data definition has no type or storage class
> atoms.gperf:22: error: parse error before 'DRAWABLE'
> atoms.gperf:22: warning: data definition has no type or storage class
> atoms.gperf:23: error: parse error before 'FONT'
> atoms.gperf:23: warning: data definition has no type or storage class
> atoms.gperf:24: error: parse error before 'INTEGER'
> atoms.gperf:24: warning: data definition has no type or storage class
> atoms.gperf:25: error: parse error before 'PIXMAP'
> atoms.gperf:25: warning: data definition has no type or storage class
> atoms.gperf:26: error: parse error before 'POINT'
> atoms.gperf:26: warning: data definition has no type or storage class
> atoms.gperf:27: error: parse error before 'RECTANGLE'
> atoms.gperf:27: warning: data definition has no type or storage class
> atoms.gperf:28: error: parse error before 'RESOURCE_MANAGER'
> atoms.gperf:28: warning: data definition has no type or storage class
> atoms.gperf:29: error: parse error before 'RGB_COLOR_MAP'
> atoms.gperf:29: warning: data definition has no type or storage class
> atoms.gperf:30: error: parse error before 'RGB_BEST_MAP'
> atoms.gperf:30: warning: data definition has no type or storage class
> atoms.gperf:31: error: parse error before 'RGB_BLUE_MAP'
> atoms.gperf:31: warning: data definition has no type or storage class
> atoms.gperf:32: error: parse error before 'RGB_DEFAULT_MAP'
> atoms.gperf:32: warning: data definition has no type or storage class
> atoms.gperf:33: error: parse error before 'RGB_GRAY_MAP'
> atoms.gperf:33: warning: data definition has no type or storage class
> atoms.gperf:34: error: parse error before 'RGB_GREEN_MAP'
> atoms.gperf:34: warning: data definition has no type or storage class
> atoms.gperf:35: error: parse error before 'RGB_RED_MAP'
> atoms.gperf:35: warning: data definition has no type or storage class
> atoms.gperf:36: error: parse error before 'STRING'
> atoms.gperf:36: warning: data definition has no type or storage class
> atoms.gperf:37: error: parse error before 'VISUALID'
> atoms.gperf:37: warning: data definition has no type or storage class
> atoms.gperf:38: error: parse error before 'WINDOW'
> atoms.gperf:38: warning: data definition has no type or storage class
> atoms.gperf:39: error: parse error before 'WM_COMMAND'
> atoms.gperf:39: warning: data definition has no type or storage class
> atoms.gperf:40: error: parse error before 'WM_HINTS'
> atoms.gperf:40: warning: data definition has no type or storage class
> atoms.gperf:41: error: parse error before 'WM_CLIENT_MACHINE'
> atoms.gperf:41: warning: data definition has no type or storage class
> atoms.gperf:42: error: parse error before 'WM_ICON_NAME'
> atoms.gperf:42: warning: data definition has no type or storage class
> atoms.gperf:43: error: parse error before 'WM_ICON_SIZE'
> atoms.gperf:43: warning: data definition has no type or storage class
> atoms.gperf:44: error: parse error before 'WM_NAME'
> atoms.gperf:44: warning: data definition has no type or storage class
> atoms.gperf:45: error: parse error before 'WM_NORMAL_HINTS'
> atoms.gperf:45: warning: data definition has no type or storage class
> atoms.gperf:46: error: parse error before 'WM_SIZE_HINTS'
> atoms.gperf:46: warning: data definition has no type or storage class
> atoms.gperf:47: error: parse error before 'WM_ZOOM_HINTS'
> atoms.gperf:47: warning: data definition has no type or storage class
> atoms.gperf:48: error: parse error before 'MIN_SPACE'
> atoms.gperf:48: warning: data definition has no type or storage class
> atoms.gperf:49: error: parse error before 'NORM_SPACE'
> atoms.gperf:49: warning: data definition has no type or storage class
> atoms.gperf:50: error: parse error before 'MAX_SPACE'
> atoms.gperf:50: warning: data definition has no type or storage class
> atoms.gperf:51: error: parse error before 'END_SPACE'
> atoms.gperf:51: warning: data definition has no type or storage class
> atoms.gperf:52: error: parse error before 'SUPERSCRIPT_X'
> atoms.gperf:52: warning: data definition has no type or storage class
> atoms.gperf:53: error: parse error before 'SUPERSCRIPT_Y'
> atoms.gperf:53: warning: data definition has no type or storage class
> atoms.gperf:54: error: parse error before 'SUBSCRIPT_X'
> atoms.gperf:54: warning: data definition has no type or storage class
> atoms.gperf:55: error: parse error before 'SUBSCRIPT_Y'
> atoms.gperf:55: warning: data definition has no type or storage class
> atoms.gperf:56: error: parse error before 'UNDERLINE_POSITION'
> atoms.gperf:56: warning: data definition has no type or storage class
> atoms.gperf:57: error: parse error before 'UNDERLINE_THICKNESS'
> atoms.gperf:57: warning: data definition has no type or storage class
> atoms.gperf:58: error: parse error before 'STRIKEOUT_ASCENT'
> atoms.gperf:58: warning: data definition has no type or storage class
> atoms.gperf:59: error: parse error before 'STRIKEOUT_DESCENT'
> atoms.gperf:59: warning: data definition has no type or storage class
> atoms.gperf:60: error: parse error before 'ITALIC_ANGLE'
> atoms.gperf:60: warning: data definition has no type or storage class
> atoms.gperf:61: error: parse error before 'X_HEIGHT'
> atoms.gperf:61: warning: data definition has no type or storage class
> atoms.gperf:62: error: parse error before 'QUAD_WIDTH'
> atoms.gperf:62: warning: data definition has no type or storage class
> atoms.gperf:63: error: parse error before 'WEIGHT'
> atoms.gperf:63: warning: data definition has no type or storage class
> atoms.gperf:64: error: parse error before 'POINT_SIZE'
> atoms.gperf:64: warning: data definition has no type or storage class
> atoms.gperf:65: error: parse error before 'RESOLUTION'
> atoms.gperf:65: warning: data definition has no type or storage class
> atoms.gperf:66: error: parse error before 'COPYRIGHT'
> atoms.gperf:66: warning: data definition has no type or storage class
> atoms.gperf:67: error: parse error before 'NOTICE'
> atoms.gperf:67: warning: data definition has no type or storage class
> atoms.gperf:68: error: parse error before 'FONT_NAME'
> atoms.gperf:68: warning: data definition has no type or storage class
> atoms.gperf:69: error: parse error before 'FAMILY_NAME'
> atoms.gperf:69: warning: data definition has no type or storage class
> atoms.gperf:70: error: parse error before 'FULL_NAME'
> atoms.gperf:70: warning: data definition has no type or storage class
> atoms.gperf:71: error: parse error before 'CAP_HEIGHT'
> atoms.gperf:71: warning: data definition has no type or storage class
> atoms.gperf:72: error: parse error before 'WM_CLASS'
> atoms.gperf:72: warning: data definition has no type or storage class
> atoms.gperf:73: error: parse error before 'WM_TRANSIENT_FOR'
> atoms.gperf:73: warning: data definition has no type or storage class
> atoms.gperf:84: error: parse error before 'XCBATOM'
> atoms.gperf:84: warning: no semicolon at end of struct or union
> atoms.gperf: In function 'in_word_set':
> atoms.gperf:310: error: array type has incomplete element type
> atoms.gperf: At top level:
> atoms.gperf:226: error: parse error before 'InternAtomPredefined'
> atoms.gperf:226: error: parse error before 'name_len'
> atoms.gperf: In function 'InternAtomPredefined':
> atoms.gperf:228: error: 'name' undeclared (first use in this function)
> atoms.gperf:228: error: (Each undeclared identifier is reported only once
> atoms.gperf:228: error: for each function it appears in.)
> atoms.gperf:228: error: 'name_len' undeclared (first use in this function)
> atoms.gperf:229: error: 'XCBATOM' undeclared (first use in this function)
> atoms.gperf:229: error: parse error before 'ret'
> atoms.gperf:231: error: 'ret' undeclared (first use in this function)
> atoms.gperf:231: error: dereferencing pointer to incomplete type
> atoms.gperf: At top level:
> atoms.gperf:235: error: parse error before 'InternAtomFast'
> atoms.gperf:235: error: parse error before '*' token
> atoms.gperf: In function 'InternAtomFast':
> atoms.gperf:237: error: parse error before 'cookie'
> atoms.gperf:239: error: 'cookie' undeclared (first use in this function)
> atoms.gperf:239: error: 'name_len' undeclared (first use in this function)
> atoms.gperf:239: error: 'name' undeclared (first use in this function)
> atoms.gperf:239: error: 'None' undeclared (first use in this function)
> atoms.gperf:246: error: 'c' undeclared (first use in this function)
> atoms.gperf:246: error: 'only_if_exists' undeclared (first use in this 
> function)
> atoms.gperf: At top level:
> atoms.gperf:250: error: parse error before 'InternAtomFastReply'
> atoms.gperf:250: error: parse error before '*' token
> atoms.gperf: In function 'InternAtomFastReply':
> atoms.gperf:252: error: 'cookie' undeclared (first use in this function)
> atoms.gperf:254: error: 'XCBInternAtomRep' undeclared (first use in this 
> function)
> atoms.gperf:254: error: 'reply' undeclared (first use in this function)
> atoms.gperf:256: error: 'e' undeclared (first use in this function)
> atoms.gperf:260: error: 'c' undeclared (first use in this function)
> atoms.gperf: At top level:
> atoms.gperf:273: error: parse error before 'atom'
> atoms.gperf: In function 'GetAtomNamePredefined':
> atoms.gperf:275: error: request for member 'xid' in something not a structure 
> or union
> atoms.gperf:275: error: request for member 'xid' in something not a structure 
> or union
> atoms.gperf:277: error: request for member 'xid' in something not a structure 
> or union
> atoms.gperf: At top level:
> atoms.gperf:280: error: parse error before '*' token
> atoms.gperf: In function 'GetAtomName':
> atoms.gperf:285: error: 'XCBGetAtomNameCookie' undeclared (first use in this 
> function)
> atoms.gperf:285: error: parse error before 'atomc'
> atoms.gperf:286: error: 'XCBGetAtomNameRep' undeclared (first use in this 
> function)
> atoms.gperf:286: error: 'atomr' undeclared (first use in this function)
> atoms.gperf:289: error: 'namep' undeclared (first use in this function)
> atoms.gperf:290: error: 'lengthp' undeclared (first use in this function)
> atoms.gperf:293: error: 'atomc' undeclared (first use in this function)
> atoms.gperf:293: error: 'c' undeclared (first use in this function)
> atoms.gperf:301: warning: passing argument 2 of 'memcpy' makes pointer from 
> integer without a cast
> make[2]: *** [libXCBAtom_la-atoms.lo] Error 1
> make[1]: *** [all] Error 2
> make: *** [all-recursive] Error 1
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb
>
> -- 
> Ce message a été vérifié par MailScanner
> pour des virus ou des polluriels et rien de
> suspect n'a été trouvé.
> Message délivré par le serveur de messagerie de l'Université d'Evry.
>
>


More information about the Xcb mailing list