Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building failed #497

Open
yogatriardhana opened this issue Mar 20, 2019 · 1 comment
Open

Building failed #497

yogatriardhana opened this issue Mar 20, 2019 · 1 comment

Comments

@yogatriardhana
Copy link

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
Copy link

csallen2 commented Mar 20, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants