Re: problem compiling Gnumeric on MSYS2



Dear all,

So next problem now.
It seems it fails during the linking process, apparently with goffice?
I did 'make install' of goffice, though.
I copy only the end of the ouput below, but I can provide the full output if necessary.

Any idea how to fix that?

Thanks and all the best,

Frédéric

---------------

C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./.libs/libspreadsheet.a(libspreadsheet_la-gnm-solver.o): in function `cb_gradient_iter': C:\msys64\home\parre\gnumeric\src/tools/gnm-solver.c:3348: undefined reference to `__imp_go_pinf' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\home\parre\gnumeric\src/tools/gnm-solver.c:3348: undefined reference to `__imp_go_pinf' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./.libs/libspreadsheet.a(libspreadsheet_la-gnm-solver.o): in function `get_cell_value': C:\msys64\home\parre\gnumeric\src/tools/gnm-solver.c:1276: undefined reference to `__imp_go_nan' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./.libs/libspreadsheet.a(libspreadsheet_la-cell.o): in function `gnm_cell_get_text_for_editing': C:\msys64\home\parre\gnumeric\src/cell.c:883: undefined reference to `__imp_go_font_metrics_unit' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./.libs/libspreadsheet.a(libspreadsheet_la-cell.o): in function `render_percentage': C:\msys64\home\parre\gnumeric\src/cell.c:815: undefined reference to `__imp_go_font_metrics_unit' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./.libs/libspreadsheet.a(libspreadsheet_la-expr-deriv.o): in function `gnm_expr_cell_deriv_value': C:\msys64\home\parre\gnumeric\src/expr-deriv.c:757: undefined reference to `__imp_go_nan' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\home\parre\gnumeric\src/expr-deriv.c:749: undefined reference to `__imp_go_nan' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./.libs/libspreadsheet.a(libspreadsheet_la-gnm-datetime.o): in function `yearfrac': C:\msys64\home\parre\gnumeric\src/gnm-datetime.c:159: undefined reference to `__imp_go_nan' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./.libs/libspreadsheet.a(libspreadsheet_la-gnm-random.o): in function `random_gamma': C:\msys64\home\parre\gnumeric\src/gnm-random.c:701: undefined reference to `__imp_go_nan' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./.libs/libspreadsheet.a(libspreadsheet_la-gnm-random.o): in function `random_exppow': C:\msys64\home\parre\gnumeric\src/gnm-random.c:1062: undefined reference to `__imp_go_nan' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./.libs/libspreadsheet.a(libspreadsheet_la-graph.o):C:\msys64\home\parre\gnumeric\src/graph.c:840: more undefined references to `__imp_go_nan' follow
collect2.exe: error: ld returned 1 exit status
make[3]: *** [Makefile:2040: gnumeric.exe] Error 1
make[3]: Leaving directory '/home/parre/gnumeric/src'
make[2]: *** [Makefile:1655: all] Error 2
make[2]: Leaving directory '/home/parre/gnumeric/src'
make[1]: *** [Makefile:661: all-recursive] Error 1
make[1]: Leaving directory '/home/parre/gnumeric'
make: *** [Makefile:520: all] Error 2



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