gtk-doc: Compiling scanner mkdir .libs x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -msse3 -pipe -I/usr/local/include -I.. -Wall -Werror -c ogmdvd-gtk-scan.c -fPIC -DPIC -o .libs/ogmdvd-gtk-scan.o ogmdvd-gtk-scan.c:5:25: error: glib-object.h: No such file or directory ogmdvd-gtk-scan.c:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ogmdvd_chapter_list_get_type' ogmdvd-gtk-scan.c:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ogmdvd_drive_chooser_dialog_get_type' ogmdvd-gtk-scan.c:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ogmdvd_drive_chooser_widget_get_type' ogmdvd-gtk-scan.c:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ogmdvd_drive_chooser_get_type' ogmdvd-gtk-scan.c:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ogmdvd_title_chooser_widget_get_type' ogmdvd-gtk-scan.c:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ogmdvd_title_chooser_get_type' ogmdvd-gtk-scan.c:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'object_types' ogmdvd-gtk-scan.c:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ogmdvd-gtk-scan.c:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ogmdvd-gtk-scan.c:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ogmdvd-gtk-scan.c:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ogmdvd-gtk-scan.c:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ogmdvd-gtk-scan.c:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ogmdvd-gtk-scan.c:60: error: expected declaration specifiers or '...' before 'GType' cc1: warnings being treated as errors ogmdvd-gtk-scan.c:62: warning: type defaults to 'int' in declaration of 'gchar' ogmdvd-gtk-scan.c:62: error: expected ';', ',' or ')' before '*' token ogmdvd-gtk-scan.c:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ogmdvd-gtk-scan.c:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ogmdvd-gtk-scan.c:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ogmdvd-gtk-scan.c:72: error: expected declaration specifiers or '...' before 'GType' ogmdvd-gtk-scan.c:73: error: expected declaration specifiers or '...' before 'guint' ogmdvd-gtk-scan.c:77: error: expected declaration specifiers or '...' before 'GType' ogmdvd-gtk-scan.c:81: error: expected declaration specifiers or '...' before 'GType' ogmdvd-gtk-scan.c:84: error: expected declaration specifiers or '...' before 'GType' ogmdvd-gtk-scan.c: In function 'main': ogmdvd-gtk-scan.c:92: warning: implicit declaration of function 'g_type_init' ogmdvd-gtk-scan.c:94: warning: implicit declaration of function 'get_object_types' ogmdvd-gtk-scan.c: In function 'output_signals': ogmdvd-gtk-scan.c:110: error: 'gint' undeclared (first use in this function) ogmdvd-gtk-scan.c:110: error: (Each undeclared identifier is reported only once ogmdvd-gtk-scan.c:110: error: for each function it appears in.) ogmdvd-gtk-scan.c:110: error: expected ';' before 'i' ogmdvd-gtk-scan.c:112: error: 'signals_filename' undeclared (first use in this function) ogmdvd-gtk-scan.c:115: warning: implicit declaration of function 'g_warning' ogmdvd-gtk-scan.c:119: error: 'i' undeclared (first use in this function) ogmdvd-gtk-scan.c:119: error: 'object_types' undeclared (first use in this function) ogmdvd-gtk-scan.c:120: error: too many arguments to function 'output_object_signals' ogmdvd-gtk-scan.c: At top level: ogmdvd-gtk-scan.c:126: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'compare_signals' ogmdvd-gtk-scan.c:136: error: expected declaration specifiers or '...' before 'GType' ogmdvd-gtk-scan.c: In function 'output_object_signals': ogmdvd-gtk-scan.c:138: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ogmdvd-gtk-scan.c:138: error: 'object_class_name' undeclared (first use in this function) ogmdvd-gtk-scan.c:139: error: 'guint' undeclared (first use in this function) ogmdvd-gtk-scan.c:139: error: 'signals' undeclared (first use in this function) ogmdvd-gtk-scan.c:139: error: 'n_signals' undeclared (first use in this function) ogmdvd-gtk-scan.c:139: warning: left-hand operand of comma expression has no effect ogmdvd-gtk-scan.c:140: error: expected ';' before 'sig' ogmdvd-gtk-scan.c:142: warning: implicit declaration of function 'G_TYPE_IS_INSTANTIATABLE' ogmdvd-gtk-scan.c:142: error: 'object_type' undeclared (first use in this function) ogmdvd-gtk-scan.c:143: warning: implicit declaration of function 'G_TYPE_IS_INTERFACE' ogmdvd-gtk-scan.c:146: warning: implicit declaration of function 'g_type_name' ogmdvd-gtk-scan.c:148: warning: implicit declaration of function 'g_signal_list_ids' ogmdvd-gtk-scan.c:149: error: 'compare_signals' undeclared (first use in this function) ogmdvd-gtk-scan.c:151: error: 'sig' undeclared (first use in this function) ogmdvd-gtk-scan.c:153: warning: implicit declaration of function 'output_object_signal' ogmdvd-gtk-scan.c:155: warning: implicit declaration of function 'g_free' ogmdvd-gtk-scan.c: At top level: ogmdvd-gtk-scan.c:163: warning: type defaults to 'int' in declaration of 'gchar' ogmdvd-gtk-scan.c:163: error: expected ';', ',' or ')' before '*' token ogmdvd-gtk-scan.c:306: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ogmdvd-gtk-scan.c:380: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ogmdvd-gtk-scan.c:436: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ogmdvd-gtk-scan.c: In function 'output_object_hierarchy': ogmdvd-gtk-scan.c:662: error: 'gint' undeclared (first use in this function) ogmdvd-gtk-scan.c:662: error: expected ';' before 'i' ogmdvd-gtk-scan.c:664: error: 'hierarchy_filename' undeclared (first use in this function) ogmdvd-gtk-scan.c:670: error: 'G_TYPE_OBJECT' undeclared (first use in this function) ogmdvd-gtk-scan.c:670: error: too many arguments to function 'output_hierarchy' ogmdvd-gtk-scan.c:671: error: 'G_TYPE_INTERFACE' undeclared (first use in this function) ogmdvd-gtk-scan.c:671: error: too many arguments to function 'output_hierarchy' ogmdvd-gtk-scan.c:673: error: 'i' undeclared (first use in this function) ogmdvd-gtk-scan.c:673: error: 'object_types' undeclared (first use in this function) ogmdvd-gtk-scan.c:674: warning: implicit declaration of function 'g_type_parent' ogmdvd-gtk-scan.c:678: error: too many arguments to function 'output_hierarchy' ogmdvd-gtk-scan.c: At top level: ogmdvd-gtk-scan.c:688: error: expected declaration specifiers or '...' before 'GType' ogmdvd-gtk-scan.c:689: error: expected declaration specifiers or '...' before 'guint' ogmdvd-gtk-scan.c: In function 'output_hierarchy': ogmdvd-gtk-scan.c:691: error: 'guint' undeclared (first use in this function) ogmdvd-gtk-scan.c:691: error: expected ';' before 'i' ogmdvd-gtk-scan.c:692: error: 'GType' undeclared (first use in this function) ogmdvd-gtk-scan.c:692: error: 'children' undeclared (first use in this function) ogmdvd-gtk-scan.c:693: error: expected ';' before 'n_children' ogmdvd-gtk-scan.c:695: error: 'type' undeclared (first use in this function) ogmdvd-gtk-scan.c:698: error: 'i' undeclared (first use in this function) ogmdvd-gtk-scan.c:698: error: 'level' undeclared (first use in this function) ogmdvd-gtk-scan.c:700: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast ogmdvd-gtk-scan.c:703: warning: implicit declaration of function 'g_type_children' ogmdvd-gtk-scan.c:703: error: 'n_children' undeclared (first use in this function) ogmdvd-gtk-scan.c:706: error: too many arguments to function 'output_hierarchy' ogmdvd-gtk-scan.c: In function 'output_object_interfaces': ogmdvd-gtk-scan.c:713: error: 'guint' undeclared (first use in this function) ogmdvd-gtk-scan.c:713: error: expected ';' before 'i' ogmdvd-gtk-scan.c:716: error: 'interfaces_filename' undeclared (first use in this function) ogmdvd-gtk-scan.c:722: error: 'G_TYPE_OBJECT' undeclared (first use in this function) ogmdvd-gtk-scan.c:722: error: too many arguments to function 'output_interfaces' ogmdvd-gtk-scan.c:724: error: 'i' undeclared (first use in this function) ogmdvd-gtk-scan.c:724: error: 'object_types' undeclared (first use in this function) ogmdvd-gtk-scan.c:730: error: too many arguments to function 'output_interfaces' ogmdvd-gtk-scan.c: At top level: ogmdvd-gtk-scan.c:738: error: expected declaration specifiers or '...' before 'GType' ogmdvd-gtk-scan.c: In function 'output_interfaces': ogmdvd-gtk-scan.c:740: error: 'guint' undeclared (first use in this function) ogmdvd-gtk-scan.c:740: error: expected ';' before 'i' ogmdvd-gtk-scan.c:741: error: 'GType' undeclared (first use in this function) ogmdvd-gtk-scan.c:741: error: 'children' undeclared (first use in this function) ogmdvd-gtk-scan.c:741: error: 'interfaces' undeclared (first use in this function) ogmdvd-gtk-scan.c:741: warning: left-hand operand of comma expression has no effect ogmdvd-gtk-scan.c:742: error: expected ';' before 'n_children' ogmdvd-gtk-scan.c:744: error: 'type' undeclared (first use in this function) ogmdvd-gtk-scan.c:747: warning: implicit declaration of function 'g_type_interfaces' ogmdvd-gtk-scan.c:747: error: 'n_interfaces' undeclared (first use in this function) ogmdvd-gtk-scan.c:751: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast ogmdvd-gtk-scan.c:752: error: 'i' undeclared (first use in this function) ogmdvd-gtk-scan.c:753: warning: format '%s' expects type 'char *', but argument 3 has type 'int' ogmdvd-gtk-scan.c:758: error: 'n_children' undeclared (first use in this function) ogmdvd-gtk-scan.c:761: error: too many arguments to function 'output_interfaces' ogmdvd-gtk-scan.c: In function 'output_interface_prerequisites': ogmdvd-gtk-scan.c:770: error: 'prerequisites_filename' undeclared (first use in this function) ogmdvd-gtk-scan.c:776: error: 'G_TYPE_INTERFACE' undeclared (first use in this function) ogmdvd-gtk-scan.c:776: error: too many arguments to function 'output_prerequisites' ogmdvd-gtk-scan.c: At top level: ogmdvd-gtk-scan.c:782: error: expected declaration specifiers or '...' before 'GType' ogmdvd-gtk-scan.c:784:23: error: missing binary operator before token "(" ogmdvd-gtk-scan.c: In function 'output_args': ogmdvd-gtk-scan.c:816: error: 'gint' undeclared (first use in this function) ogmdvd-gtk-scan.c:816: error: expected ';' before 'i' ogmdvd-gtk-scan.c:818: error: 'args_filename' undeclared (first use in this function) ogmdvd-gtk-scan.c:825: error: 'i' undeclared (first use in this function) ogmdvd-gtk-scan.c:825: error: 'object_types' undeclared (first use in this function) ogmdvd-gtk-scan.c:826: error: too many arguments to function 'output_object_args' ogmdvd-gtk-scan.c: At top level: ogmdvd-gtk-scan.c:833: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'compare_param_specs' ogmdvd-gtk-scan.c:849: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ogmdvd-gtk-scan.c:872: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ogmdvd-gtk-scan.c:899: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ogmdvd-gtk-scan.c:922: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ogmdvd-gtk-scan.c:1113: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ogmdvd-gtk-scan.c:1259: error: expected declaration specifiers or '...' before 'GType' ogmdvd-gtk-scan.c: In function 'output_object_args': ogmdvd-gtk-scan.c:1261: error: 'gpointer' undeclared (first use in this function) ogmdvd-gtk-scan.c:1261: error: expected ';' before 'class' ogmdvd-gtk-scan.c:1262: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ogmdvd-gtk-scan.c:1262: error: 'object_class_name' undeclared (first use in this function) ogmdvd-gtk-scan.c:1263: error: 'guint' undeclared (first use in this function) ogmdvd-gtk-scan.c:1263: error: expected ';' before 'arg' ogmdvd-gtk-scan.c:1264: error: 'gchar' undeclared (first use in this function) ogmdvd-gtk-scan.c:1264: error: expected ';' before 'flags' ogmdvd-gtk-scan.c:1265: error: 'GParamSpec' undeclared (first use in this function) ogmdvd-gtk-scan.c:1265: error: 'properties' undeclared (first use in this function) ogmdvd-gtk-scan.c:1266: error: expected ';' before 'n_properties' ogmdvd-gtk-scan.c:1267: error: 'gboolean' undeclared (first use in this function) ogmdvd-gtk-scan.c:1267: error: expected ';' before 'child_prop' ogmdvd-gtk-scan.c:1268: error: expected ';' before 'style_prop' ogmdvd-gtk-scan.c:1269: error: 'type_desc' undeclared (first use in this function) ogmdvd-gtk-scan.c:1270: error: 'default_value' undeclared (first use in this function) ogmdvd-gtk-scan.c:1272: warning: implicit declaration of function 'G_TYPE_IS_OBJECT' ogmdvd-gtk-scan.c:1272: error: 'object_type' undeclared (first use in this function) ogmdvd-gtk-scan.c:1274: error: 'class' undeclared (first use in this function) ogmdvd-gtk-scan.c:1274: warning: implicit declaration of function 'g_type_class_peek' ogmdvd-gtk-scan.c:1278: warning: implicit declaration of function 'g_object_class_list_properties' ogmdvd-gtk-scan.c:1278: error: 'n_properties' undeclared (first use in this function) ogmdvd-gtk-scan.c:1296: error: 'child_prop' undeclared (first use in this function) ogmdvd-gtk-scan.c:1296: error: 'FALSE' undeclared (first use in this function) ogmdvd-gtk-scan.c:1297: error: 'style_prop' undeclared (first use in this function) ogmdvd-gtk-scan.c:1299: error: 'TRUE' undeclared (first use in this function) ogmdvd-gtk-scan.c:1300: error: expected expression before ')' token ogmdvd-gtk-scan.c:1300: error: 'compare_param_specs' undeclared (first use in this function) ogmdvd-gtk-scan.c:1301: error: 'arg' undeclared (first use in this function) ogmdvd-gtk-scan.c:1303: error: 'spec' undeclared (first use in this function) ogmdvd-gtk-scan.c:1304: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ogmdvd-gtk-scan.c:1304: error: 'nick' undeclared (first use in this function) ogmdvd-gtk-scan.c:1304: error: 'blurb' undeclared (first use in this function) ogmdvd-gtk-scan.c:1304: warning: left-hand operand of comma expression has no effect ogmdvd-gtk-scan.c:1304: error: 'dot' undeclared (first use in this function) ogmdvd-gtk-scan.c:1304: warning: left-hand operand of comma expression has no effect ogmdvd-gtk-scan.c:1309: error: 'pos' undeclared (first use in this function) ogmdvd-gtk-scan.c:1309: error: 'flags' undeclared (first use in this function) ogmdvd-gtk-scan.c:1315: error: 'G_PARAM_READABLE' undeclared (first use in this function) ogmdvd-gtk-scan.c:1317: error: 'G_PARAM_WRITABLE' undeclared (first use in this function) ogmdvd-gtk-scan.c:1319: error: 'G_PARAM_CONSTRUCT' undeclared (first use in this function) ogmdvd-gtk-scan.c:1321: error: 'G_PARAM_CONSTRUCT_ONLY' undeclared (first use in this function) ogmdvd-gtk-scan.c:1325: warning: implicit declaration of function 'g_param_spec_get_nick' ogmdvd-gtk-scan.c:1326: warning: implicit declaration of function 'g_param_spec_get_blurb' ogmdvd-gtk-scan.c:1335: warning: implicit declaration of function 'describe_type' ogmdvd-gtk-scan.c:1336: warning: implicit declaration of function 'describe_default' ogmdvd-gtk-scan.c:1338: warning: implicit declaration of function 'g_param_spec_get_name' ogmdvd-gtk-scan.c:1338: warning: format '%s' expects type 'char *', but argument 4 has type 'int' ogmdvd-gtk-scan.c:1338: warning: format '%s' expects type 'char *', but argument 5 has type 'int' Compilation of scanner failed: make[4]: *** [scan-build.stamp] Error 1 make[4]: Leaving directory `/var/tmp/portage/media-video/ogmrip-9999/work/ogmrip-9999/docs/reference/ogmdvd-gtk' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-video/ogmrip-9999/work/ogmrip-9999/docs/reference' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-video/ogmrip-9999/work/ogmrip-9999/docs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-video/ogmrip-9999/work/ogmrip-9999' make: *** [all] Error 2 !!! ERROR: media-video/ogmrip-9999 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile ebuild.sh, line 1305: Called gnome2_src_compile gnome2.eclass, line 71: Called die