asfadmin / ASF_MapReady

GNU General Public License v3.0
37 stars 21 forks source link

Building failed #497

Open yogatriardhana opened 5 years ago

yogatriardhana commented 5 years ago

Hi, I just trying to install mapready on Ubuntu 18.04. I failed on building with make. Here's what I got:

In file included from /usr/include/hdf5/serial/H5public.h:145:0, from /usr/include/hdf5/serial/hdf5.h:24, from ../../include/asf_meta.h:35, from asf_coregister.c:2: ../../include/ifm.h:30:13: error: two or more data types in declaration specifiers typedef int bool; ^ In file included from asf_coregister.c:7:0: ../../include/ifm.h:30:1: warning: useless type name in empty declaration typedef int bool; ^~~ asf_coregister.c: In function ‘read_ardop_params’: asf_coregister.c:389:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%f %f %f", &fd, &fdd, &fddd); ^~~~~~~~~~~~ asf_coregister.c:397:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%f %f %f %f", &sloper, &interr, &slopea, &intera); ^~~~~~~~~~~~~~~~ asf_coregister.c:402:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%f %f %f %f", &dsloper, &dinterr, &dslopea, &dintera); ^~~~~~~~~~~~~~~~ asf_coregister.c: In function ‘asf_coregister’: asf_coregister.c:621:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%lf%lf%lf%lf", &a, &b, &c, &d); ^~~~~~~~~~ asf_coregister.c:622:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%lf%lf%lf%lf", &e, &f, &g, &h); ^~~~~~~~~~

: recipe for target 'asf_coregister.o' failed make[1]: *** [asf_coregister.o] Error 1 make[1]: Leaving directory '/home/zectre/ASF_MapReady/src/libasf_insar' Makefile:290: recipe for target 'mapready' failed make: *** [mapready] Error 2 Could you please help me with with this? Thank you. Best regards
csallen2 commented 5 years ago

You just need more cowbell.

Cougar

On Tue, Mar 19, 2019 at 5:08 PM yogatriardhana notifications@github.com wrote:

Hi, I just trying to install mapready on Ubuntu 18.04. I failed on building with make. Here's what I got:

In file included from /usr/include/hdf5/serial/H5public.h:145:0, from /usr/include/hdf5/serial/hdf5.h:24, from ../../include/asf_meta.h:35, from asf_coregister.c:2: ../../include/ifm.h:30:13: error: two or more data types in declaration specifiers typedef int bool; ^ In file included from asf_coregister.c:7:0: ../../include/ifm.h:30:1: warning: useless type name in empty declaration typedef int bool; ^~~ asf_coregister.c: In function ‘read_ardop_params’: asf_coregister.c:389:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%f %f %f", &fd, &fdd, &fddd); ^~~~~~~~~~~~ asf_coregister.c:397:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%f %f %f %f", &sloper, &interr, &slopea, &intera); ^~~~~~~~~~~~~~~~ asf_coregister.c:402:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%f %f %f %f", &dsloper, &dinterr, &dslopea, &dintera); ^~~~~~~~~~~~~~~~ asf_coregister.c: In function ‘asf_coregister’: asf_coregister.c:621:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%lf%lf%lf%lf", &a, &b, &c, &d); ^~~~~~~~~~ asf_coregister.c:622:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%lf%lf%lf%lf", &e, &f, &g, &h); ^~~~~~~~~~ : recipe for target 'asf_coregister.o' failed make[1]: [asf_coregister.o] Error 1 make[1]: Leaving directory '/home/zectre/ASF_MapReady/src/libasf_insar' Makefile:290: recipe for target 'mapready' failed make: [mapready] Error 2

Could you please help me with with this? Thank you.

Best regards

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/asfadmin/ASF_MapReady/issues/497, or mute the thread https://github.com/notifications/unsubscribe-auth/AFcsO6gRVgELcQNVikb5c85Kld9gzH6iks5vYXv2gaJpZM4b9Xwk .

-- Clay Allen University of Alaska Fairbanks 907-699-8878