You are not logged in.

#1 2012-09-16 07:38:26

Rukiri
Member
Registered: 2011-11-08
Posts: 45

gnome-globalmenu-git make errors

[root@sparky globalmenu]# git clone git://github.com/gnome-globalmenu/gnome-globalmenu.git
Cloning into 'gnome-globalmenu'...
remote: Counting objects: 13188, done.
remote: Compressing objects: 100% (3944/3944), done.
remote: Total 13188 (delta 9209), reused 13106 (delta 9127)
Receiving objects: 100% (13188/13188), 7.73 MiB | 2.57 MiB/s, done.
Resolving deltas: 100% (9209/9209), done.
[root@sparky globalmenu]# cd gnome-globalmenu
[root@sparky gnome-globalmenu]# git checkout gnome-3
Branch gnome-3 set up to track remote branch gnome-3 from origin.
Switched to a new branch 'gnome-3'
[root@sparky gnome-globalmenu]# cp ../gnome-globalmenu-0.9.alpha5/src/{module.c,header.h,header-gtk2.h} ./src
[root@sparky gnome-globalmenu]# autoreconf -force -install -verbose
autoreconf: unrecognized option '-orce'.
autoreconf: Try '/usr/bin/autoreconf --help' for more information.
[root@sparky gnome-globalmenu]# autoreconf --force --install --verbose
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory autotools
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autotools'.
libtoolize: copying file `autotools/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `autotools'.
libtoolize: copying file `autotools/libtool.m4'
libtoolize: copying file `autotools/ltoptions.m4'
libtoolize: copying file `autotools/ltsugar.m4'
libtoolize: copying file `autotools/ltversion.m4'
libtoolize: copying file `autotools/lt~obsolete.m4'
libtoolize: Consider adding `-I autotools' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:17: installing 'autotools/compile'
configure.ac:21: installing 'autotools/config.guess'
configure.ac:21: installing 'autotools/config.sub'
configure.ac:7: installing 'autotools/install-sh'
configure.ac:7: installing 'autotools/missing'
Makefile.am: installing './INSTALL'
src/Makefile.am: installing 'autotools/depcomp'
src/Makefile.am:3: warning: 'VALAFLAGS' is a user variable, you should not override it;
src/Makefile.am:3: use 'AM_VALAFLAGS' instead
autoreconf: Leaving directory `.'
[root@sparky gnome-globalmenu]# ./autogen.sh -prefix=/usr
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I autotools 
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: Consider adding `-I autotools' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
src/Makefile.am:3: warning: 'VALAFLAGS' is a user variable, you should not override it;
src/Makefile.am:3: use 'AM_VALAFLAGS' instead
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... 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 whether gcc and cc understand -c and -o together... yes
checking for valac... /usr/bin/valac
checking /usr/bin/valac is at least version 0.12.0... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-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... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/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 x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-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... no
checking if : 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 -m elf_x86_64) 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 for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
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 locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking whether NLS is requested... yes
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... (cached) /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.16.1
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 gobject-introspection... yes
checking for GLIB... yes
checking for GTK3... yes
checking for GTK2... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating extension/Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
[root@sparky gnome-globalmenu]# make
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /root/globalmenu/gnome-globalmenu/autotools/missing --run autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory `/root/globalmenu/gnome-globalmenu'
Making all in src
make[2]: Entering directory `/root/globalmenu/gnome-globalmenu/src'
gcc -E -P -C -DGTK_VERSION=2 -o client-gtk2.vala - < client.vala
<stdin>:252:25: warning: missing terminating " character [enabled by default]
<stdin>:267:4: warning: missing terminating " character [enabled by default]
gcc -E -P -C -DGTK_VERSION=2 -o gtk-menubar-gtk2.vala - < gtk-menubar.vala
gcc -E -P -C -DGTK_VERSION=2 -o superrider-gtk2.vala - < superrider.vala
make  all-am
make[3]: Entering directory `/root/globalmenu/gnome-globalmenu/src'
rm -f libglobalmenu_gtk2_la_vala.stamp && echo stamp > libglobalmenu_gtk2_la_vala.stamp-t
CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/valac --internal-header header-gtk2.h -D GTK_VERSION=2 --pkg gtk+-2.0 --pkg gdk-x11-2.0 --pkg gio-2.0  -C client-gtk2.vala superrider-gtk2.vala gtk-menubar-gtk2.vala
client-gtk2.vala:257.3-257.47: warning: unhandled error `GLib.Error'
  uiman.add_ui_from_string(uidef, uidef.length);
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation succeeded - 1 warning(s)
mv -f libglobalmenu_gtk2_la_vala.stamp-t libglobalmenu_gtk2_la_vala.stamp
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15   -DGTK_VERSION=2   -g -O2 -MT libglobalmenu_gtk2_la-client-gtk2.lo -MD -MP -MF .deps/libglobalmenu_gtk2_la-client-gtk2.Tpo -c -o libglobalmenu_gtk2_la-client-gtk2.lo `test -f 'client-gtk2.c' || echo './'`client-gtk2.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -DGTK_VERSION=2 -g -O2 -MT libglobalmenu_gtk2_la-client-gtk2.lo -MD -MP -MF .deps/libglobalmenu_gtk2_la-client-gtk2.Tpo -c client-gtk2.c  -fPIC -DPIC -o .libs/libglobalmenu_gtk2_la-client-gtk2.o
client-gtk2.c: In function 'menu_get_widget':
client-gtk2.c:1103:13: warning: assignment from incompatible pointer type [enabled by default]
mv -f .deps/libglobalmenu_gtk2_la-client-gtk2.Tpo .deps/libglobalmenu_gtk2_la-client-gtk2.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15   -DGTK_VERSION=2   -g -O2 -MT libglobalmenu_gtk2_la-module.lo -MD -MP -MF .deps/libglobalmenu_gtk2_la-module.Tpo -c -o libglobalmenu_gtk2_la-module.lo `test -f 'module.c' || echo './'`module.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -DGTK_VERSION=2 -g -O2 -MT libglobalmenu_gtk2_la-module.lo -MD -MP -MF .deps/libglobalmenu_gtk2_la-module.Tpo -c module.c  -fPIC -DPIC -o .libs/libglobalmenu_gtk2_la-module.o
module.c: In function 'hook':
module.c:13:3: warning: passing argument 1 of 'menu_has_registered' from incompatible pointer type [enabled by default]
In file included from module.c:5:0:
./header-gtk2.h:133:10: note: expected 'struct GtkMenuShell *' but argument is of type 'struct GObject *'
module.c:14:4: warning: passing argument 1 of 'menu_register' from incompatible pointer type [enabled by default]
In file included from module.c:5:0:
./header-gtk2.h:131:6: note: expected 'struct GtkMenuShell *' but argument is of type 'struct GObject *'
mv -f .deps/libglobalmenu_gtk2_la-module.Tpo .deps/libglobalmenu_gtk2_la-module.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15   -DGTK_VERSION=2   -g -O2 -MT libglobalmenu_gtk2_la-superrider-gtk2.lo -MD -MP -MF .deps/libglobalmenu_gtk2_la-superrider-gtk2.Tpo -c -o libglobalmenu_gtk2_la-superrider-gtk2.lo `test -f 'superrider-gtk2.c' || echo './'`superrider-gtk2.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -DGTK_VERSION=2 -g -O2 -MT libglobalmenu_gtk2_la-superrider-gtk2.lo -MD -MP -MF .deps/libglobalmenu_gtk2_la-superrider-gtk2.Tpo -c superrider-gtk2.c  -fPIC -DPIC -o .libs/libglobalmenu_gtk2_la-superrider-gtk2.o
superrider-gtk2.c: In function 'superrider_get_class':
superrider-gtk2.c:144:4: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
superrider-gtk2.c: In function 'superrider_member_pop':
superrider-gtk2.c:674:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
superrider-gtk2.c: In function 'superrider_member_peek_super':
superrider-gtk2.c:702:10: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
superrider-gtk2.c: In function 'superrider_member_finalize':
superrider-gtk2.c:848:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
mv -f .deps/libglobalmenu_gtk2_la-superrider-gtk2.Tpo .deps/libglobalmenu_gtk2_la-superrider-gtk2.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15   -DGTK_VERSION=2   -g -O2 -MT libglobalmenu_gtk2_la-gtk-menubar-gtk2.lo -MD -MP -MF .deps/libglobalmenu_gtk2_la-gtk-menubar-gtk2.Tpo -c -o libglobalmenu_gtk2_la-gtk-menubar-gtk2.lo `test -f 'gtk-menubar-gtk2.c' || echo './'`gtk-menubar-gtk2.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -DGTK_VERSION=2 -g -O2 -MT libglobalmenu_gtk2_la-gtk-menubar-gtk2.lo -MD -MP -MF .deps/libglobalmenu_gtk2_la-gtk-menubar-gtk2.Tpo -c gtk-menubar-gtk2.c  -fPIC -DPIC -o .libs/libglobalmenu_gtk2_la-gtk-menubar-gtk2.o
mv -f .deps/libglobalmenu_gtk2_la-gtk-menubar-gtk2.Tpo .deps/libglobalmenu_gtk2_la-gtk-menubar-gtk2.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2 -module -avoid-version  -o libglobalmenu-gtk2.la -rpath /usr/lib/gtk-2.0/modules libglobalmenu_gtk2_la-client-gtk2.lo libglobalmenu_gtk2_la-module.lo libglobalmenu_gtk2_la-superrider-gtk2.lo libglobalmenu_gtk2_la-gtk-menubar-gtk2.lo -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lgio-2.0 -lgobject-2.0 -lglib-2.0   -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0   
libtool: link: gcc -shared  -fPIC -DPIC  .libs/libglobalmenu_gtk2_la-client-gtk2.o .libs/libglobalmenu_gtk2_la-module.o .libs/libglobalmenu_gtk2_la-superrider-gtk2.o .libs/libglobalmenu_gtk2_la-gtk-menubar-gtk2.o   -lgmodule-2.0 -lrt -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0  -O2 -Wl,--export-dynamic -pthread   -pthread -Wl,-soname -Wl,libglobalmenu-gtk2.so -o .libs/libglobalmenu-gtk2.so
libtool: link: ( cd ".libs" && rm -f "libglobalmenu-gtk2.la" && ln -s "../libglobalmenu-gtk2.la" "libglobalmenu-gtk2.la" )
rm -f libglobalmenu_gtk_la_vala.stamp && echo stamp > libglobalmenu_gtk_la_vala.stamp-t
CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/valac --internal-header header.h -D GTK_VERSION=3 --pkg gtk+-3.0  --pkg gdk-x11-3.0 --pkg gio-2.0  -C client.vala superrider.vala gtk-menubar.vala
client.vala:285.3-285.47: warning: unhandled error `GLib.Error'
		uiman.add_ui_from_string(uidef, uidef.length);
		^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation succeeded - 1 warning(s)
mv -f libglobalmenu_gtk_la_vala.stamp-t libglobalmenu_gtk_la_vala.stamp
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng15   -DGTK_VERSION=3   -g -O2 -MT libglobalmenu_gtk_la-client.lo -MD -MP -MF .deps/libglobalmenu_gtk_la-client.Tpo -c -o libglobalmenu_gtk_la-client.lo `test -f 'client.c' || echo './'`client.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng15 -DGTK_VERSION=3 -g -O2 -MT libglobalmenu_gtk_la-client.lo -MD -MP -MF .deps/libglobalmenu_gtk_la-client.Tpo -c client.c  -fPIC -DPIC -o .libs/libglobalmenu_gtk_la-client.o
client.c: In function 'menu_get_widget':
client.c:1102:13: warning: assignment from incompatible pointer type [enabled by default]
mv -f .deps/libglobalmenu_gtk_la-client.Tpo .deps/libglobalmenu_gtk_la-client.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng15   -DGTK_VERSION=3   -g -O2 -MT libglobalmenu_gtk_la-module.lo -MD -MP -MF .deps/libglobalmenu_gtk_la-module.Tpo -c -o libglobalmenu_gtk_la-module.lo `test -f 'module.c' || echo './'`module.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng15 -DGTK_VERSION=3 -g -O2 -MT libglobalmenu_gtk_la-module.lo -MD -MP -MF .deps/libglobalmenu_gtk_la-module.Tpo -c module.c  -fPIC -DPIC -o .libs/libglobalmenu_gtk_la-module.o
module.c: In function 'hook':
module.c:13:3: warning: passing argument 1 of 'menu_has_registered' from incompatible pointer type [enabled by default]
In file included from module.c:3:0:
./header.h:133:10: note: expected 'struct GtkMenuShell *' but argument is of type 'struct GObject *'
module.c:14:4: warning: passing argument 1 of 'menu_register' from incompatible pointer type [enabled by default]
In file included from module.c:3:0:
./header.h:131:6: note: expected 'struct GtkMenuShell *' but argument is of type 'struct GObject *'
mv -f .deps/libglobalmenu_gtk_la-module.Tpo .deps/libglobalmenu_gtk_la-module.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng15   -DGTK_VERSION=3   -g -O2 -MT libglobalmenu_gtk_la-superrider.lo -MD -MP -MF .deps/libglobalmenu_gtk_la-superrider.Tpo -c -o libglobalmenu_gtk_la-superrider.lo `test -f 'superrider.c' || echo './'`superrider.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng15 -DGTK_VERSION=3 -g -O2 -MT libglobalmenu_gtk_la-superrider.lo -MD -MP -MF .deps/libglobalmenu_gtk_la-superrider.Tpo -c superrider.c  -fPIC -DPIC -o .libs/libglobalmenu_gtk_la-superrider.o
superrider.c: In function 'superrider_get_class':
superrider.c:144:4: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
superrider.c: In function 'superrider_member_pop':
superrider.c:674:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
superrider.c: In function 'superrider_member_peek_super':
superrider.c:702:10: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
superrider.c: In function 'superrider_member_finalize':
superrider.c:848:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
mv -f .deps/libglobalmenu_gtk_la-superrider.Tpo .deps/libglobalmenu_gtk_la-superrider.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng15   -DGTK_VERSION=3   -g -O2 -MT libglobalmenu_gtk_la-gtk-menubar.lo -MD -MP -MF .deps/libglobalmenu_gtk_la-gtk-menubar.Tpo -c -o libglobalmenu_gtk_la-gtk-menubar.lo `test -f 'gtk-menubar.c' || echo './'`gtk-menubar.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng15 -DGTK_VERSION=3 -g -O2 -MT libglobalmenu_gtk_la-gtk-menubar.lo -MD -MP -MF .deps/libglobalmenu_gtk_la-gtk-menubar.Tpo -c gtk-menubar.c  -fPIC -DPIC -o .libs/libglobalmenu_gtk_la-gtk-menubar.o
mv -f .deps/libglobalmenu_gtk_la-gtk-menubar.Tpo .deps/libglobalmenu_gtk_la-gtk-menubar.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2 -module -avoid-version  -o libglobalmenu-gtk.la -rpath /usr/lib/gtk-3.0/modules libglobalmenu_gtk_la-client.lo libglobalmenu_gtk_la-module.lo libglobalmenu_gtk_la-superrider.lo libglobalmenu_gtk_la-gtk-menubar.lo -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lgio-2.0 -lgobject-2.0 -lglib-2.0   -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0   
libtool: link: gcc -shared  -fPIC -DPIC  .libs/libglobalmenu_gtk_la-client.o .libs/libglobalmenu_gtk_la-module.o .libs/libglobalmenu_gtk_la-superrider.o .libs/libglobalmenu_gtk_la-gtk-menubar.o   -lgmodule-2.0 -lrt -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0  -O2 -Wl,--export-dynamic -pthread   -pthread -Wl,-soname -Wl,libglobalmenu-gtk.so -o .libs/libglobalmenu-gtk.so
libtool: link: ( cd ".libs" && rm -f "libglobalmenu-gtk.la" && ln -s "../libglobalmenu-gtk.la" "libglobalmenu-gtk.la" )
rm -f gnome_globalmenu_manager_vala.stamp && echo stamp > gnome_globalmenu_manager_vala.stamp-t
CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/valac  --pkg gio-2.0  -C manager.vala
manager.vala:15.2-15.47: error: field type `GLib.Datalist<KnownBusName?>` is less accessible than field `Manager.known_bus_names`
	public Datalist<KnownBusName?> known_bus_names;
	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
manager.vala:17.21-17.44: error: The name `get_data' does not exist in the context of `Manager.known_bus_names'
		KnownBusName? k = known_bus_names.get_data(sender);
		                  ^^^^^^^^^^^^^^^^^^^^^^^^
manager.vala:24.6-24.37: error: The name `remove_no_notify' does not exist in the context of `Manager.known_bus_names'
					known_bus_names.remove_no_notify(sender);
					^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
manager.vala:27.4-27.27: error: The name `set_data' does not exist in the context of `Manager.known_bus_names'
			known_bus_names.set_data(sender, k);
			^^^^^^^^^^^^^^^^^^^^^^^^
manager.vala:87.3-87.25: error: The name `foreach' does not exist in the context of `Manager.known_bus_names'
		known_bus_names.foreach(
		^^^^^^^^^^^^^^^^^^^^^^^
manager.vala:67.3-67.25: error: The name `foreach' does not exist in the context of `Manager.known_bus_names'
		known_bus_names.foreach(
		^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 6 error(s), 0 warning(s)
make[3]: *** [gnome_globalmenu_manager_vala.stamp] Error 1
make[3]: Leaving directory `/root/globalmenu/gnome-globalmenu/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/globalmenu/gnome-globalmenu/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/globalmenu/gnome-globalmenu'
make: *** [all] Error 2

Any ideas on how to fix this?

Offline

Board footer

Powered by FluxBB