<div dir="ltr">Hi all,<div><br></div><div> trying to build grass7.0 from release branch. I am getting lot of undefined references</div><div><br></div><div>From terminal :</div><div><br></div><div><div>/usr/bin/make -C g.mremove || echo /packages/grass70-7.0/general/g.mremove >> /packages/grass70-7.0/error.log</div>

<div>make[4]: Entering directory `/packages/grass70-7.0/general/g.mremove'</div><div>test -d OBJ.x86_64-pc-linux-gnu || mkdir -p OBJ.x86_64-pc-linux-gnu</div><div>gcc -D_FORTIFY_SOURCE=2 -Wall -g -O   -I/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/include -I/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/include   -I/usr/include/gdal -I/usr/include -DPACKAGE=\""grassmods"\"  -I/usr/include/postgresql -I/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/include -I/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/include -o OBJ.x86_64-pc-linux-gnu/check_reclass.o -c check_reclass.c</div>

<div>gcc -D_FORTIFY_SOURCE=2 -Wall -g -O   -I/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/include -I/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/include   -I/usr/include/gdal -I/usr/include -DPACKAGE=\""grassmods"\"  -I/usr/include/postgresql -I/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/include -I/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/include -o OBJ.x86_64-pc-linux-gnu/main.o -c main.c</div>

<div>: && gcc -L/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib -L/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--export-dynamic -Wl,-rpath-link,/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib  -o /packages/grass70-7.0/dist.x86_64-pc-linux-gnu/bin/g.mremove OBJ.x86_64-pc-linux-gnu/check_reclass.o OBJ.x86_64-pc-linux-gnu/main.o    -lgrass_manage.7.0.0svn -lgrass_raster.7.0.0svn -lgrass_gis.7.0.0svn  -lm </div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGRGeometryTypeToName@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_G_GetY@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_F_SetGeometry@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_G_GetGeometryType@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_F_Create@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_F_GetFID@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_gproj.7.0.0svn.so">libgrass_gproj.7.0.0svn.so</a>: undefined reference to `OSRGetLinearUnits@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_gproj.7.0.0svn.so">libgrass_gproj.7.0.0svn.so</a>: undefined reference to `OSRExportToWkt@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_gproj.7.0.0svn.so">libgrass_gproj.7.0.0svn.so</a>: undefined reference to `OSRGetAttrValue@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_G_AddPoint@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_gproj.7.0.0svn.so">libgrass_gproj.7.0.0svn.so</a>: undefined reference to `SetCSVFilenameHook@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_DS_GetLayerCount@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_L_CreateField@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_Fld_SetWidth@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `CSLDestroy@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_G_AddGeometry@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_gproj.7.0.0svn.so">libgrass_gproj.7.0.0svn.so</a>: undefined reference to `OSRExportToProj4@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_L_ResetReading@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_Fld_Destroy@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_L_CommitTransaction@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_gproj.7.0.0svn.so">libgrass_gproj.7.0.0svn.so</a>: undefined reference to `OSRMorphFromESRI@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_L_GetNextFeature@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_gproj.7.0.0svn.so">libgrass_gproj.7.0.0svn.so</a>: undefined reference to `OSRExportToPrettyWkt@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_G_GetPointCount@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_gproj.7.0.0svn.so">libgrass_gproj.7.0.0svn.so</a>: undefined reference to `OSRMorphToESRI@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_Dr_GetName@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_L_GetFIDColumn@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_gproj.7.0.0svn.so">libgrass_gproj.7.0.0svn.so</a>: undefined reference to `OSRImportFromProj4@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_F_GetGeometryRef@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `CSLSetNameValue@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_gproj.7.0.0svn.so">libgrass_gproj.7.0.0svn.so</a>: undefined reference to `OSRDestroySpatialReference@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_DS_GetLayerByName@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_L_TestCapability@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_DS_GetLayer@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_F_Destroy@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_L_GetLayerDefn@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_Fld_Create@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_gproj.7.0.0svn.so">libgrass_gproj.7.0.0svn.so</a>: undefined reference to `VSIFree@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGRRegisterAll@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_G_GetZ@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_FD_GetFieldIndex@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_F_SetFieldInteger@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGRGetDriverByName@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_F_GetFieldIndex@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGROpen@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_L_GetFeature@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_gproj.7.0.0svn.so">libgrass_gproj.7.0.0svn.so</a>: undefined reference to `OSRIsProjected@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_G_GetGeometryCount@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_FD_GetGeomType@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_G_CreateGeometry@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_F_UnsetField@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_G_DestroyGeometry@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_L_StartTransaction@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_DS_DeleteLayer@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_gproj.7.0.0svn.so">libgrass_gproj.7.0.0svn.so</a>: undefined reference to `OSRNewSpatialReference@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_L_CreateFeature@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_L_GetFeatureCount@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_G_GetGeometryRef@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_gproj.7.0.0svn.so">libgrass_gproj.7.0.0svn.so</a>: undefined reference to `OSRIsGeographic@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_Dr_CreateDataSource@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_F_SetFieldString@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_DS_GetDriver@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_FD_GetName@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_DS_Destroy@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_F_SetFieldDouble@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_DS_CreateLayer@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_L_DeleteFeature@GDAL_1.8'</div><div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_gproj.7.0.0svn.so">libgrass_gproj.7.0.0svn.so</a>: undefined reference to `OSRGetUTMZone@GDAL_1.8'</div>

<div>/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/<a href="http://libgrass_vector.7.0.0svn.so">libgrass_vector.7.0.0svn.so</a>: undefined reference to `OGR_G_GetX@GDAL_1.8'</div><div>collect2: ld returned 1 exit status</div>

<div>make[4]: *** [/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/bin/g.mremove] Error 1</div><div><br></div><div><br></div>-- <br><div><font face="arial, helvetica, sans-serif">Regards,<br>   Rashad</font></div>
</div></div>