Skip to content

Building failed #497

@yogatriardhana

Description

@yogatriardhana

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions