[gdal-dev] gdal-2.4.3 build dies at libiso8211.a

Sean Darcy seandarcy2 at gmail.com
Thu Dec 12 19:37:32 PST 2019


Building gdal-2.4.3 on Fedora 31, gcc-9.2.1. This happens even though
configure has --disable-static, which is recognized:

checking whether to build shared libraries... yes
checking whether to build static libraries... no

Any suggestions appreciated.

sean

ar r libiso8211.a ddfmodule.lo ddfutils.lo ddffielddefn.lo
ddfrecord.lo ddffield.lo ddfsubfielddefn.lo
ar: creating libiso8211.a
ranlib libiso8211.a
/bin/sh /builddir/build/BUILD/gdal-2.4.2/libtool --mode=compile
--silent --tag=CXX g++ -I/builddir/build/BUILD/gdal-2.4.2/port
-I/builddir/build/BUILD/gdal-2.4.2/gcore
-I/builddir/build/BUILD/gdal-2.4.2/alg
-I/builddir/build/BUILD/gdal-2.4.2/ogr
-I/builddir/build/BUILD/gdal-2.4.2/ogr/ogrsf_frmts
-I/builddir/build/BUILD/gdal-2.4.2/gnm
-I/builddir/build/BUILD/gdal-2.4.2/apps -DHAVE_AVX_AT_COMPILE_TIME
-DHAVE_SSSE3_AT_COMPILE_TIME -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fpic -I/usr/include/libgeotiff -I/usr/include/tirpc  -Wall -Wextra
-Winit-self -Wunused-parameter -Wformat -Werror=format-security
-Wno-format-nonliteral -Wlogical-op -Wshadow -Werror=vla -Wdate-time
-Wnull-dereference -Wduplicated-cond -Wextra-semi -Wfloat-conversion
-Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual
-fno-operator-names -Wzero-as-null-pointer-constant -Wsuggest-override
-Wimplicit-fallthrough  -I. -I../../port -DGNM_ENABLED
-I/usr/include/libgeotiff -I/usr/include/tirpc
-I/builddir/build/BUILD/gdal-2.4.2/port -I/usr/include/openjpeg-2.3
-I/usr/include -Iexternal/include -I/usr/include/cfitsio
-DGDAL_COMPILATION -DHAVE_XERCES -I/usr/include -I/usr/include/xercesc
-I/usr/include/libgeotiff -I/usr/include/tirpc
-I/builddir/build/BUILD/gdal-2.4.2/port -I/usr/include/openjpeg-2.3
-I/usr/include -Iexternal/include -I/usr/include/cfitsio
-DGDAL_COMPILATION -c -o 8211dump.lo 8211dump.cpp
/bin/sh /builddir/build/BUILD/gdal-2.4.2/libtool --mode=link --silent
g++ -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld 8211dump.lo libiso8211.a
/builddir/build/BUILD/gdal-2.4.2/libgdal.la -o 8211dump
/usr/bin/ld: libiso8211.a: error adding symbols: archive has no index;
run ranlib to add one
collect2: error: ld returned 1 exit status
make: *** [GNUmakefile:33: 8211dump] Error 1


More information about the gdal-dev mailing list