WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Make error in Ubuntu 20.04 #505

@mkonik1

Description

@mkonik1

The ./configure works fine, but when running make, I get this error:
make[1]: Entering directory '/home/mk/ASF_MapReady/src/libasf_proj'
gcc -O4 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_ISOC99_SOURCE -Dlinux -D_PKG_MAPREADY -DASF_LIL_ENDIAN -DASF_LIL_IEEE -I. -I../../include -DMAKE_VER -I/usr/include/hdf5/serial -I/usr/include/geotiff -I/usr/include/hdf5/serial "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1" -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/x86_64-linux-gnu -I/usr/include/geotiff -c -o geotiff_support.o geotiff_support.c
In file included from geotiff_support.c:5:
/usr/include/geotiff/geo_keyp.h:113:4: error: unknown type name ‘PJ_CONTEXT’
113 | PJ_CONTEXT pj_context; / PROJ context */
| ^~~~~~~~~~
make[1]: *** [: geotiff_support.o] Error 1
make[1]: Leaving directory '/home/mk/ASF_MapReady/src/libasf_proj'
make: *** [Makefile:300: mapready] Error 2

Can you please help me address this issue?
Thank you,
Marta

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