GNOME Bugzilla – Bug 725538
Error after compiling the package.
Last modified: 2014-03-05 01:39:35 UTC
Good day, I am passing this message because today I downloaded from site "http://ftp.gnome.org/pub/GNOME/sources/" the "gnome-bluetooth" version 3.11.3 which is having problems when I run the package command "make" normal user. Below is a log of all the procedure that I performed in the file before the Terminal. weiller@debian:~/Downloads/gnome-bluetooth-3.11.3$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '1000' is supported by ustar format... yes checking whether GID '1000' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... (cached) yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether NLS is requested... yes checking for intltool >= 0.40.0... 0.50.2 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.18.2 checking for XML::Parser... ok checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.16... yes checking for xmllint... /usr/bin/xmllint checking for gtkdoc-check... no checking for gtkdoc-rebase... no checking for gtkdoc-mkpdf... no checking whether to build gtk-doc documentation... no checking for update-desktop-database... /usr/bin/update-desktop-database checking for gtk-update-icon-cache... /usr/local/bin/gtk-update-icon-cache checking for SENDTO... yes checking for cos in -lm... yes checking for INPUT... yes checking for LIBGNOMEBT... yes checking for gobject-introspection... no checking whether gcc understands -Wall... yes checking whether gcc understands -Wstrict-prototypes... yes checking whether gcc understands -Wnested-externs... yes checking whether gcc understands -Werror=missing-prototypes... yes checking whether gcc understands -Werror=implicit-function-declaration... yes checking whether gcc understands -Werror=pointer-arith... yes checking whether gcc understands -Werror=init-self... yes checking whether gcc understands -Werror=format-security... no checking whether gcc understands -Werror=format=2... yes checking whether gcc understands -Werror=missing-include-dirs... yes checking what warning flags to pass to the C compiler... -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs checking what language compliance flags to pass to the C compiler... checking what warning flags to pass to the C++ compiler... checking what language compliance flags to pass to the C++ compiler... checking for itstool... itstool checking for xmllint... /usr/bin/xmllint checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating gnome-bluetooth-1.0.pc config.status: creating icons/Makefile config.status: creating lib/Makefile config.status: creating sendto/Makefile config.status: creating sendto/bluetooth-sendto.desktop.in config.status: creating docs/Makefile config.status: creating docs/reference/Makefile config.status: creating docs/reference/libgnome-bluetooth/Makefile config.status: creating docs/reference/libgnome-bluetooth/version.xml config.status: creating po/Makefile.in config.status: creating help/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po/stamp-it commands Configure summary: Compiler....................: gcc Compiler Flags..............: -g -O2 Prefix......................: /usr/local Documentation...............: no GObject-Introspection.......: no weiller@debian:~/Downloads/gnome-bluetooth-3.11.3$ make make all-recursive make[1]: Entrando no diretório `/home/weiller/Downloads/gnome-bluetooth-3.11.3' Making all in icons make[2]: Entrando no diretório `/home/weiller/Downloads/gnome-bluetooth-3.11.3/icons' make[2]: Nada a ser feito para `all'. make[2]: Saindo do diretório `/home/weiller/Downloads/gnome-bluetooth-3.11.3/icons' Making all in lib make[2]: Entrando no diretório `/home/weiller/Downloads/gnome-bluetooth-3.11.3/lib' Makefile:1007: aviso: impondo comandos para o alvo `check' Makefile:861: aviso: ignorando comandos antigos para o alvo `check' GEN gnome-bluetooth-enum-types.h GEN gnome-bluetooth-enum-types.c make all-am make[3]: Entrando no diretório `/home/weiller/Downloads/gnome-bluetooth-3.11.3/lib' Makefile:1007: aviso: impondo comandos para o alvo `check' Makefile:861: aviso: ignorando comandos antigos para o alvo `check' CC bluetooth-client.lo CC bluetooth-utils.lo CC gnome-bluetooth-enum-types.lo CC bluetooth-chooser.lo CC bluetooth-filter-widget.lo CC bluetooth-settings-widget.lo In file included from bluetooth-settings-widget.c:37:0: bluetooth-settings-row.h:50:2: error: unknown type name 'GtkListBoxRow' GtkListBoxRow parent; ^ bluetooth-settings-row.h:54:2: error: unknown type name 'GtkListBoxRowClass' GtkListBoxRowClass parent_class; ^ bluetooth-settings-widget.c:878:7: error: unknown type name 'GtkListBoxRow' GtkListBoxRow *row); ^ bluetooth-settings-widget.c: In function 'device_name_appeared': bluetooth-settings-widget.c:894:2: error: implicit declaration of function 'start_pairing' [-Werror=implicit-function-declaration] start_pairing (user_data, GTK_LIST_BOX_ROW (gobject)); ^ bluetooth-settings-widget.c:894:2: warning: nested extern declaration of 'start_pairing' [-Wnested-externs] bluetooth-settings-widget.c:894:2: error: implicit declaration of function 'GTK_LIST_BOX_ROW' [-Werror=implicit-function-declaration] bluetooth-settings-widget.c:894:2: warning: nested extern declaration of 'GTK_LIST_BOX_ROW' [-Wnested-externs] bluetooth-settings-widget.c: At top level: bluetooth-settings-widget.c:902:9: error: unknown type name 'GtkListBoxRow' GtkListBoxRow *row) ^ bluetooth-settings-widget.c:1351:21: error: unknown type name 'GtkListBoxRow' update_header_func (GtkListBoxRow *row, ^ bluetooth-settings-widget.c:1352:7: error: unknown type name 'GtkListBoxRow' GtkListBoxRow *before, ^ bluetooth-settings-widget.c:1391:15: error: unknown type name 'GtkListBoxRow' GtkListBoxRow *row) ^ bluetooth-settings-widget.c: In function 'add_device_section': bluetooth-settings-widget.c:1436:2: error: implicit declaration of function 'gtk_widget_set_margin_start' [-Werror=implicit-function-declaration] gtk_widget_set_margin_start (box, 50); ^ bluetooth-settings-widget.c:1436:2: warning: nested extern declaration of 'gtk_widget_set_margin_start' [-Wnested-externs] bluetooth-settings-widget.c:1437:2: error: implicit declaration of function 'gtk_widget_set_margin_end' [-Werror=implicit-function-declaration] gtk_widget_set_margin_end (box, 50); ^ bluetooth-settings-widget.c:1437:2: warning: nested extern declaration of 'gtk_widget_set_margin_end' [-Wnested-externs] bluetooth-settings-widget.c:1470:2: error: implicit declaration of function 'gtk_list_box_new' [-Werror=implicit-function-declaration] priv->device_list = widget = gtk_list_box_new (); ^ bluetooth-settings-widget.c:1470:2: warning: nested extern declaration of 'gtk_list_box_new' [-Wnested-externs] bluetooth-settings-widget.c:1470:29: warning: assignment makes pointer from integer without a cast [enabled by default] priv->device_list = widget = gtk_list_box_new (); ^ bluetooth-settings-widget.c:1472:2: error: implicit declaration of function 'gtk_list_box_set_selection_mode' [-Werror=implicit-function-declaration] gtk_list_box_set_selection_mode (GTK_LIST_BOX (widget), GTK_SELECTION_NONE); ^ bluetooth-settings-widget.c:1472:2: warning: nested extern declaration of 'gtk_list_box_set_selection_mode' [-Wnested-externs] bluetooth-settings-widget.c:1472:2: error: implicit declaration of function 'GTK_LIST_BOX' [-Werror=implicit-function-declaration] bluetooth-settings-widget.c:1472:2: warning: nested extern declaration of 'GTK_LIST_BOX' [-Wnested-externs] bluetooth-settings-widget.c:1473:2: error: implicit declaration of function 'gtk_list_box_set_header_func' [-Werror=implicit-function-declaration] gtk_list_box_set_header_func (GTK_LIST_BOX (widget), ^ bluetooth-settings-widget.c:1473:2: warning: nested extern declaration of 'gtk_list_box_set_header_func' [-Wnested-externs] bluetooth-settings-widget.c:1474:11: error: 'update_header_func' undeclared (first use in this function) update_header_func, ^ bluetooth-settings-widget.c:1474:11: note: each undeclared identifier is reported only once for each function it appears in bluetooth-settings-widget.c:1476:2: error: implicit declaration of function 'gtk_list_box_set_sort_func' [-Werror=implicit-function-declaration] gtk_list_box_set_sort_func (GTK_LIST_BOX (widget), ^ bluetooth-settings-widget.c:1476:2: warning: nested extern declaration of 'gtk_list_box_set_sort_func' [-Wnested-externs] bluetooth-settings-widget.c:1477:10: error: 'GtkListBoxSortFunc' undeclared (first use in this function) (GtkListBoxSortFunc)device_sort_func, NULL, NULL); ^ bluetooth-settings-widget.c:1477:29: error: expected ')' before 'device_sort_func' (GtkListBoxSortFunc)device_sort_func, NULL, NULL); ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:30:0, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:25, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/local/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28, from /usr/local/include/gtk-3.0/gdk/gdk.h:32, from /usr/local/include/gtk-3.0/gtk/gtk.h:30, from bluetooth-settings-widget.c:25: bluetooth-settings-widget.c:1479:19: error: 'activate_row' undeclared (first use in this function) G_CALLBACK (activate_row), self); ^ /usr/include/glib-2.0/gobject/gsignal.h:506:60: note: in definition of macro 'g_signal_connect_swapped' g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, G_CONNECT_SWAPPED) ^ bluetooth-settings-widget.c:1479:7: note: in expansion of macro 'G_CALLBACK' G_CALLBACK (activate_row), self); ^ bluetooth-settings-widget.c:1481:2: error: implicit declaration of function 'gtk_revealer_new' [-Werror=implicit-function-declaration] priv->device_revealer = gtk_revealer_new (); ^ bluetooth-settings-widget.c:1481:2: warning: nested extern declaration of 'gtk_revealer_new' [-Wnested-externs] bluetooth-settings-widget.c:1481:24: warning: assignment makes pointer from integer without a cast [enabled by default] priv->device_revealer = gtk_revealer_new (); ^ bluetooth-settings-widget.c: In function 'row_inserted_cb': bluetooth-settings-widget.c:1583:2: error: implicit declaration of function 'gtk_revealer_set_reveal_child' [-Werror=implicit-function-declaration] gtk_revealer_set_reveal_child (GTK_REVEALER (priv->device_revealer), TRUE); ^ bluetooth-settings-widget.c:1583:2: warning: nested extern declaration of 'gtk_revealer_set_reveal_child' [-Wnested-externs] bluetooth-settings-widget.c:1583:2: error: implicit declaration of function 'GTK_REVEALER' [-Werror=implicit-function-declaration] bluetooth-settings-widget.c:1583:2: warning: nested extern declaration of 'GTK_REVEALER' [-Wnested-externs] bluetooth-settings-widget.c: In function 'setup_properties_dialog': bluetooth-settings-widget.c:1695:2: error: implicit declaration of function 'gtk_header_bar_new' [-Werror=implicit-function-declaration] priv->properties_header = header = gtk_header_bar_new (); ^ bluetooth-settings-widget.c:1695:2: warning: nested extern declaration of 'gtk_header_bar_new' [-Wnested-externs] bluetooth-settings-widget.c:1695:35: warning: assignment makes pointer from integer without a cast [enabled by default] priv->properties_header = header = gtk_header_bar_new (); ^ bluetooth-settings-widget.c:1697:2: error: implicit declaration of function 'gtk_header_bar_pack_end' [-Werror=implicit-function-declaration] gtk_header_bar_pack_end (GTK_HEADER_BAR (header), done); ^ bluetooth-settings-widget.c:1697:2: warning: nested extern declaration of 'gtk_header_bar_pack_end' [-Wnested-externs] bluetooth-settings-widget.c:1697:2: error: implicit declaration of function 'GTK_HEADER_BAR' [-Werror=implicit-function-declaration] bluetooth-settings-widget.c:1697:2: warning: nested extern declaration of 'GTK_HEADER_BAR' [-Wnested-externs] bluetooth-settings-widget.c:1704:2: error: implicit declaration of function 'gtk_header_bar_set_custom_title' [-Werror=implicit-function-declaration] gtk_header_bar_set_custom_title (GTK_HEADER_BAR (header), priv->properties_title); ^ bluetooth-settings-widget.c:1704:2: warning: nested extern declaration of 'gtk_header_bar_set_custom_title' [-Wnested-externs] bluetooth-settings-widget.c:1705:2: error: implicit declaration of function 'gtk_window_set_titlebar' [-Werror=implicit-function-declaration] gtk_window_set_titlebar (GTK_WINDOW (priv->properties_dialog), header); ^ bluetooth-settings-widget.c:1705:2: warning: nested extern declaration of 'gtk_window_set_titlebar' [-Wnested-externs] bluetooth-settings-widget.c: At top level: bluetooth-settings-widget.c:812:1: warning: 'create_callback' defined but not used [-Wunused-function] create_callback (GObject *source_object, ^ bluetooth-settings-widget.c:881:1: warning: 'device_name_appeared' defined but not used [-Wunused-function] device_name_appeared (GObject *gobject, ^ bluetooth-settings-widget.c:1288:1: warning: 'device_sort_func' defined but not used [-Wunused-function] device_sort_func (gconstpointer a, gconstpointer b, gpointer data) ^ cc1: some warnings being treated as errors make[3]: ** [bluetooth-settings-widget.lo] Erro 1 make[3]: Saindo do diretório `/home/weiller/Downloads/gnome-bluetooth-3.11.3/lib' make[2]: ** [all] Erro 2 make[2]: Saindo do diretório `/home/weiller/Downloads/gnome-bluetooth-3.11.3/lib' make[1]: ** [all-recursive] Erro 1 make[1]: Saindo do diretório `/home/weiller/Downloads/gnome-bluetooth-3.11.3' make: ** [all] Erro 2
> cc1: some warnings being treated as errors Closing.
Why?
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 722328 ***
Thank you Bastien Nocera.