pygtk-codegen-2.0 --prefix statusicon \ --register `pkg-config --variable=defsdir pygtk-2.0`/gdk-types.defs \ --register `pkg-config --variable=defsdir pygtk-2.0`/gtk-types.defs \ --override statusicon.override \ statusicon.defs > gen-tmp Warning: generating old-style constructor for egg_status_icon_new_from_pixbuf Warning: Constructor for EggStatusIcon needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors ***INFO*** There are no declared global functions. ***INFO*** The coverage of methods is 100.00% (1/1) ***INFO*** There are no declared virtual proxies. ***INFO*** There are no declared virtual accessors. ***INFO*** There are no declared interface proxies. mv gen-tmp statusicon.c glib-genmarshal --prefix=_egg_marshal eggmarshalers.list --header > gen-tmp mv gen-tmp eggmarshalers.h glib-genmarshal --prefix=_egg_marshal eggmarshalers.list --body > gen-tmp mv gen-tmp eggmarshalers.c cc -O2 `pkg-config --cflags gtk+-2.0 pygtk-2.0` -I/usr/include/python2.3 -c -o eggmarshalers.o eggmarshalers.c cc -O2 `pkg-config --cflags gtk+-2.0 pygtk-2.0` -I/usr/include/python2.3 -c -o statusicon.o statusicon.c statusicon.c:3:20: error: Python.h: No such file or directory In file included from statusicon.override:5: /usr/include/pygtk-2.0/pygobject.h:20: error: syntax error before ‘PyObject’ /usr/include/pygtk-2.0/pygobject.h:20: warning: no semicolon at end of struct or union /usr/include/pygtk-2.0/pygobject.h:21: warning: data definition has no type or storage class/usr/include/pygtk-2.0/pygobject.h:22: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:22: warning: data definition has no type or storage class/usr/include/pygtk-2.0/pygobject.h:24: error: syntax error before ‘}’ token /usr/include/pygtk-2.0/pygobject.h:27: error: syntax error before ‘PyObject_HEAD’ /usr/include/pygtk-2.0/pygobject.h:27: warning: no semicolon at end of struct or union /usr/include/pygtk-2.0/pygobject.h:29: warning: data definition has no type or storage class/usr/include/pygtk-2.0/pygobject.h:30: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:30: warning: data definition has no type or storage class/usr/include/pygtk-2.0/pygobject.h:32: error: syntax error before ‘}’ token /usr/include/pygtk-2.0/pygobject.h:32: warning: data definition has no type or storage class/usr/include/pygtk-2.0/pygobject.h:38: error: syntax error before ‘PyObject_HEAD’ /usr/include/pygtk-2.0/pygobject.h:38: warning: no semicolon at end of struct or union /usr/include/pygtk-2.0/pygobject.h:42: error: syntax error before ‘}’ token /usr/include/pygtk-2.0/pygobject.h:42: warning: data definition has no type or storage class/usr/include/pygtk-2.0/pygobject.h:48: error: syntax error before ‘PyObject_HEAD’ /usr/include/pygtk-2.0/pygobject.h:48: warning: no semicolon at end of struct or union /usr/include/pygtk-2.0/pygobject.h:51: error: syntax error before ‘}’ token /usr/include/pygtk-2.0/pygobject.h:51: warning: data definition has no type or storage class/usr/include/pygtk-2.0/pygobject.h:60: error: syntax error before ‘PyObject_HEAD’ /usr/include/pygtk-2.0/pygobject.h:60: warning: no semicolon at end of struct or union /usr/include/pygtk-2.0/pygobject.h:62: warning: data definition has no type or storage class/usr/include/pygtk-2.0/pygobject.h:67: error: syntax error before ‘PyTypeObject’ /usr/include/pygtk-2.0/pygobject.h:74: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:76: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:79: error: syntax error before ‘PyTypeObject’ /usr/include/pygtk-2.0/pygobject.h:79: warning: no semicolon at end of struct or union /usr/include/pygtk-2.0/pygobject.h:80: warning: data definition has no type or storage class/usr/include/pygtk-2.0/pygobject.h:82: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:84: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:87: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:88: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:88: warning: data definition has no type or storage class/usr/include/pygtk-2.0/pygobject.h:90: error: syntax error before ‘PyObject’ /usr/include/pygtk-2.0/pygobject.h:91: error: syntax error before ‘PyObject’ /usr/include/pygtk-2.0/pygobject.h:93: error: syntax error before ‘PyObject’ /usr/include/pygtk-2.0/pygobject.h:93: error: ‘register_gtype_custom’ declared as function returning a function /usr/include/pygtk-2.0/pygobject.h:94: error: syntax error before ‘int’ /usr/include/pygtk-2.0/pygobject.h:95: error: syntax error before ‘PyObject’ /usr/include/pygtk-2.0/pygobject.h:96: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:96: warning: data definition has no type or storage class/usr/include/pygtk-2.0/pygobject.h:98: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:101: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:101: warning: data definition has no type or storage class /usr/include/pygtk-2.0/pygobject.h:102: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:104: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:105: warning: data definition has no type or storage class /usr/include/pygtk-2.0/pygobject.h:107: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:107: warning: data definition has no type or storage class /usr/include/pygtk-2.0/pygobject.h:108: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:110: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:110: warning: data definition has no type or storage class /usr/include/pygtk-2.0/pygobject.h:112: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:114: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:128: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:128: warning: data definition has no type or storage class /usr/include/pygtk-2.0/pygobject.h:129: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:129: warning: data definition has no type or storage class /usr/include/pygtk-2.0/pygobject.h:130: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:131: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:137: error: syntax error before ‘PyObject’ /usr/include/pygtk-2.0/pygobject.h:138: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:140: warning: data definition has no type or storage class /usr/include/pygtk-2.0/pygobject.h:142: error: syntax error before ‘PyObject’ /usr/include/pygtk-2.0/pygobject.h:144: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:144: warning: data definition has no type or storage class /usr/include/pygtk-2.0/pygobject.h:145: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:145: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:148: warning: data definition has no type or storage class /usr/include/pygtk-2.0/pygobject.h:149: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:149: warning: data definition has no type or storage class /usr/include/pygtk-2.0/pygobject.h:151: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:151: warning: data definition has no type or storage class /usr/include/pygtk-2.0/pygobject.h:152: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:152: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:155: warning: data definition has no type or storage class /usr/include/pygtk-2.0/pygobject.h:156: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:156: warning: data definition has no type or storage class /usr/include/pygtk-2.0/pygobject.h:168: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:171: error: syntax error before ‘*’ token /usr/include/pygtk-2.0/pygobject.h:175: error: syntax error before ‘}’ token statusicon.c:16: error: syntax error before ‘*’ token statusicon.c:16: warning: data definition has no type or storage class statusicon.c:18: error: syntax error before ‘*’ token statusicon.c:18: warning: data definition has no type or storage class statusicon.c:23: error: syntax error before ‘PyEggStatusIcon_Type’ statusicon.c:23: warning: data definition has no type or storage class statusicon.c:32: error: syntax error before ‘*’ token statusicon.c: In function ‘_wrap_egg_status_icon_new_from_pixbuf’: statusicon.c:35: error: ‘pixbuf’ undeclared (first use in this function) statusicon.c:35: error: (Each undeclared identifier is reported only once statusicon.c:35: error: for each function it appears in.) statusicon.c:37: error: ‘args’ undeclared (first use in this function) statusicon.c:37: error: ‘kwargs’ undeclared (first use in this function) statusicon.c:39: error: ‘self’ undeclared (first use in this function) statusicon.c:42: error: ‘PyExc_RuntimeError’ undeclared (first use in this function) statusicon.c:45: error: dereferencing pointer to incomplete type statusicon.c:45: error: ‘PyObject’ undeclared (first use in this function) statusicon.c:45: error: syntax error before ‘)’ token statusicon.c: At top level: statusicon.c:49: error: syntax error before ‘*’ token statusicon.c:50: error: syntax error before ‘*’ token statusicon.c: In function ‘_wrap_egg_status_icon_set_tooltip’: statusicon.c:55: error: ‘args’ undeclared (first use in this function) statusicon.c:55: error: ‘kwargs’ undeclared (first use in this function) statusicon.c:57: error: ‘self’ undeclared (first use in this function) statusicon.c:58: error: ‘Py_None’ undeclared (first use in this function) statusicon.c: At top level: statusicon.c:62: error: syntax error before ‘_PyEggStatusIcon_methods’ statusicon.c:63: warning: braces around scalar initializer statusicon.c:63: warning: (near initialization for ‘_PyEggStatusIcon_methods[0]’) statusicon.c:63: warning: initialization makes integer from pointer without a cast statusicon.c:63: error: ‘PyCFunction’ undeclared here (not in a function) statusicon.c:63: warning: excess elements in scalar initializer statusicon.c:63: warning: (near initialization for ‘_PyEggStatusIcon_methods[0]’) statusicon.c:63: error: syntax error before ‘_wrap_egg_status_icon_set_tooltip’ statusicon.c:63: error: ‘METH_VARARGS’ undeclared here (not in a function) statusicon.c:63: error: ‘METH_KEYWORDS’ undeclared here (not in a function) statusicon.c:63: warning: excess elements in scalar initializer statusicon.c:63: warning: (near initialization for ‘_PyEggStatusIcon_methods[0]’) statusicon.c:64: warning: braces around scalar initializer statusicon.c:64: warning: (near initialization for ‘_PyEggStatusIcon_methods[1]’) statusicon.c:64: warning: initialization makes integer from pointer without a cast statusicon.c:64: warning: excess elements in scalar initializer statusicon.c:64: warning: (near initialization for ‘_PyEggStatusIcon_methods[1]’) statusicon.c:64: warning: excess elements in scalar initializer statusicon.c:64: warning: (near initialization for ‘_PyEggStatusIcon_methods[1]’) statusicon.c:65: warning: data definition has no type or storage class statusicon.c:67: error: syntax error before ‘PyEggStatusIcon_Type’ statusicon.c:69: error: initializer element is not constant statusicon.c:69: error: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:69: error: syntax error before numeric constant statusicon.c:70: warning: excess elements in scalar initializer statusicon.c:70: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:71: warning: excess elements in scalar initializer statusicon.c:71: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:72: warning: excess elements in scalar initializer statusicon.c:72: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:74: error: ‘destructor’ undeclared here (not in a function) statusicon.c:74: warning: excess elements in scalar initializer statusicon.c:74: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:74: error: syntax error before numeric constant statusicon.c:75: error: ‘printfunc’ undeclared here (not in a function) statusicon.c:75: warning: excess elements in scalar initializer statusicon.c:75: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:75: error: syntax error before numeric constant statusicon.c:76: error: ‘getattrfunc’ undeclared here (not in a function) statusicon.c:76: warning: excess elements in scalar initializer statusicon.c:76: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:76: error: syntax error before numeric constant statusicon.c:77: error: ‘setattrfunc’ undeclared here (not in a function) statusicon.c:77: warning: excess elements in scalar initializer statusicon.c:77: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:77: error: syntax error before numeric constant statusicon.c:78: error: ‘cmpfunc’ undeclared here (not in a function) statusicon.c:78: warning: excess elements in scalar initializer statusicon.c:78: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:78: error: syntax error before numeric constant statusicon.c:79: error: ‘reprfunc’ undeclared here (not in a function) statusicon.c:79: warning: excess elements in scalar initializer statusicon.c:79: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:79: error: syntax error before numeric constant statusicon.c:80: error: ‘PyNumberMethods’ undeclared here (not in a function) statusicon.c:80: error: syntax error before ‘)’ token statusicon.c:80: warning: excess elements in scalar initializer statusicon.c:80: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:81: error: ‘PySequenceMethods’ undeclared here (not in a function) statusicon.c:81: error: syntax error before ‘)’ token statusicon.c:81: warning: excess elements in scalar initializer statusicon.c:81: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:82: error: ‘PyMappingMethods’ undeclared here (not in a function) statusicon.c:82: error: syntax error before ‘)’ token statusicon.c:82: warning: excess elements in scalar initializer statusicon.c:82: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:83: error: ‘hashfunc’ undeclared here (not in a function) statusicon.c:83: warning: excess elements in scalar initializer statusicon.c:83: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:83: error: syntax error before numeric constant statusicon.c:84: error: ‘ternaryfunc’ undeclared here (not in a function) statusicon.c:84: warning: excess elements in scalar initializer statusicon.c:84: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:84: error: syntax error before numeric constant statusicon.c:85: warning: excess elements in scalar initializer statusicon.c:85: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:85: error: syntax error before numeric constant statusicon.c:86: error: ‘getattrofunc’ undeclared here (not in a function) statusicon.c:86: warning: excess elements in scalar initializer statusicon.c:86: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:86: error: syntax error before numeric constant statusicon.c:87: error: ‘setattrofunc’ undeclared here (not in a function) statusicon.c:87: warning: excess elements in scalar initializer statusicon.c:87: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:87: error: syntax error before numeric constant statusicon.c:88: error: ‘PyBufferProcs’ undeclared here (not in a function) statusicon.c:88: error: syntax error before ‘)’ token statusicon.c:88: warning: excess elements in scalar initializer statusicon.c:88: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:89: error: ‘Py_TPFLAGS_DEFAULT’ undeclared here (not in a function) statusicon.c:89: error: ‘Py_TPFLAGS_BASETYPE’ undeclared here (not in a function) statusicon.c:89: warning: excess elements in scalar initializer statusicon.c:89: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:90: warning: excess elements in scalar initializer statusicon.c:90: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:91: error: ‘traverseproc’ undeclared here (not in a function) statusicon.c:91: warning: excess elements in scalar initializer statusicon.c:91: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:91: error: syntax error before numeric constant statusicon.c:92: error: ‘inquiry’ undeclared here (not in a function) statusicon.c:92: warning: excess elements in scalar initializer statusicon.c:92: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:92: error: syntax error before numeric constant statusicon.c:93: error: ‘richcmpfunc’ undeclared here (not in a function) statusicon.c:93: warning: excess elements in scalar initializer statusicon.c:93: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:93: error: syntax error before numeric constant statusicon.c:94: error: syntax error before ‘PyGObject’ statusicon.c:94: warning: excess elements in scalar initializer statusicon.c:94: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:95: error: ‘getiterfunc’ undeclared here (not in a function) statusicon.c:95: warning: excess elements in scalar initializer statusicon.c:95: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:95: error: syntax error before numeric constant statusicon.c:96: error: ‘iternextfunc’ undeclared here (not in a function) statusicon.c:96: warning: excess elements in scalar initializer statusicon.c:96: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:96: error: syntax error before numeric constant statusicon.c:97: warning: excess elements in scalar initializer statusicon.c:97: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:98: warning: excess elements in scalar initializer statusicon.c:98: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:99: warning: excess elements in scalar initializer statusicon.c:99: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:100: warning: excess elements in scalar initializer statusicon.c:100: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:101: warning: excess elements in scalar initializer statusicon.c:101: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:102: error: ‘descrgetfunc’ undeclared here (not in a function) statusicon.c:102: warning: excess elements in scalar initializer statusicon.c:102: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:102: error: syntax error before numeric constant statusicon.c:103: error: ‘descrsetfunc’ undeclared here (not in a function) statusicon.c:103: warning: excess elements in scalar initializer statusicon.c:103: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:103: error: syntax error before numeric constant statusicon.c:104: error: syntax error before ‘PyGObject’ statusicon.c:104: warning: excess elements in scalar initializer statusicon.c:104: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:105: error: ‘initproc’ undeclared here (not in a function) statusicon.c:105: warning: excess elements in scalar initializer statusicon.c:105: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:105: error: syntax error before ‘_wrap_egg_status_icon_new_from_pixbuf’ statusicon.c:106: error: ‘allocfunc’ undeclared here (not in a function) statusicon.c:106: warning: excess elements in scalar initializer statusicon.c:106: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:106: error: syntax error before numeric constant statusicon.c:107: error: ‘newfunc’ undeclared here (not in a function) statusicon.c:107: warning: excess elements in scalar initializer statusicon.c:107: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:107: error: syntax error before numeric constant statusicon.c:108: error: ‘freefunc’ undeclared here (not in a function) statusicon.c:108: warning: excess elements in scalar initializer statusicon.c:108: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:108: error: syntax error before numeric constant statusicon.c:109: warning: excess elements in scalar initializer statusicon.c:109: warning: (near initialization for ‘PyEggStatusIcon_Type’) statusicon.c:109: error: syntax error before numeric constant statusicon.c:110: warning: data definition has no type or storage class statusicon.c:116: error: syntax error before ‘statusicon_functions’ statusicon.c:117: warning: braces around scalar initializer statusicon.c:117: warning: (near initialization for ‘statusicon_functions[0]’) statusicon.c:117: warning: initialization makes integer from pointer without a cast statusicon.c:117: warning: excess elements in scalar initializer statusicon.c:117: warning: (near initialization for ‘statusicon_functions[0]’) statusicon.c:117: warning: excess elements in scalar initializer statusicon.c:117: warning: (near initialization for ‘statusicon_functions[0]’) statusicon.c:118: warning: data definition has no type or storage class statusicon.c:122: error: syntax error before ‘*’ token statusicon.c: In function ‘statusicon_register_classes’: statusicon.c:124: error: ‘PyObject’ undeclared (first use in this function) statusicon.c:124: error: ‘module’ undeclared (first use in this function) statusicon.c:127: error: ‘moddict’ undeclared (first use in this function) statusicon.c:129: error: ‘PyTypeObject’ undeclared (first use in this function) statusicon.c:129: error: syntax error before ‘)’ token statusicon.c:131: error: ‘PyExc_ImportError’ undeclared (first use in this function) statusicon.c:143: error: syntax error before ‘)’ token statusicon.c:157: error: dereferencing pointer to incomplete type statusicon.c:157: error: ‘d’ undeclared (first use in this function) make: *** [statusicon.o] Error 1