LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 676|回复: 1

libgdome2-dev里的例子编译起来一大堆错误

[复制链接]
发表于 2007-2-26 22:48:03 | 显示全部楼层 |阅读模式
libgdome2-0 (version 0.8.1-1)
libgdome2-dev (version 0.8.1-1)
libxml2-dev (version 2.6.27.dfsg-1)

gcc /usr/share/doc/libgdome2-dev/examples/examplea.c -I/usr/include/libgdome -I/usr/include/glib-2.0 -lgdome -lglib-2.0 -o a.out
下面是一部分错误,大家能看出什么原因?

  1. /usr/include/glib-2.0/glib/gmessages.h:208: error: expected declaration specifiers before ‘GPrintFunc’
  2. /usr/include/glib-2.0/glib/gmessages.h:209: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
  3. /usr/include/glib-2.0/glib/gmessages.h:211: error: expected declaration specifiers before ‘GPrintFunc’
  4. In file included from /usr/include/glib-2.0/glib.h:56,
  5.                  from /usr/include/libgdome/gdome.h:27,
  6.                  from /usr/share/doc/libgdome2-dev/examples/examplea.c:22:
  7. /usr/include/glib-2.0/glib/gnode.h:34: error: storage class specified for parameter ‘GNode’
  8. /usr/include/glib-2.0/glib/gnode.h:45: error: storage class specified for parameter ‘GTraverseFlags’
  9. /usr/include/glib-2.0/glib/gnode.h:54: error: storage class specified for parameter ‘GTraverseType’
  10. /usr/include/glib-2.0/glib/gnode.h:56: error: expected ‘)’ before ‘*’ token
  11. /usr/include/glib-2.0/glib/gnode.h:58: error: expected ‘)’ before ‘*’ token
  12. /usr/include/glib-2.0/glib/gnode.h:61: error: storage class specified for parameter ‘GCopyFunc’
  13. /usr/include/glib-2.0/glib/gnode.h:68: error: expected specifier-qualifier-list before ‘GNode’
  14. /usr/include/glib-2.0/glib/gnode.h:72: warning: empty declaration
  15. /usr/include/glib-2.0/glib/gnode.h:79: error: expected declaration specifiers before ‘GNode’
  16. /usr/include/glib-2.0/glib/gnode.h:80: error: expected ‘)’ before ‘*’ token
  17. /usr/include/glib-2.0/glib/gnode.h:81: error: expected ‘)’ before ‘*’ token
  18. /usr/include/glib-2.0/glib/gnode.h:82: error: expected declaration specifiers before ‘GNode’
  19. /usr/include/glib-2.0/glib/gnode.h:85: error: expected declaration specifiers before ‘GNode’
  20. /usr/include/glib-2.0/glib/gnode.h:86: error: expected declaration specifiers before ‘GNode’
  21. /usr/include/glib-2.0/glib/gnode.h:89: error: expected declaration specifiers before ‘GNode’
  22. /usr/include/glib-2.0/glib/gnode.h:92: error: expected declaration specifiers before ‘GNode’
  23. /usr/include/glib-2.0/glib/gnode.h:95: error: expected declaration specifiers before ‘GNode’
  24. /usr/include/glib-2.0/glib/gnode.h:97: error: expected ‘)’ before ‘*’ token
  25. /usr/include/glib-2.0/glib/gnode.h:99: error: expected declaration specifiers before ‘GNode’
  26. /usr/include/glib-2.0/glib/gnode.h:100: error: expected ‘)’ before ‘*’ token
  27. /usr/include/glib-2.0/glib/gnode.h:102: error: expected ‘)’ before ‘*’ token
  28. /usr/include/glib-2.0/glib/gnode.h:103: error: expected declaration specifiers before ‘GNode’
  29. /usr/include/glib-2.0/glib/gnode.h:125: error: expected ‘)’ before ‘*’ token
  30. /usr/include/glib-2.0/glib/gnode.h:137: error: expected ‘)’ before ‘*’ token
  31. /usr/include/glib-2.0/glib/gnode.h:139: error: expected ‘)’ before ‘*’ token
  32. /usr/include/glib-2.0/glib/gnode.h:143: error: expected ‘)’ before ‘*’ token
  33. /usr/include/glib-2.0/glib/gnode.h:144: error: expected ‘)’ before ‘*’ token
  34. /usr/include/glib-2.0/glib/gnode.h:145: error: expected declaration specifiers before ‘GNode’
  35. /usr/include/glib-2.0/glib/gnode.h:147: error: expected declaration specifiers before ‘GNode’
  36. /usr/include/glib-2.0/glib/gnode.h:148: error: expected declaration specifiers before ‘GNode’
  37. /usr/include/glib-2.0/glib/gnode.h:151: error: expected ‘)’ before ‘*’ token
  38. /usr/include/glib-2.0/glib/gnode.h:153: error: expected ‘)’ before ‘*’ token
  39. /usr/include/glib-2.0/glib/gnode.h:156: error: expected declaration specifiers before ‘GNode’
  40. /usr/include/glib-2.0/glib/gnode.h:157: error: expected declaration specifiers before ‘GNode’
  41. In file included from /usr/include/glib-2.0/glib.h:57,
  42.                  from /usr/include/libgdome/gdome.h:27,
  43.                  from /usr/share/doc/libgdome2-dev/examples/examplea.c:22:
  44. /usr/include/glib-2.0/glib/goption.h:29: error: storage class specified for parameter ‘GOptionContext’
  45. /usr/include/glib-2.0/glib/goption.h:30: error: storage class specified for parameter ‘GOptionGroup’
  46. /usr/include/glib-2.0/glib/goption.h:31: error: storage class specified for parameter ‘GOptionEntry’
  47. /usr/include/glib-2.0/glib/goption.h:42: error: storage class specified for parameter ‘GOptionFlags’
  48. /usr/include/glib-2.0/glib/goption.h:55: error: storage class specified for parameter ‘GOptionArg’
  49. /usr/include/glib-2.0/glib/goption.h:57: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
  50. /usr/include/glib-2.0/glib/goption.h:62: error: expected ‘)’ before ‘*’ token
  51. /usr/include/glib-2.0/glib/goption.h:67: error: expected ‘)’ before ‘*’ token
  52. /usr/include/glib-2.0/glib/goption.h:79: error: storage class specified for parameter ‘GOptionError’
  53. /usr/include/glib-2.0/glib/goption.h:81: error: expected declaration specifiers before ‘GQuark’
  54. /usr/include/glib-2.0/glib/goption.h:86: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token
  55. /usr/include/glib-2.0/glib/goption.h:95: warning: empty declaration
  56. /usr/include/glib-2.0/glib/goption.h:99: error: expected declaration specifiers before ‘GOptionContext’
  57. /usr/include/glib-2.0/glib/goption.h:100: error: expected ‘)’ before ‘*’ token
  58. /usr/include/glib-2.0/glib/goption.h:102: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  59. /usr/include/glib-2.0/glib/goption.h:103: error: expected ‘)’ before ‘*’ token
  60. /usr/include/glib-2.0/glib/goption.h:105: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  61. /usr/include/glib-2.0/glib/goption.h:106: error: expected ‘)’ before ‘*’ token
  62. /usr/include/glib-2.0/glib/goption.h:107: error: expected ‘)’ before ‘*’ token
  63. /usr/include/glib-2.0/glib/goption.h:109: error: expected ‘)’ before ‘*’ token
  64. /usr/include/glib-2.0/glib/goption.h:110: error: expected ‘)’ before ‘*’ token
  65. /usr/include/glib-2.0/glib/goption.h:112: error: expected ‘)’ before ‘*’ token
  66. /usr/include/glib-2.0/glib/goption.h:114: error: expected ‘)’ before ‘*’ token
  67. /usr/include/glib-2.0/glib/goption.h:117: error: expected ‘)’ before ‘*’ token
  68. /usr/include/glib-2.0/glib/goption.h:121: error: expected ‘)’ before ‘*’ token
  69. /usr/include/glib-2.0/glib/goption.h:125: error: expected ‘)’ before ‘*’ token
  70. /usr/include/glib-2.0/glib/goption.h:128: error: expected ‘)’ before ‘*’ token
  71. /usr/include/glib-2.0/glib/goption.h:130: error: expected ‘)’ before ‘*’ token
  72. /usr/include/glib-2.0/glib/goption.h:132: error: expected declaration specifiers before ‘GOptionGroup’
  73. /usr/include/glib-2.0/glib/goption.h:135: error: expected declaration specifiers before ‘GOptionGroup’
  74. /usr/include/glib-2.0/glib/goption.h:140: error: expected ‘)’ before ‘*’ token
  75. /usr/include/glib-2.0/glib/goption.h:143: error: expected ‘)’ before ‘*’ token
  76. /usr/include/glib-2.0/glib/goption.h:145: error: expected ‘)’ before ‘*’ token
  77. /usr/include/glib-2.0/glib/goption.h:146: error: expected ‘)’ before ‘*’ token
  78. /usr/include/glib-2.0/glib/goption.h:148: error: expected ‘)’ before ‘*’ token
  79. /usr/include/glib-2.0/glib/goption.h:152: error: expected ‘)’ before ‘*’ token
  80. In file included from /usr/include/glib-2.0/glib.h:58,
  81.                  from /usr/include/libgdome/gdome.h:27,
  82.                  from /usr/share/doc/libgdome2-dev/examples/examplea.c:22:
  83. /usr/include/glib-2.0/glib/gpattern.h:27: error: storage class specified for parameter ‘GPatternSpec’
  84. /usr/include/glib-2.0/glib/gpattern.h:29: error: expected declaration specifiers before ‘GPatternSpec’
  85. /usr/include/glib-2.0/glib/gpattern.h:30: error: expected ‘)’ before ‘*’ token
  86. /usr/include/glib-2.0/glib/gpattern.h:31: error: expected ‘)’ before ‘*’ token
  87. /usr/include/glib-2.0/glib/gpattern.h:33: error: expected ‘)’ before ‘*’ token
  88. /usr/include/glib-2.0/glib/gpattern.h:37: error: expected ‘)’ before ‘*’ token
  89. /usr/include/glib-2.0/glib/gpattern.h:39: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
  90. In file included from /usr/include/glib-2.0/glib.h:60,
  91.                  from /usr/include/libgdome/gdome.h:27,
  92.                  from /usr/share/doc/libgdome2-dev/examples/examplea.c:22:
  93. /usr/include/glib-2.0/glib/gqsort.h:37: error: expected declaration specifiers or ‘...’ before ‘gsize’
  94. In file included from /usr/include/glib-2.0/glib.h:62,
  95.                  from /usr/include/libgdome/gdome.h:27,
  96.                  from /usr/share/doc/libgdome2-dev/examples/examplea.c:22:
  97. /usr/include/glib-2.0/glib/gqueue.h:34: error: storage class specified for parameter ‘GQueue’
  98. /usr/include/glib-2.0/glib/gqueue.h:38: error: expected specifier-qualifier-list before ‘GList’
  99. /usr/include/glib-2.0/glib/gqueue.h:41: warning: empty declaration
  100. /usr/include/glib-2.0/glib/gqueue.h:45: error: expected declaration specifiers before ‘GQueue’
  101. /usr/include/glib-2.0/glib/gqueue.h:46: error: expected ‘)’ before ‘*’ token
  102. /usr/include/glib-2.0/glib/gqueue.h:47: error: expected ‘)’ before ‘*’ token
  103. /usr/include/glib-2.0/glib/gqueue.h:48: error: expected ‘)’ before ‘*’ token
  104. /usr/include/glib-2.0/glib/gqueue.h:49: error: expected ‘)’ before ‘*’ token
  105. /usr/include/glib-2.0/glib/gqueue.h:50: error: expected declaration specifiers before ‘GQueue’
  106. /usr/include/glib-2.0/glib/gqueue.h:51: error: expected ‘)’ before ‘*’ token
  107. /usr/include/glib-2.0/glib/gqueue.h:54: error: expected declaration specifiers before ‘GList’
  108. /usr/include/glib-2.0/glib/gqueue.h:56: error: expected declaration specifiers before ‘GList’
  109. /usr/include/glib-2.0/glib/gqueue.h:59: error: expected ‘)’ before ‘*’ token
  110. /usr/include/glib-2.0/glib/gqueue.h:63: error: expected ‘)’ before ‘*’ token
  111. /usr/include/glib-2.0/glib/gqueue.h:65: error: expected ‘)’ before ‘*’ token
  112. /usr/include/glib-2.0/glib/gqueue.h:67: error: expected ‘)’ before ‘*’ token
  113. /usr/include/glib-2.0/glib/gqueue.h:70: error: expected ‘)’ before ‘*’ token
  114. /usr/include/glib-2.0/glib/gqueue.h:71: error: expected ‘)’ before ‘*’ token
  115. /usr/include/glib-2.0/glib/gqueue.h:72: error: expected ‘)’ before ‘*’ token
  116. /usr/include/glib-2.0/glib/gqueue.h:74: error: expected ‘)’ before ‘*’ token
  117. /usr/include/glib-2.0/glib/gqueue.h:75: error: expected ‘)’ before ‘*’ token
  118. /usr/include/glib-2.0/glib/gqueue.h:76: error: expected ‘)’ before ‘*’ token
  119. /usr/include/glib-2.0/glib/gqueue.h:78: error: expected ‘)’ before ‘*’ token
  120. /usr/include/glib-2.0/glib/gqueue.h:80: error: expected ‘)’ before ‘*’ token
  121. /usr/include/glib-2.0/glib/gqueue.h:82: error: expected ‘)’ before ‘*’ token
  122. /usr/include/glib-2.0/glib/gqueue.h:84: error: expected ‘)’ before ‘*’ token
  123. /usr/include/glib-2.0/glib/gqueue.h:87: error: expected ‘)’ before ‘*’ token
  124. /usr/include/glib-2.0/glib/gqueue.h:90: error: expected ‘)’ before ‘*’ token
  125. /usr/include/glib-2.0/glib/gqueue.h:95: error: expected ‘)’ before ‘*’ token
  126. /usr/include/glib-2.0/glib/gqueue.h:97: error: expected ‘)’ before ‘*’ token
  127. /usr/include/glib-2.0/glib/gqueue.h:99: error: expected ‘)’ before ‘*’ token
  128. /usr/include/glib-2.0/glib/gqueue.h:102: error: expected declaration specifiers before ‘GList’
  129. /usr/include/glib-2.0/glib/gqueue.h:103: error: expected declaration specifiers before ‘GList’
  130. /usr/include/glib-2.0/glib/gqueue.h:104: error: expected declaration specifiers before ‘GList’
  131. /usr/include/glib-2.0/glib/gqueue.h:106: error: expected declaration specifiers before ‘GList’
  132. /usr/include/glib-2.0/glib/gqueue.h:107: error: expected declaration specifiers before ‘GList’
  133. /usr/include/glib-2.0/glib/gqueue.h:108: error: expected declaration specifiers before ‘GList’
  134. /usr/include/glib-2.0/glib/gqueue.h:110: error: expected ‘)’ before ‘*’ token
  135. /usr/include/glib-2.0/glib/gqueue.h:112: error: expected ‘)’ before ‘*’ token
  136. /usr/include/glib-2.0/glib/gqueue.h:114: error: expected ‘)’ before ‘*’ token
  137. In file included from /usr/include/glib-2.0/glib.h:63,
  138.                  from /usr/include/libgdome/gdome.h:27,
  139.                  from /usr/share/doc/libgdome2-dev/examples/examplea.c:22:
  140. /usr/include/glib-2.0/glib/grand.h:34: error: storage class specified for parameter ‘GRand’
  141. /usr/include/glib-2.0/glib/grand.h:45: error: expected declaration specifiers before ‘GRand’
  142. /usr/include/glib-2.0/glib/grand.h:46: error: expected declaration specifiers before ‘GRand’
  143. /usr/include/glib-2.0/glib/grand.h:48: error: expected declaration specifiers before ‘GRand’
  144. /usr/include/glib-2.0/glib/grand.h:49: error: expected ‘)’ before ‘*’ token
  145. /usr/include/glib-2.0/glib/grand.h:50: error: expected declaration specifiers before ‘GRand’
  146. /usr/include/glib-2.0/glib/grand.h:51: error: expected ‘)’ before ‘*’ token
  147. /usr/include/glib-2.0/glib/grand.h:53: error: expected ‘)’ before ‘*’ token
  148. /usr/include/glib-2.0/glib/grand.h:59: error: expected declaration specifiers before ‘guint32’
  149. /usr/include/glib-2.0/glib/grand.h:60: error: expected declaration specifiers before ‘gint32’
  150. /usr/include/glib-2.0/glib/grand.h:63: error: expected ‘)’ before ‘*’ token
  151. /usr/include/glib-2.0/glib/grand.h:64: error: expected ‘)’ before ‘*’ token
  152. /usr/include/glib-2.0/glib/grand.h:67: error: expected ‘)’ before ‘seed’
  153. /usr/include/glib-2.0/glib/grand.h:71: error: expected declaration specifiers before ‘guint32’
  154. /usr/include/glib-2.0/glib/grand.h:72: error: expected declaration specifiers before ‘gint32’
  155. In file included from /usr/include/glib-2.0/glib.h:64,
  156.                  from /usr/include/libgdome/gdome.h:27,
  157.                  from /usr/share/doc/libgdome2-dev/examples/examplea.c:22:
  158. /usr/include/glib-2.0/glib/grel.h:34: error: storage class specified for parameter ‘GRelation’
  159. /usr/include/glib-2.0/glib/grel.h:35: error: storage class specified for parameter ‘GTuples’
  160. /usr/include/glib-2.0/glib/grel.h:40: warning: empty declaration
  161. /usr/include/glib-2.0/glib/grel.h:65: error: expected declaration specifiers before ‘GRelation’
  162. /usr/include/glib-2.0/glib/grel.h:66: error: expected ‘)’ before ‘*’ token
  163. /usr/include/glib-2.0/glib/grel.h:67: error: expected ‘)’ before ‘*’ token
  164. /usr/include/glib-2.0/glib/grel.h:71: error: expected ‘)’ before ‘*’ token
  165. /usr/include/glib-2.0/glib/grel.h:73: error: expected ‘)’ before ‘*’ token
  166. /usr/include/glib-2.0/glib/grel.h:76: error: expected declaration specifiers before ‘GTuples’
  167. /usr/include/glib-2.0/glib/grel.h:79: error: expected ‘)’ before ‘*’ token
  168. /usr/include/glib-2.0/glib/grel.h:82: error: expected ‘)’ before ‘*’ token
  169. /usr/include/glib-2.0/glib/grel.h:84: error: expected ‘)’ before ‘*’ token
  170. /usr/include/glib-2.0/glib/grel.h:86: error: expected ‘)’ before ‘*’ token
  171. /usr/include/glib-2.0/glib/grel.h:87: error: expected ‘)’ before ‘*’ token
  172. In file included from /usr/include/glib-2.0/glib.h:65,
  173.                  from /usr/include/libgdome/gdome.h:27,
  174.                  from /usr/share/doc/libgdome2-dev/examples/examplea.c:22:
  175. /usr/include/glib-2.0/glib/gscanner.h:35: error: storage class specified for parameter ‘GScanner’
  176. /usr/include/glib-2.0/glib/gscanner.h:36: error: storage class specified for parameter ‘GScannerConfig’
  177. /usr/include/glib-2.0/glib/gscanner.h:37: error: storage class specified for parameter ‘GTokenValue’
  178. /usr/include/glib-2.0/glib/gscanner.h:39: error: expected ‘)’ before ‘*’ token
  179. /usr/include/glib-2.0/glib/gscanner.h:70: error: storage class specified for parameter ‘GErrorType’
  180. /usr/include/glib-2.0/glib/gscanner.h:105: error: storage class specified for parameter ‘GTokenType’
  181. /usr/include/glib-2.0/glib/gscanner.h:110: error: expected specifier-qualifier-list before ‘gchar’
  182. /usr/include/glib-2.0/glib/gscanner.h:121: warning: empty declaration
  183. /usr/include/glib-2.0/glib/gscanner.h:127: error: expected specifier-qualifier-list before ‘gchar’
  184. /usr/include/glib-2.0/glib/gscanner.h:161: warning: empty declaration
  185. /usr/include/glib-2.0/glib/gscanner.h:173: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token
  186. /usr/include/glib-2.0/glib/gscanner.h:203: warning: empty declaration
  187. /usr/include/glib-2.0/glib/gscanner.h:205: error: expected declaration specifiers before ‘GScanner’
  188. /usr/include/glib-2.0/glib/gscanner.h:206: error: expected ‘)’ before ‘*’ token
  189. /usr/include/glib-2.0/glib/gscanner.h:207: error: expected ‘)’ before ‘*’ token
  190. /usr/include/glib-2.0/glib/gscanner.h:209: error: expected ‘)’ before ‘*’ token
  191. /usr/include/glib-2.0/glib/gscanner.h:210: error: expected ‘)’ before ‘*’ token
  192. /usr/include/glib-2.0/glib/gscanner.h:213: error: expected declaration specifiers before ‘GTokenType’
  193. /usr/include/glib-2.0/glib/gscanner.h:214: error: expected declaration specifiers before ‘GTokenType’
  194. /usr/include/glib-2.0/glib/gscanner.h:215: error: expected declaration specifiers before ‘GTokenType’
  195. /usr/include/glib-2.0/glib/gscanner.h:216: error: expected declaration specifiers before ‘GTokenValue’
  196. /usr/include/glib-2.0/glib/gscanner.h:217: error: expected ‘)’ before ‘*’ token
  197. /usr/include/glib-2.0/glib/gscanner.h:218: error: expected ‘)’ before ‘*’ token
  198. /usr/include/glib-2.0/glib/gscanner.h:219: error: expected ‘)’ before ‘*’ token
  199. /usr/include/glib-2.0/glib/gscanner.h:220: error: expected ‘)’ before ‘*’ token
  200. /usr/include/glib-2.0/glib/gscanner.h:222: error: expected ‘)’ before ‘*’ token
  201. /usr/include/glib-2.0/glib/gscanner.h:226: error: expected ‘)’ before ‘*’ token
  202. /usr/include/glib-2.0/glib/gscanner.h:229: error: expected ‘)’ before ‘*’ token
  203. /usr/include/glib-2.0/glib/gscanner.h:232: error: expected ‘)’ before ‘*’ token
  204. /usr/include/glib-2.0/glib/gscanner.h:236: error: expected ‘)’ before ‘*’ token
  205. /usr/include/glib-2.0/glib/gscanner.h:238: error: expected ‘)’ before ‘*’ token
  206. /usr/include/glib-2.0/glib/gscanner.h:245: error: expected ‘)’ before ‘*’ token
  207. /usr/include/glib-2.0/glib/gscanner.h:248: error: expected ‘)’ before ‘*’ token
  208. In file included from /usr/include/glib-2.0/glib.h:66,
  209.                  from /usr/include/libgdome/gdome.h:27,
  210.                  from /usr/share/doc/libgdome2-dev/examples/examplea.c:22:
  211. /usr/include/glib-2.0/glib/gshell.h:37: error: storage class specified for parameter ‘GShellError’
  212. /usr/include/glib-2.0/glib/gshell.h:39: error: expected declaration specifiers before ‘GQuark’
  213. /usr/include/glib-2.0/glib/gshell.h:41: error: expected declaration specifiers before ‘gchar’
  214. /usr/include/glib-2.0/glib/gshell.h:42: error: expected declaration specifiers before ‘gchar’
  215. /usr/include/glib-2.0/glib/gshell.h:44: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
  216. In file included from /usr/include/glib-2.0/glib.h:68,
  217.                  from /usr/include/libgdome/gdome.h:27,
  218.                  from /usr/share/doc/libgdome2-dev/examples/examplea.c:22:
  219. /usr/include/glib-2.0/glib/gspawn.h:55: error: storage class specified for parameter ‘GSpawnError’
  220. /usr/include/glib-2.0/glib/gspawn.h:57: error: storage class specified for parameter ‘GSpawnChildSetupFunc’
  221. /usr/include/glib-2.0/glib/gspawn.h:70: error: storage class specified for parameter ‘GSpawnFlags’
  222. /usr/include/glib-2.0/glib/gspawn.h:72: error: expected declaration specifiers before ‘GQuark’
  223. /usr/include/glib-2.0/glib/gspawn.h:82: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
  224. /usr/include/glib-2.0/glib/gspawn.h:95: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
  225. /usr/include/glib-2.0/glib/gspawn.h:112: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
  226. /usr/include/glib-2.0/glib/gspawn.h:123: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
  227. /usr/include/glib-2.0/glib/gspawn.h:128: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
  228. /usr/include/glib-2.0/glib/gspawn.h:131: error: expected ‘)’ before ‘pid’
  229. In file included from /usr/include/glib-2.0/glib.h:69,
  230.                  from /usr/include/libgdome/gdome.h:27,
  231.                  from /usr/share/doc/libgdome2-dev/examples/examplea.c:22:
  232. /usr/include/glib-2.0/glib/gstrfuncs.h:48: error: storage class specified for parameter ‘GAsciiType’
  233. /usr/include/glib-2.0/glib/gstrfuncs.h:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  234. /usr/include/glib-2.0/glib/gstrfuncs.h:85: error: expected declaration specifiers before ‘gchar’
  235. /usr/include/glib-2.0/glib/gstrfuncs.h:86: error: expected declaration specifiers before ‘gchar’
  236. /usr/include/glib-2.0/glib/gstrfuncs.h:88: error: expected ‘)’ before ‘c’
  237. /usr/include/glib-2.0/glib/gstrfuncs.h:89: error: expected ‘)’ before ‘c’
  238. /usr/include/glib-2.0/glib/gstrfuncs.h:95: error: expected declaration specifiers before ‘gchar’
  239. /usr/include/glib-2.0/glib/gstrfuncs.h:98: error: expected declaration specifiers before ‘gchar’
  240. /usr/include/glib-2.0/glib/gstrfuncs.h:101: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  241. /usr/include/glib-2.0/glib/gstrfuncs.h:102: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  242. /usr/include/glib-2.0/glib/gstrfuncs.h:103: error: expected declaration specifiers before ‘gchar’
  243. /usr/include/glib-2.0/glib/gstrfuncs.h:104: error: expected declaration specifiers before ‘gsize’
  244. /usr/include/glib-2.0/glib/gstrfuncs.h:107: error: expected declaration specifiers before ‘gsize’
  245. /usr/include/glib-2.0/glib/gstrfuncs.h:110: error: expected declaration specifiers before ‘gchar’
  246. /usr/include/glib-2.0/glib/gstrfuncs.h:113: error: expected declaration specifiers before ‘gchar’
  247. /usr/include/glib-2.0/glib/gstrfuncs.h:115: error: expected declaration specifiers before ‘gchar’
  248. /usr/include/glib-2.0/glib/gstrfuncs.h:119: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
  249. /usr/include/glib-2.0/glib/gstrfuncs.h:121: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
  250. /usr/include/glib-2.0/glib/gstrfuncs.h:126: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
  251. /usr/include/glib-2.0/glib/gstrfuncs.h:128: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
  252. /usr/include/glib-2.0/glib/gstrfuncs.h:130: error: expected declaration specifiers before ‘guint64’
  253. /usr/include/glib-2.0/glib/gstrfuncs.h:133: error: expected declaration specifiers before ‘gint64’
  254. /usr/include/glib-2.0/glib/gstrfuncs.h:140: error: expected declaration specifiers before ‘gchar’
  255. /usr/include/glib-2.0/glib/gstrfuncs.h:143: error: expected declaration specifiers before ‘gchar’
  256. /usr/include/glib-2.0/glib/gstrfuncs.h:149: error: expected declaration specifiers before ‘gchar’
  257. /usr/include/glib-2.0/glib/gstrfuncs.h:151: error: expected declaration specifiers before ‘gchar’
  258. /usr/include/glib-2.0/glib/gstrfuncs.h:155: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
  259. /usr/include/glib-2.0/glib/gstrfuncs.h:157: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
  260. /usr/include/glib-2.0/glib/gstrfuncs.h:160: error: expected declaration specifiers before ‘gchar’
  261. /usr/include/glib-2.0/glib/gstrfuncs.h:162: error: expected declaration specifiers before ‘gchar’
  262. /usr/include/glib-2.0/glib/gstrfuncs.h:172: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
  263. /usr/include/glib-2.0/glib/gstrfuncs.h:174: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
  264. /usr/include/glib-2.0/glib/gstrfuncs.h:177: error: expected declaration specifiers before ‘gchar’
  265. /usr/include/glib-2.0/glib/gstrfuncs.h:178: error: expected declaration specifiers before ‘gchar’
  266. /usr/include/glib-2.0/glib/gstrfuncs.h:185: error: expected declaration specifiers before ‘gchar’
  267. /usr/include/glib-2.0/glib/gstrfuncs.h:186: error: expected declaration specifiers before ‘gchar’
  268. /usr/include/glib-2.0/glib/gstrfuncs.h:188: error: expected declaration specifiers before ‘gchar’
  269. /usr/include/glib-2.0/glib/gstrfuncs.h:190: error: expected declaration specifiers before ‘gchar’
  270. /usr/include/glib-2.0/glib/gstrfuncs.h:192: error: expected declaration specifiers before ‘gchar’
  271. /usr/include/glib-2.0/glib/gstrfuncs.h:194: error: expected declaration specifiers before ‘gchar’
  272. /usr/include/glib-2.0/glib/gstrfuncs.h:196: error: expected declaration specifiers before ‘gchar’
  273. /usr/include/glib-2.0/glib/gstrfuncs.h:203: error: expected declaration specifiers before ‘gchar’
  274. /usr/include/glib-2.0/glib/gstrfuncs.h:213: error: expected declaration specifiers before ‘gchar’
  275. /usr/include/glib-2.0/glib/gstrfuncs.h:217: warning: ‘__malloc__’ attribute ignored
  276. /usr/include/glib-2.0/glib/gstrfuncs.h:228: error: expected declaration specifiers before ‘gchar’
  277. /usr/include/glib-2.0/glib/gstrfuncs.h:231: error: expected declaration specifiers before ‘gchar’
  278. /usr/include/glib-2.0/glib/gstrfuncs.h:234: error: expected declaration specifiers before ‘gchar’
  279. /usr/include/glib-2.0/glib/gstrfuncs.h:236: error: expected ‘)’ before ‘*’ token
  280. /usr/include/glib-2.0/glib/gstrfuncs.h:237: error: expected declaration specifiers before ‘gchar’
  281. /usr/include/glib-2.0/glib/gstrfuncs.h:238: error: expected ‘)’ before ‘*’ token
  282. /usr/include/glib-2.0/glib/gstrfuncs.h:240: error: expected declaration specifiers before ‘gchar’
  283. /usr/include/glib-2.0/glib/gstrfuncs.h:243: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  284. In file included from /usr/include/glib-2.0/glib.h:72,
  285.                  from /usr/include/libgdome/gdome.h:27,
  286.                  from /usr/share/doc/libgdome2-dev/examples/examplea.c:22:
  287. /usr/include/glib-2.0/glib/gthreadpool.h:34: error: storage class specified for parameter ‘GThreadPool’
  288. /usr/include/glib-2.0/glib/gthreadpool.h:46: warning: empty declaration
  289. /usr/include/glib-2.0/glib/gthreadpool.h:53: error: expected declaration specifiers before ‘GThreadPool’
  290. /usr/include/glib-2.0/glib/gthreadpool.h:63: error: expected ‘)’ before ‘*’ token
  291. /usr/include/glib-2.0/glib/gthreadpool.h:70: error: expected ‘)’ before ‘*’ token
  292. /usr/include/glib-2.0/glib/gthreadpool.h:73: error: expected ‘)’ before ‘*’ token
  293. /usr/include/glib-2.0/glib/gthreadpool.h:77: error: expected ‘)’ before ‘*’ token
  294. /usr/include/glib-2.0/glib/gthreadpool.h:80: error: expected ‘)’ before ‘*’ token
  295. /usr/include/glib-2.0/glib/gthreadpool.h:86: error: expected ‘)’ before ‘*’ token
  296. /usr/include/glib-2.0/glib/gthreadpool.h:100: error: expected ‘)’ before ‘*’ token
  297. In file included from /usr/include/glib-2.0/glib.h:73,
  298.                  from /usr/include/libgdome/gdome.h:27,
  299.                  from /usr/share/doc/libgdome2-dev/examples/examplea.c:22:
  300. /usr/include/glib-2.0/glib/gtimer.h:38: error: storage class specified for parameter ‘GTimer’
  301. /usr/include/glib-2.0/glib/gtimer.h:42: error: expected declaration specifiers before ‘GTimer’
  302. /usr/include/glib-2.0/glib/gtimer.h:43: error: expected ‘)’ before ‘*’ token
  303. /usr/include/glib-2.0/glib/gtimer.h:44: error: expected ‘)’ before ‘*’ token
  304. /usr/include/glib-2.0/glib/gtimer.h:45: error: expected ‘)’ before ‘*’ token
  305. /usr/include/glib-2.0/glib/gtimer.h:46: error: expected ‘)’ before ‘*’ token
  306. /usr/include/glib-2.0/glib/gtimer.h:47: error: expected ‘)’ before ‘*’ token
  307. /usr/include/glib-2.0/glib/gtimer.h:48: error: expected ‘)’ before ‘*’ token
  308. /usr/include/glib-2.0/glib/gtimer.h:55: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
  309. /usr/include/glib-2.0/glib/gtimer.h:57: error: expected declaration specifiers before ‘gchar’
  310. In file included from /usr/include/glib-2.0/glib.h:74,
  311.                  from /usr/include/libgdome/gdome.h:27,
  312.                  from /usr/share/doc/libgdome2-dev/examples/examplea.c:22:
  313. /usr/include/glib-2.0/glib/gtree.h:34: error: storage class specified for parameter ‘GTree’
  314. /usr/include/glib-2.0/glib/gtree.h:38: error: storage class specified for parameter ‘GTraverseFunc’
  315. /usr/include/glib-2.0/glib/gtree.h:42: error: expected declaration specifiers before ‘GTree’
  316. /usr/include/glib-2.0/glib/gtree.h:43: error: expected declaration specifiers before ‘GTree’
  317. /usr/include/glib-2.0/glib/gtree.h:45: error: expected declaration specifiers before ‘GTree’
  318. /usr/include/glib-2.0/glib/gtree.h:49: error: expected ‘)’ before ‘*’ token
  319. /usr/include/glib-2.0/glib/gtree.h:50: error: expected ‘)’ before ‘*’ token
  320. /usr/include/glib-2.0/glib/gtree.h:53: error: expected ‘)’ before ‘*’ token
  321. /usr/include/glib-2.0/glib/gtree.h:56: error: expected ‘)’ before ‘*’ token
  322. /usr/include/glib-2.0/glib/gtree.h:58: error: expected ‘)’ before ‘*’ token
  323. /usr/include/glib-2.0/glib/gtree.h:60: error: expected ‘)’ before ‘*’ token
  324. /usr/include/glib-2.0/glib/gtree.h:62: error: expected ‘)’ before ‘*’ token
  325. /usr/include/glib-2.0/glib/gtree.h:66: error: expected ‘)’ before ‘*’ token
  326. /usr/include/glib-2.0/glib/gtree.h:71: error: expected ‘)’ before ‘*’ token
  327. /usr/include/glib-2.0/glib/gtree.h:77: error: expected ‘)’ before ‘*’ token
  328. /usr/include/glib-2.0/glib/gtree.h:80: error: expected ‘)’ before ‘*’ token
  329. /usr/include/glib-2.0/glib/gtree.h:81: error: expected ‘)’ before ‘*’ token
  330. In file included from /usr/share/doc/libgdome2-dev/examples/examplea.c:22:
  331. /usr/include/libgdome/gdome.h:52: error: storage class specified for parameter ‘GdomeExceptionCode’
  332. /usr/include/libgdome/gdome.h:58: error: storage class specified for parameter ‘GdomeExceptionType’
  333. /usr/include/libgdome/gdome.h:63: error: storage class specified for parameter ‘GdomeExceptionMasks’
  334. /usr/include/libgdome/gdome.h:73: error: storage class specified for parameter ‘GdomeAccessType’
  335. /usr/include/libgdome/gdome.h:81: error: storage class specified for parameter ‘GdomeLoadingCode’
  336. /usr/include/libgdome/gdome.h:86: error: storage class specified for parameter ‘GdomeSavingCode’
  337. /usr/include/libgdome/gdome.h:88: error: storage class specified for parameter ‘GdomeDOMString’
  338. /usr/include/libgdome/gdome.h:89: error: storage class specified for parameter ‘GdomeBoolean’
  339. /usr/include/libgdome/gdome.h:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GdomeException’
  340. /usr/include/libgdome/gdome.h:91: error: storage class specified for parameter ‘GdomeDOMTimeStamp’
  341. /usr/include/libgdome/gdome.h:94: error: expected specifier-qualifier-list before ‘gchar’
  342. /usr/include/libgdome/gdome.h:97: warning: empty declaration
  343. /usr/include/libgdome/gdome.h:99: error: storage class specified for parameter ‘GdomeNode’
  344. /usr/include/libgdome/gdome.h:100: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GdomeEventTarget’
  345. /usr/include/libgdome/gdome.h:101: error: storage class specified for parameter ‘GdomeAttr’
  346. /usr/include/libgdome/gdome.h:102: error: storage class specified for parameter ‘GdomeCharacterData’
  347. /usr/include/libgdome/gdome.h:103: error: storage class specified for parameter ‘GdomeText’
  348. /usr/include/libgdome/gdome.h:104: error: storage class specified for parameter ‘GdomeCDATASection’
  349. /usr/include/libgdome/gdome.h:105: error: storage class specified for parameter ‘GdomeComment’
  350. /usr/include/libgdome/gdome.h:106: error: storage class specified for parameter ‘GdomeDOMImplementation’
  351. /usr/include/libgdome/gdome.h:107: error: storage class specified for parameter ‘GdomeDocument’
  352. /usr/include/libgdome/gdome.h:108: error: storage class specified for parameter ‘GdomeDocumentFragment’
  353. /usr/include/libgdome/gdome.h:109: error: storage class specified for parameter ‘GdomeDocumentType’
  354. /usr/include/libgdome/gdome.h:110: error: storage class specified for parameter ‘GdomeElement’
  355. /usr/include/libgdome/gdome.h:111: error: storage class specified for parameter ‘GdomeEntity’
  356. /usr/include/libgdome/gdome.h:112: error: storage class specified for parameter ‘GdomeEntityReference’
  357. /usr/include/libgdome/gdome.h:113: error: storage class specified for parameter ‘GdomeNamedNodeMap’
  358. /usr/include/libgdome/gdome.h:114: error: storage class specified for parameter ‘GdomeNodeList’
  359. /usr/include/libgdome/gdome.h:115: error: storage class specified for parameter ‘GdomeNotation’
  360. /usr/include/libgdome/gdome.h:116: error: storage class specified for parameter ‘GdomeProcessingInstruction’
  361. /usr/include/libgdome/gdome.h:119: error: storage class specified for parameter ‘GdomeEvent’
  362. /usr/include/libgdome/gdome.h:120: error: storage class specified for parameter ‘GdomeEventListener’
  363. /usr/include/libgdome/gdome.h:121: error: storage class specified for parameter ‘GdomeMutationEvent’
  364. /usr/include/libgdome/gdome.h:122: error: storage class specified for parameter ‘GnomeEventTarget’
  365. /usr/include/libgdome/gdome.h:123: error: storage class specified for parameter ‘GnomeDocumentEvent’
  366. /usr/include/libgdome/gdome.h:126: error: storage class specified for parameter ‘GdomeXPathEvaluator’
  367. /usr/include/libgdome/gdome.h:127: error: storage class specified for parameter ‘GdomeXPathNamespace’
  368. /usr/include/libgdome/gdome.h:128: error: storage class specified for parameter ‘GdomeXPathNSResolver’
  369. /usr/include/libgdome/gdome.h:129: error: storage class specified for parameter ‘GdomeXPathResult’
  370. /usr/include/libgdome/gdome.h:132: error: storage class specified for parameter ‘GdomeNodeFilter’
  371. /usr/include/libgdome/gdome.h:133: error: storage class specified for parameter ‘GdomeNodeIterator’
  372. /usr/include/libgdome/gdome.h:134: error: storage class specified for parameter ‘GdomeTreeWalker’
  373. /usr/include/libgdome/gdome.h:136: error: storage class specified for parameter ‘GdomeNodeVtab’
  374. /usr/include/libgdome/gdome.h:137: error: storage class specified for parameter ‘GdomeAttrVtab’
  375. /usr/include/libgdome/gdome.h:138: error: storage class specified for parameter ‘GdomeCharacterDataVtab’
  376. /usr/include/libgdome/gdome.h:139: error: storage class specified for parameter ‘GdomeTextVtab’
  377. /usr/include/libgdome/gdome.h:140: error: storage class specified for parameter ‘GdomeCDATASectionVtab’
  378. /usr/include/libgdome/gdome.h:141: error: storage class specified for parameter ‘GdomeCommentVtab’
  379. /usr/include/libgdome/gdome.h:142: error: storage class specified for parameter ‘GdomeDOMImplementationVtab’
  380. /usr/include/libgdome/gdome.h:143: error: storage class specified for parameter ‘GdomeDocumentVtab’
  381. /usr/include/libgdome/gdome.h:144: error: storage class specified for parameter ‘GdomeDocumentFragmentVtab’
  382. /usr/include/libgdome/gdome.h:145: error: storage class specified for parameter ‘GdomeDocumentTypeVtab’
  383. /usr/include/libgdome/gdome.h:146: error: storage class specified for parameter ‘GdomeElementVtab’
  384. /usr/include/libgdome/gdome.h:147: error: storage class specified for parameter ‘GdomeEntityVtab’
  385. /usr/include/libgdome/gdome.h:148: error: storage class specified for parameter ‘GdomeEntityReferenceVtab’
  386. /usr/include/libgdome/gdome.h:149: error: storage class specified for parameter ‘GdomeNamedNodeMapVtab’
  387. /usr/include/libgdome/gdome.h:150: error: storage class specified for parameter ‘GdomeNodeListVtab’
  388. /usr/include/libgdome/gdome.h:151: error: storage class specified for parameter ‘GdomeNotationVtab’
  389. /usr/include/libgdome/gdome.h:152: error: storage class specified for parameter ‘GdomeProcessingInstructionVtab’
  390. /usr/include/libgdome/gdome.h:153: error: storage class specified for parameter ‘GdomeXPathNamespaceVtab’
  391. /usr/include/libgdome/gdome.h:169: error: storage class specified for parameter ‘GdomeNodeType’
  392. /usr/include/libgdome/gdome.h:171: error: storage class specified for parameter ‘GdomeEntitiesTableEntry’
  393. /usr/include/libgdome/gdome.h:173: error: expected specifier-qualifier-list before ‘gchar’
  394. /usr/include/libgdome/gdome.h:177: warning: empty declaration
  395. /usr/include/libgdome/gdome.h:181: warning: empty declaration
  396. /usr/include/libgdome/gdome.h:185: warning: empty declaration
  397. /usr/include/libgdome/gdome.h:189: warning: empty declaration
  398. /usr/include/libgdome/gdome.h:193: warning: empty declaration
  399. /usr/include/libgdome/gdome.h:197: warning: empty declaration
  400. /usr/include/libgdome/gdome.h:201: warning: empty declaration
  401. /usr/include/libgdome/gdome.h:205: warning: empty declaration
  402. /usr/include/libgdome/gdome.h:209: warning: empty declaration
  403. /usr/include/libgdome/gdome.h:213: warning: empty declaration
  404. /usr/include/libgdome/gdome.h:217: warning: empty declaration
  405. /usr/include/libgdome/gdome.h:221: warning: empty declaration
  406. /usr/include/libgdome/gdome.h:225: warning: empty declaration
  407. /usr/include/libgdome/gdome.h:229: warning: empty declaration
  408. /usr/include/libgdome/gdome.h:233: warning: empty declaration
  409. /usr/include/libgdome/gdome.h:237: warning: empty declaration
  410. /usr/include/libgdome/gdome.h:241: warning: empty declaration
  411. /usr/include/libgdome/gdome.h:245: warning: empty declaration
  412. /usr/include/libgdome/gdome.h:249: warning: empty declaration
  413. /usr/include/libgdome/gdome.h:254: error: expected declaration specifiers before ‘GdomeDOMString’
  414. /usr/include/libgdome/gdome.h:255: error: expected declaration specifiers before ‘GdomeDOMString’
  415. /usr/include/libgdome/gdome.h:256: error: expected declaration specifiers before ‘GdomeDOMString’
  416. /usr/include/libgdome/gdome.h:257: error: expected ‘)’ before ‘*’ token
  417. /usr/include/libgdome/gdome.h:258: error: expected ‘)’ before ‘*’ token
  418. /usr/include/libgdome/gdome.h:259: error: expected declaration specifiers before ‘GdomeBoolean’
  419. /usr/include/libgdome/gdome.h:261: error: expected declaration specifiers before ‘GdomeBoolean’
  420. /usr/include/libgdome/gdome.h:263: error: expected declaration specifiers before ‘gchar’
  421. /usr/include/libgdome/gdome.h:265: error: expected declaration specifiers before ‘GdomeDOMString’
  422. /usr/include/libgdome/gdome.h:267: error: expected declaration specifiers before ‘GdomeBoolean’
  423. /usr/include/libgdome/gdome.h:269: error: expected declaration specifiers before ‘GdomeBoolean’
  424. /usr/include/libgdome/gdome.h:270: error: expected ‘)’ before ‘*’ token
  425. /usr/include/libgdome/gdome.h:271: error: expected declaration specifiers before ‘GdomeBoolean’
  426. /usr/include/libgdome/gdome.h:276: error: expected ‘)’ before ‘*’ token
  427. /usr/include/libgdome/gdome.h:278: error: expected ‘)’ before ‘*’ token
  428. /usr/include/libgdome/gdome.h:280: error: expected ‘)’ before ‘*’ token
  429. /usr/include/libgdome/gdome.h:283: error: expected declaration specifiers before ‘GdomeDOMString’
  430. /usr/include/libgdome/gdome.h:285: error: expected declaration specifiers before ‘GdomeDOMString’
  431. /usr/include/libgdome/gdome.h:287: error: expected ‘)’ before ‘*’ token
  432. /usr/include/libgdome/gdome.h:290: error: expected ‘)’ before ‘*’ token
  433. /usr/include/libgdome/gdome.h:292: error: expected declaration specifiers before ‘GdomeNode’
  434. /usr/include/libgdome/gdome.h:294: error: expected declaration specifiers before ‘GdomeNodeList’
  435. /usr/include/libgdome/gdome.h:296: error: expected declaration specifiers before ‘GdomeNode’
  436. /usr/include/libgdome/gdome.h:298: error: expected declaration specifiers before ‘GdomeNode’
  437. /usr/include/libgdome/gdome.h:300: error: expected declaration specifiers before ‘GdomeNode’
  438. /usr/include/libgdome/gdome.h:302: error: expected declaration specifiers before ‘GdomeNode’
  439. /usr/include/libgdome/gdome.h:304: error: expected declaration specifiers before ‘GdomeNamedNodeMap’
  440. /usr/include/libgdome/gdome.h:306: error: expected declaration specifiers before ‘GdomeDocument’
  441. /usr/include/libgdome/gdome.h:308: error: expected declaration specifiers before ‘GdomeNode’
  442. /usr/include/libgdome/gdome.h:312: error: expected declaration specifiers before ‘GdomeNode’
  443. /usr/include/libgdome/gdome.h:316: error: expected declaration specifiers before ‘GdomeNode’
  444. /usr/include/libgdome/gdome.h:319: error: expected declaration specifiers before ‘GdomeNode’
  445. /usr/include/libgdome/gdome.h:322: error: expected declaration specifiers before ‘GdomeBoolean’
  446. /usr/include/libgdome/gdome.h:324: error: expected declaration specifiers before ‘GdomeNode’
  447. /usr/include/libgdome/gdome.h:327: error: expected ‘)’ before ‘*’ token
  448. /usr/include/libgdome/gdome.h:329: error: expected declaration specifiers before ‘GdomeBoolean’
  449. /usr/include/libgdome/gdome.h:333: error: expected declaration specifiers before ‘GdomeDOMString’
  450. /usr/include/libgdome/gdome.h:335: error: expected declaration specifiers before ‘GdomeDOMString’
  451. /usr/include/libgdome/gdome.h:337: error: expected ‘)’ before ‘*’ token
  452. /usr/include/libgdome/gdome.h:340: error: expected declaration specifiers before ‘GdomeDOMString’
  453. /usr/include/libgdome/gdome.h:342: error: expected declaration specifiers before ‘GdomeBoolean’
  454. /usr/include/libgdome/gdome.h:344: error: expected ‘)’ before ‘*’ token
  455. /usr/include/libgdome/gdome.h:349: error: expected ‘)’ before ‘*’ token
  456. /usr/include/libgdome/gdome.h:354: error: expected declaration specifiers before ‘GdomeBoolean’
  457. /usr/include/libgdome/gdome.h:357: error: expected ‘)’ before ‘*’ token
  458. /usr/include/libgdome/gdome.h:360: error: expected declaration specifiers before ‘GdomeBoolean’
  459. /usr/include/libgdome/gdome.h:366: error: expected declaration specifiers before ‘GdomeDOMString’
  460. /usr/include/libgdome/gdome.h:368: error: expected declaration specifiers before ‘GdomeDOMString’
  461. /usr/include/libgdome/gdome.h:371: error: expected ‘)’ before ‘*’ token
  462. /usr/include/libgdome/gdome.h:375: error: expected ‘)’ before ‘*’ token
  463. /usr/include/libgdome/gdome.h:378: error: expected declaration specifiers before ‘GdomeAttr’
  464. /usr/include/libgdome/gdome.h:381: error: expected declaration specifiers before ‘GdomeAttr’
  465. /usr/include/libgdome/gdome.h:384: error: expected declaration specifiers before ‘GdomeAttr’
  466. /usr/include/libgdome/gdome.h:387: error: expected declaration specifiers before ‘GdomeNodeList’
  467. /usr/include/libgdome/gdome.h:393: error: expected declaration specifiers before ‘GdomeDOMString’
  468. /usr/include/libgdome/gdome.h:397: error: expected ‘)’ before ‘*’ token
  469. /usr/include/libgdome/gdome.h:402: error: expected ‘)’ before ‘*’ token
  470. /usr/include/libgdome/gdome.h:406: error: expected declaration specifiers before ‘GdomeAttr’
  471. /usr/include/libgdome/gdome.h:410: error: expected declaration specifiers before ‘GdomeAttr’
  472. /usr/include/libgdome/gdome.h:413: error: expected declaration specifiers before ‘GdomeNodeList’
  473. /usr/include/libgdome/gdome.h:417: error: expected declaration specifiers before ‘GdomeBoolean’
  474. /usr/include/libgdome/gdome.h:420: error: expected declaration specifiers before ‘GdomeBoolean’
  475. /usr/include/libgdome/gdome.h:428: error: expected ‘)’ before ‘*’ token
  476. /usr/include/libgdome/gdome.h:430: error: expected ‘)’ before ‘*’ token
  477. /usr/include/libgdome/gdome.h:432: error: expected ‘)’ before ‘*’ token
  478. /usr/include/libgdome/gdome.h:435: error: expected declaration specifiers before ‘GdomeDOMString’
  479. /usr/include/libgdome/gdome.h:437: error: expected declaration specifiers before ‘GdomeDOMString’
  480. /usr/include/libgdome/gdome.h:439: error: expected ‘)’ before ‘*’ token
  481. /usr/include/libgdome/gdome.h:442: error: expected ‘)’ before ‘*’ token
  482. /usr/include/libgdome/gdome.h:444: error: expected declaration specifiers before ‘GdomeNode’
  483. /usr/include/libgdome/gdome.h:446: error: expected declaration specifiers before ‘GdomeNodeList’
  484. /usr/include/libgdome/gdome.h:448: error: expected declaration specifiers before ‘GdomeNode’
  485. /usr/include/libgdome/gdome.h:450: error: expected declaration specifiers before ‘GdomeNode’
  486. /usr/include/libgdome/gdome.h:452: error: expected declaration specifiers before ‘GdomeNode’
  487. /usr/include/libgdome/gdome.h:454: error: expected declaration specifiers before ‘GdomeNode’
  488. /usr/include/libgdome/gdome.h:456: error: expected declaration specifiers before ‘GdomeNamedNodeMap’
  489. /usr/include/libgdome/gdome.h:458: error: expected declaration specifiers before ‘GdomeDocument’
  490. /usr/include/libgdome/gdome.h:460: error: expected declaration specifiers before ‘GdomeNode’
  491. /usr/include/libgdome/gdome.h:464: error: expected declaration specifiers before ‘GdomeNode’
  492. /usr/include/libgdome/gdome.h:468: error: expected declaration specifiers before ‘GdomeNode’
  493. /usr/include/libgdome/gdome.h:471: error: expected declaration specifiers before ‘GdomeNode’
  494. /usr/include/libgdome/gdome.h:474: error: expected declaration specifiers before ‘GdomeBoolean’
  495. /usr/include/libgdome/gdome.h:476: error: expected declaration specifiers before ‘GdomeNode’
  496. /usr/include/libgdome/gdome.h:479: error: expected ‘)’ before ‘*’ token
  497. /usr/include/libgdome/gdome.h:481: error: expected declaration specifiers before ‘GdomeBoolean’
  498. /usr/include/libgdome/gdome.h:485: error: expected declaration specifiers before ‘GdomeDOMString’
  499. /usr/include/libgdome/gdome.h:487: error: expected declaration specifiers before ‘GdomeDOMString’
  500. /usr/include/libgdome/gdome.h:489: error: expected ‘)’ before ‘*’ token
  501. /usr/include/libgdome/gdome.h:492: error: expected declaration specifiers before ‘GdomeDOMString’
  502. /usr/include/libgdome/gdome.h:494: error: expected declaration specifiers before ‘GdomeBoolean’
  503. /usr/include/libgdome/gdome.h:496: error: expected ‘)’ before ‘*’ token
  504. /usr/include/libgdome/gdome.h:501: error: expected ‘)’ before ‘*’ token
  505. /usr/include/libgdome/gdome.h:506: error: expected declaration specifiers before ‘GdomeBoolean’
  506. /usr/include/libgdome/gdome.h:509: error: expected ‘)’ before ‘*’ token
  507. /usr/include/libgdome/gdome.h:512: error: expected declaration specifiers before ‘GdomeBoolean’
  508. /usr/include/libgdome/gdome.h:519: error: expected ‘)’ before ‘*’ token
  509. /usr/include/libgdome/gdome.h:521: error: expected ‘)’ before ‘*’ token
  510. /usr/include/libgdome/gdome.h:523: error: expected ‘)’ before ‘*’ token
  511. /usr/include/libgdome/gdome.h:526: error: expected declaration specifiers before ‘GdomeDOMString’
  512. /usr/include/libgdome/gdome.h:528: error: expected declaration specifiers before ‘GdomeElement’
  513. /usr/include/libgdome/gdome.h:530: error: expected declaration specifiers before ‘GdomeBoolean’
  514. /usr/include/libgdome/gdome.h:532: error: expected declaration specifiers before ‘GdomeDOMString’
  515. /usr/include/libgdome/gdome.h:534: error: expected ‘)’ before ‘*’ token
  516. /usr/include/libgdome/gdome.h:537: error: expected declaration specifiers before ‘GdomeDOMString’
  517. /usr/include/libgdome/gdome.h:539: error: expected declaration specifiers before ‘GdomeDOMString’
  518. /usr/include/libgdome/gdome.h:541: error: expected ‘)’ before ‘*’ token
  519. /usr/include/libgdome/gdome.h:544: error: expected ‘)’ before ‘*’ token
  520. /usr/include/libgdome/gdome.h:546: error: expected declaration specifiers before ‘GdomeNode’
  521. /usr/include/libgdome/gdome.h:548: error: expected declaration specifiers before ‘GdomeNodeList’
  522. /usr/include/libgdome/gdome.h:550: error: expected declaration specifiers before ‘GdomeNode’
  523. /usr/include/libgdome/gdome.h:552: error: expected declaration specifiers before ‘GdomeNode’
  524. /usr/include/libgdome/gdome.h:554: error: expected declaration specifiers before ‘GdomeNode’
  525. /usr/include/libgdome/gdome.h:556: error: expected declaration specifiers before ‘GdomeNode’
  526. /usr/include/libgdome/gdome.h:558: error: expected declaration specifiers before ‘GdomeNamedNodeMap’
  527. /usr/include/libgdome/gdome.h:560: error: expected declaration specifiers before ‘GdomeDocument’
  528. /usr/include/libgdome/gdome.h:562: error: expected declaration specifiers before ‘GdomeNode’
  529. /usr/include/libgdome/gdome.h:566: error: expected declaration specifiers before ‘GdomeNode’
  530. /usr/include/libgdome/gdome.h:570: error: expected declaration specifiers before ‘GdomeNode’
  531. /usr/include/libgdome/gdome.h:573: error: expected declaration specifiers before ‘GdomeNode’
  532. /usr/include/libgdome/gdome.h:576: error: expected declaration specifiers before ‘GdomeBoolean’
  533. /usr/include/libgdome/gdome.h:578: error: expected declaration specifiers before ‘GdomeNode’
  534. /usr/include/libgdome/gdome.h:581: error: expected ‘)’ before ‘*’ token
  535. /usr/include/libgdome/gdome.h:583: error: expected declaration specifiers before ‘GdomeBoolean’
  536. /usr/include/libgdome/gdome.h:587: error: expected declaration specifiers before ‘GdomeDOMString’
  537. /usr/include/libgdome/gdome.h:589: error: expected declaration specifiers before ‘GdomeDOMString’
  538. /usr/include/libgdome/gdome.h:591: error: expected ‘)’ before ‘*’ token
  539. /usr/include/libgdome/gdome.h:594: error: expected declaration specifiers before ‘GdomeDOMString’
  540. /usr/include/libgdome/gdome.h:596: error: expected declaration specifiers before ‘GdomeBoolean’
  541. /usr/include/libgdome/gdome.h:598: error: expected ‘)’ before ‘*’ token
  542. /usr/include/libgdome/gdome.h:603: error: expected ‘)’ before ‘*’ token
  543. /usr/include/libgdome/gdome.h:608: error: expected declaration specifiers before ‘GdomeBoolean’
  544. /usr/include/libgdome/gdome.h:611: error: expected ‘)’ before ‘*’ token
  545. /usr/include/libgdome/gdome.h:614: error: expected declaration specifiers before ‘GdomeBoolean’
  546. /usr/include/libgdome/gdome.h:619: error: expected declaration specifiers before ‘GdomeDOMString’
  547. /usr/include/libgdome/gdome.h:620: error: expected ‘)’ before ‘*’ token
  548. /usr/include/libgdome/gdome.h:621: error: expected ‘)’ before ‘*’ token
  549. /usr/include/libgdome/gdome.h:622: error: expected declaration specifiers before ‘GdomeDOMString’
  550. /usr/include/libgdome/gdome.h:623: error: expected ‘)’ before ‘*’ token
  551. /usr/include/libgdome/gdome.h:624: error: expected ‘)’ before ‘*’ token
  552. /usr/include/libgdome/gdome.h:625: error: expected ‘)’ before ‘*’ token
  553. /usr/include/libgdome/gdome.h:626: error: expected ‘)’ before ‘*’ token
  554. /usr/include/libgdome/gdome.h:627: error: expected ‘)’ before ‘*’ token
  555. /usr/include/libgdome/gdome.h:628: error: expected ‘)’ before ‘*’ token
  556. /usr/include/libgdome/gdome.h:629: error: expected ‘)’ before ‘*’ token
  557. /usr/include/libgdome/gdome.h:630: error: expected declaration specifiers before ‘GdomeDOMString’
  558. /usr/include/libgdome/gdome.h:631: error: expected declaration specifiers before ‘GdomeDOMString’
  559. /usr/include/libgdome/gdome.h:632: error: expected ‘)’ before ‘*’ token
  560. /usr/include/libgdome/gdome.h:633: error: expected ‘)’ before ‘*’ token
  561. /usr/include/libgdome/gdome.h:634: error: expected declaration specifiers before ‘GdomeNode’
  562. /usr/include/libgdome/gdome.h:635: error: expected declaration specifiers before ‘GdomeNodeList’
  563. /usr/include/libgdome/gdome.h:636: error: expected declaration specifiers before ‘GdomeNode’
  564. /usr/include/libgdome/gdome.h:637: error: expected declaration specifiers before ‘GdomeNode’
  565. /usr/include/libgdome/gdome.h:638: error: expected declaration specifiers before ‘GdomeNode’
  566. /usr/include/libgdome/gdome.h:639: error: expected declaration specifiers before ‘GdomeNode’
  567. /usr/include/libgdome/gdome.h:640: error: expected declaration specifiers before ‘GdomeNamedNodeMap’
  568. /usr/include/libgdome/gdome.h:641: error: expected declaration specifiers before ‘GdomeDocument’
  569. /usr/include/libgdome/gdome.h:642: error: expected declaration specifiers before ‘GdomeNode’
  570. /usr/include/libgdome/gdome.h:643: error: expected declaration specifiers before ‘GdomeNode’
  571. /usr/include/libgdome/gdome.h:644: error: expected declaration specifiers before ‘GdomeNode’
  572. /usr/include/libgdome/gdome.h:645: error: expected declaration specifiers before ‘GdomeNode’
  573. /usr/include/libgdome/gdome.h:646: error: expected declaration specifiers before ‘GdomeBoolean’
  574. /usr/include/libgdome/gdome.h:647: error: expected declaration specifiers before ‘GdomeNode’
  575. /usr/include/libgdome/gdome.h:648: error: expected ‘)’ before ‘*’ token
  576. /usr/include/libgdome/gdome.h:649: error: expected declaration specifiers before ‘GdomeBoolean’
  577. /usr/include/libgdome/gdome.h:650: error: expected declaration specifiers before ‘GdomeDOMString’
  578. /usr/include/libgdome/gdome.h:651: error: expected declaration specifiers before ‘GdomeDOMString’
  579. /usr/include/libgdome/gdome.h:652: error: expected ‘)’ before ‘*’ token
  580. /usr/include/libgdome/gdome.h:653: error: expected declaration specifiers before ‘GdomeDOMString’
  581. /usr/include/libgdome/gdome.h:654: error: expected declaration specifiers before ‘GdomeBoolean’
  582. /usr/include/libgdome/gdome.h:655: error: expected ‘)’ before ‘*’ token
  583. /usr/include/libgdome/gdome.h:656: error: expected ‘)’ before ‘*’ token
  584. /usr/include/libgdome/gdome.h:657: error: expected declaration specifiers before ‘GdomeBoolean’
  585. /usr/include/libgdome/gdome.h:658: error: expected ‘)’ before ‘*’ token
  586. /usr/include/libgdome/gdome.h:659: error: expected declaration specifiers before ‘GdomeBoolean’
  587. /usr/include/libgdome/gdome.h:663: error: expected declaration specifiers before ‘GdomeText’
  588. /usr/include/libgdome/gdome.h:664: error: expected declaration specifiers before ‘GdomeDOMString’
  589. /usr/include/libgdome/gdome.h:665: error: expected ‘)’ before ‘*’ token
  590. /usr/include/libgdome/gdome.h:666: error: expected ‘)’ before ‘*’ token
  591. /usr/include/libgdome/gdome.h:667: error: expected declaration specifiers before ‘GdomeDOMString’
  592. /usr/include/libgdome/gdome.h:668: error: expected ‘)’ before ‘*’ token
  593. /usr/include/libgdome/gdome.h:669: error: expected ‘)’ before ‘*’ token
  594. /usr/include/libgdome/gdome.h:670: error: expected ‘)’ before ‘*’ token
  595. /usr/include/libgdome/gdome.h:671: error: expected ‘)’ before ‘*’ token
  596. /usr/include/libgdome/gdome.h:672: error: expected ‘)’ before ‘*’ token
  597. /usr/include/libgdome/gdome.h:673: error: expected ‘)’ before ‘*’ token
  598. /usr/include/libgdome/gdome.h:674: error: expected ‘)’ before ‘*’ token
  599. /usr/include/libgdome/gdome.h:675: error: expected declaration specifiers before ‘GdomeDOMString’
  600. /usr/include/libgdome/gdome.h:676: error: expected declaration specifiers before ‘GdomeDOMString’
  601. /usr/include/libgdome/gdome.h:677: error: expected ‘)’ before ‘*’ token
  602. /usr/include/libgdome/gdome.h:678: error: expected ‘)’ before ‘*’ token
  603. /usr/include/libgdome/gdome.h:679: error: expected declaration specifiers before ‘GdomeNode’
  604. /usr/include/libgdome/gdome.h:680: error: expected declaration specifiers before ‘GdomeNodeList’
  605. /usr/include/libgdome/gdome.h:681: error: expected declaration specifiers before ‘GdomeNode’
  606. /usr/include/libgdome/gdome.h:682: error: expected declaration specifiers before ‘GdomeNode’
  607. /usr/include/libgdome/gdome.h:683: error: expected declaration specifiers before ‘GdomeNode’
  608. /usr/include/libgdome/gdome.h:684: error: expected declaration specifiers before ‘GdomeNode’
  609. /usr/include/libgdome/gdome.h:685: error: expected declaration specifiers before ‘GdomeNamedNodeMap’
  610. /usr/include/libgdome/gdome.h:686: error: expected declaration specifiers before ‘GdomeDocument’
  611. /usr/include/libgdome/gdome.h:687: error: expected declaration specifiers before ‘GdomeNode’
  612. /usr/include/libgdome/gdome.h:688: error: expected declaration specifiers before ‘GdomeNode’
  613. /usr/include/libgdome/gdome.h:689: error: expected declaration specifiers before ‘GdomeNode’
  614. /usr/include/libgdome/gdome.h:690: error: expected declaration specifiers before ‘GdomeNode’
  615. /usr/include/libgdome/gdome.h:691: error: expected declaration specifiers before ‘GdomeBoolean’
  616. /usr/include/libgdome/gdome.h:692: error: expected declaration specifiers before ‘GdomeNode’
  617. /usr/include/libgdome/gdome.h:693: error: expected ‘)’ before ‘*’ token
  618. /usr/include/libgdome/gdome.h:694: error: expected declaration specifiers before ‘GdomeBoolean’
  619. /usr/include/libgdome/gdome.h:695: error: expected declaration specifiers before ‘GdomeDOMString’
  620. /usr/include/libgdome/gdome.h:696: error: expected declaration specifiers before ‘GdomeDOMString’
  621. /usr/include/libgdome/gdome.h:697: error: expected ‘)’ before ‘*’ token
  622. /usr/include/libgdome/gdome.h:698: error: expected declaration specifiers before ‘GdomeDOMString’
  623. /usr/include/libgdome/gdome.h:699: error: expected declaration specifiers before ‘GdomeBoolean’
  624. /usr/include/libgdome/gdome.h:700: error: expected ‘)’ before ‘*’ token
  625. /usr/include/libgdome/gdome.h:701: error: expected ‘)’ before ‘*’ token
  626. /usr/include/libgdome/gdome.h:702: error: expected declaration specifiers before ‘GdomeBoolean’
  627. /usr/include/libgdome/gdome.h:703: error: expected ‘)’ before ‘*’ token
  628. /usr/include/libgdome/gdome.h:704: error: expected declaration specifiers before ‘GdomeBoolean’
  629. /usr/include/libgdome/gdome.h:708: error: expected declaration specifiers before ‘GdomeText’
  630. /usr/include/libgdome/gdome.h:709: error: expected declaration specifiers before ‘GdomeDOMString’
  631. /usr/include/libgdome/gdome.h:710: error: expected ‘)’ before ‘*’ token
  632. /usr/include/libgdome/gdome.h:711: error: expected ‘)’ before ‘*’ token
  633. /usr/include/libgdome/gdome.h:712: error: expected declaration specifiers before ‘GdomeDOMString’
  634. /usr/include/libgdome/gdome.h:713: error: expected ‘)’ before ‘*’ token
  635. /usr/include/libgdome/gdome.h:714: error: expected ‘)’ before ‘*’ token
  636. /usr/include/libgdome/gdome.h:715: error: expected ‘)’ before ‘*’ token
  637. /usr/include/libgdome/gdome.h:716: error: expected ‘)’ before ‘*’ token
  638. /usr/include/libgdome/gdome.h:717: error: expected ‘)’ before ‘*’ token
  639. /usr/include/libgdome/gdome.h:718: error: expected ‘)’ before ‘*’ token
  640. /usr/include/libgdome/gdome.h:719: error: expected ‘)’ before ‘*’ token
  641. /usr/include/libgdome/gdome.h:720: error: expected declaration specifiers before ‘GdomeDOMString’
  642. /usr/include/libgdome/gdome.h:721: error: expected declaration specifiers before ‘GdomeDOMString’
复制代码
发表于 2007-2-27 09:32:05 | 显示全部楼层
Post by asert
libgdome2-0 (version 0.8.1-1)
libgdome2-dev (version 0.8.1-1)
libxml2-dev (version 2.6.27.dfsg-1)

gcc /usr/share/doc/libgdome2-dev/examples/examplea.c -I/usr/include/libgdome -I/usr/include/glib-2.0 -lgdome -lglib-2.0 -o a.out
下面是一部分错误,大家能看出什么原因?

  1. /usr/include/glib-2.0/glib/gmessages.h:208: error: expected declaration specifiers before ‘GPrintFunc’
  2. 以下省略...
复制代码

貌似GPrintFunc没有定义,我猜测是少包含了定义GPrintFunc的头文件,反正应该是缺少头文件的问题。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表