Re: gnumeric-1.12.20 fails to compile



It looks like you need to upgrade goffice first.

Morten


On Fri, Mar 6, 2015 at 7:56 PM, Grant <emailgrant gmail com> wrote:
When I try to compile gnumeric-1.12.20 on Gentoo I get the following.
Can anyone tell me how to fix this?

- Grant


/bin/sh ../../libtool  --tag=CC   --mode=compile
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..
-DGNOMELOCALEDIR=\""/usr/share/locale"\"
-DGNUMERIC_DATADIR=\""/usr/share/gnumeric/1.12.20"\" -I../..
-I../../src -I../../src/tools -DGNUMERIC_INTERNAL -pthread
-I/usr/include/libgoffice-0.10 -I/usr/include/libgsf-1
-I/usr/include/libxml2 -I/usr/include/gtk-3.0
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/gtk-3.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/harfbuzz
-I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -march=native
-O2 -pipe -fomit-frame-pointer  -Wall  -Wsign-compare -Wpointer-arith
-Wchar-subscripts -Wwrite-strings -Wdeclaration-after-statement
-Wnested-externs -Wmissing-noreturn -Werror=missing-prototypes
-Werror=nested-externs -Werror=implicit-function-declaration
-Wmissing-declarations -Wno-pointer-sign -Werror=format-security
-Wstrict-prototypes -c -o dialog-col-width.lo dialog-col-width.c
dialog-cell-format.c: In function 'build_validation_error_combo':
dialog-cell-format.c:1833:4: error: implicit declaration of function
'go_gtk_widget_render_icon_pixbuf'
[-Werror=implicit-function-declaration]
    ? go_gtk_widget_render_icon_pixbuf (GTK_WIDGET (wbcg_toplevel
(state->wbcg)),
    ^
dialog-cell-format.c:1833:4: error: nested extern declaration of
'go_gtk_widget_render_icon_pixbuf' [-Werror=nested-externs]
dialog-cell-format.c:1835:4: warning: pointer/integer type mismatch in
conditional expression [enabled by default]
    : NULL;
    ^
cc1: some warnings being treated as errors
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..
-DGNOMELOCALEDIR=\"/usr/share/locale\"
-DGNUMERIC_DATADIR=\"/usr/share/gnumeric/1.12.20\" -I../.. -I../../src
-I../../src/tools -DGNUMERIC_INTERNAL -pthread
-I/usr/include/libgoffice-0.10 -I/usr/include/libgsf-1
-I/usr/include/libxml2 -I/usr/include/gtk-3.0
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/gtk-3.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/harfbuzz
-I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -march=native
-O2 -pipe -fomit-frame-pointer -Wall -Wsign-compare -Wpointer-arith
-Wchar-subscripts -Wwrite-strings -Wdeclaration-after-statement
-Wnested-externs -Wmissing-noreturn -Werror=missing-prototypes
-Werror=nested-externs -Werror=implicit-function-declaration
-Wmissing-declarations -Wno-pointer-sign -Werror=format-security
-Wstrict-prototypes -c dialog-col-width.c  -fPIC -DPIC -o
.libs/dialog-col-width.o
Makefile:750: recipe for target 'dialog-cell-format.lo' failed
make[5]: *** [dialog-cell-format.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
dialog-cell-sort.c: In function 'dialog_cell_sort':
dialog-cell-sort.c:1173:3: error: implicit declaration of function
'go_gtk_widget_render_icon_pixbuf'
[-Werror=implicit-function-declaration]
   go_gtk_widget_render_icon_pixbuf (state->dialog,
   ^
dialog-cell-sort.c:1173:3: error: nested extern declaration of
'go_gtk_widget_render_icon_pixbuf' [-Werror=nested-externs]
dialog-cell-sort.c:1172:25: warning: assignment makes pointer from
integer without a cast [enabled by default]
  state->image_ascending =
                         ^
dialog-cell-sort.c:1176:26: warning: assignment makes pointer from
integer without a cast [enabled by default]
  state->image_descending =
                          ^
cc1: some warnings being treated as errors
Makefile:750: recipe for target 'dialog-cell-sort.lo' failed
make[5]: *** [dialog-cell-sort.lo] Error 1
make[5]: Leaving directory
'/var/tmp/portage/app-office/gnumeric-1.12.20/work/gnumeric-1.12.20/src/dialogs'
Makefile:606: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory
'/var/tmp/portage/app-office/gnumeric-1.12.20/work/gnumeric-1.12.20/src/dialogs'
Makefile:2330: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
'/var/tmp/portage/app-office/gnumeric-1.12.20/work/gnumeric-1.12.20/src'
Makefile:1066: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory
'/var/tmp/portage/app-office/gnumeric-1.12.20/work/gnumeric-1.12.20/src'
Makefile:644: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'/var/tmp/portage/app-office/gnumeric-1.12.20/work/gnumeric-1.12.20'
Makefile:500: recipe for target 'all' failed
make: *** [all] Error 2
_______________________________________________
gnumeric-list mailing list
gnumeric-list gnome org
https://mail.gnome.org/mailman/listinfo/gnumeric-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]