It seems to me that frmts/gtiff/libgeotiff/GNUmakefile should also override the default rule for %.$(OBJ_EXT) in GDALmake.opt

%.$(OBJ_EXT):    %.c
    $(CC) $(GDAL_INCLUDE) $(ALL_C_FLAGS) -c -o $@ $<

in addition to the rule for ../../o/%.$(OBJ_EXT)

BTW, could somebody explain why the two sets of .lo and .o: one in current directory and one in ../../frmts/o?


On 12.04.2018 09:56, Ari Jolma wrote:
The file frmts/gtiff/libgeotiff/xtiffio.h #include's "tiffio.h", which is in frmts/gtiff/libtiff. However, when compiling in this directory frmts/gtiff/libtiff is not included.

In my Linux Mint the compiler picks up tiffio.h from /usr/include/x86_64-linux-gnu/ but when I compile in freebsd I get ./xtiffio.h:10:10: fatal error: 'tiffio.h' file not found

This was caught by a CPAN tester testing Alien::gdal (a Perl package which downloads and compiles GDAL):

Am I missing something or is this a bug / configuration error?


gdal-dev mailing list

Reply via email to