Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2017 11:43:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219190] graphics/gdal: ld error: undefined symbol
Message-ID:  <bug-219190-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219190

            Bug ID: 219190
           Summary: graphics/gdal: ld error: undefined symbol
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: ohartmann@walstatt.org
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

Updating recent ports tree on recent 12-CURRENT results in a
misconpilation/failure when linking, as shown below.

The system in question is FreeBSD 12.0-CURRENT #30 r317932: Mon May  8 06:4=
9:29
CEST 2017 amd64, and ports tree is at  revision 440554.

The host is compiled with WITH_LLD_IS_LLD=3Dyes!


[...]
c++ -std=3Dgnu++11 -I/usr/ports/graphics/gdal/work/gdal-2.2.0/port
-I/usr/ports/graphics/gdal/work/gdal-2.2.0/gcore
-I/usr/ports/graphics/gdal/work/gdal-2.2.0/alg
-I/usr/ports/graphics/gdal/work/gdal-2.2.0/ogr
-I/usr/ports/graphics/gdal/work/gdal-2.2.0/ogr/ogrsf_frmts
-I/usr/ports/graphics/gdal/work/gdal-2.2.0/gnm
-I/usr/ports/graphics/gdal/work/gdal-2.2.0/apps -DHAVE_AVX_AT_COMPILE_TIME
-DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -O2 -pipe -O3 -fPIC
-DLIBICONV_PLUG -fstack-protector -isystem /usr/local/include
-fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include -fPIC  -W=
all
-Wextra -Winit-self -Wunused-parameter -Wformat -Werror=3Dformat-security
-Wno-format-nonliteral -Wshorten-64-to-32 -Wshadow -Werror=3Dvla -Wdate-time
-Wnull-dereference -Wcomma -Wfloat-conversion -Wdocumentation
-Wno-documentation-deprecated-sync -Wunused-private-field -Wmissing-prototy=
pes
-Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual
-fno-operator-names -Wimplicit-fallthrough=20
-I/usr/ports/graphics/gdal/work/gdal-2.2.0/frmts/vrt -DGNM_ENABLED
-DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include
-I/usr/ports/graphics/gdal/work/gdal-2.2.0/port -I/usr/local/include -I/usr
-I/usr/include  -DGDAL_COMPILATION -I/usr/local/include/json-c
-I/usr/ports/graphics/gdal/work/gdal-2.2.0/ogr/ogrsf_frmts/geojson
-I/usr/ports/graphics/gdal/work/gdal-2.2.0/ogr/ogrsf_frmts/generic
-I/usr/ports/graphics/gdal/work/gdal-2.2.0/gnm -DHAVE_GEOS=3D1
-I/usr/local/include -c -o gdal_rasterize_bin.o gdal_rasterize_bin.cpp
c++ -std=3Dgnu++11 -L/usr/local/lib -fstack-protector gdal_rasterize_bin.o=
=20
-L/usr/ports/graphics/gdal/work/gdal-2.2.0 -lgdal  -L/usr/local/lib -lpoppl=
er
-ljson-c -L/usr/local/lib -lSFCGAL -L/usr/local/lib -lgeos_c -L/usr/local/l=
ib
-lexpat -lopenjp2 -ljasper -L/usr/local/lib -lnetcdf -lgif -ljpeg -lgeotiff
-ltiff -lpng -lcfitsio -L/usr/local/lib -lpq -llzma -lz -L/usr -L/usr/lib
-lpthread -lm -lrt -L/usr/local/lib   -L/usr/local/lib -lcurl=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
-o gdal_rasterize
/usr/bin/ld: error: gdal_rasterize_bin.cpp:(function main): undefined symbol
'GDALDriverManager::GetDriverCount() const'
/usr/bin/ld: error: gdal_rasterize_bin.cpp:(function main): undefined symbol
'GDALDriverManager::GetDriverCount() const'
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)
gmake[3]: *** [GNUmakefile:106: gdal_rasterize] Error 1
gmake[3]: Leaving directory '/usr/ports/graphics/gdal/work/gdal-2.2.0/apps'
gmake[2]: *** [GNUmakefile:93: apps-target] Error 2
gmake[2]: Leaving directory '/usr/ports/graphics/gdal/work/gdal-2.2.0'
*** Error code 1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219190-13>