[GRASS-dev] undefined reference to gdal version 1.8

Rashad M mohammedrashadkm at gmail.com
Thu May 22 10:35:13 PDT 2014


Hi all,

 trying to build grass7.0 from release branch. I am getting lot of
undefined references

>From terminal :

/usr/bin/make -C g.mremove || echo /packages/grass70-7.0/general/g.mremove
>> /packages/grass70-7.0/error.log
make[4]: Entering directory `/packages/grass70-7.0/general/g.mremove'
test -d OBJ.x86_64-pc-linux-gnu || mkdir -p OBJ.x86_64-pc-linux-gnu
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
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
: && 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
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGRGeometryTypeToName at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to `OGR_G_GetY at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_F_SetGeometry at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_G_GetGeometryType at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to `OGR_F_Create at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to `OGR_F_GetFID at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_gproj.7.0.0svn.so: undefined reference to
`OSRGetLinearUnits at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_gproj.7.0.0svn.so: undefined reference to `OSRExportToWkt at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_gproj.7.0.0svn.so: undefined reference to `OSRGetAttrValue at GDAL_1.8
'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to `OGR_G_AddPoint at GDAL_1.8
'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_gproj.7.0.0svn.so: undefined reference to
`SetCSVFilenameHook at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_DS_GetLayerCount at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_L_CreateField at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_Fld_SetWidth at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to `CSLDestroy at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_G_AddGeometry at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_gproj.7.0.0svn.so: undefined reference to
`OSRExportToProj4 at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_L_ResetReading at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_Fld_Destroy at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_L_CommitTransaction at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_gproj.7.0.0svn.so: undefined reference to
`OSRMorphFromESRI at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_L_GetNextFeature at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_gproj.7.0.0svn.so: undefined reference to
`OSRExportToPrettyWkt at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_G_GetPointCount at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_gproj.7.0.0svn.so: undefined reference to `OSRMorphToESRI at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to `OGR_Dr_GetName at GDAL_1.8
'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_L_GetFIDColumn at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_gproj.7.0.0svn.so: undefined reference to
`OSRImportFromProj4 at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_F_GetGeometryRef at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`CSLSetNameValue at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_gproj.7.0.0svn.so: undefined reference to
`OSRDestroySpatialReference at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_DS_GetLayerByName at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_L_TestCapability at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_DS_GetLayer at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to `OGR_F_Destroy at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_L_GetLayerDefn at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to `OGR_Fld_Create at GDAL_1.8
'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_gproj.7.0.0svn.so: undefined reference to `VSIFree at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to `OGRRegisterAll at GDAL_1.8
'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to `OGR_G_GetZ at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_FD_GetFieldIndex at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_F_SetFieldInteger at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGRGetDriverByName at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_F_GetFieldIndex at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to `OGROpen at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_L_GetFeature at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_gproj.7.0.0svn.so: undefined reference to `OSRIsProjected at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_G_GetGeometryCount at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_FD_GetGeomType at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_G_CreateGeometry at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_F_UnsetField at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_G_DestroyGeometry at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_L_StartTransaction at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_DS_DeleteLayer at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_gproj.7.0.0svn.so: undefined reference to
`OSRNewSpatialReference at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_L_CreateFeature at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_L_GetFeatureCount at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_G_GetGeometryRef at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_gproj.7.0.0svn.so: undefined reference to `OSRIsGeographic at GDAL_1.8
'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_Dr_CreateDataSource at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_F_SetFieldString at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_DS_GetDriver at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to `OGR_FD_GetName at GDAL_1.8
'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to `OGR_DS_Destroy at GDAL_1.8
'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_F_SetFieldDouble at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_DS_CreateLayer at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to
`OGR_L_DeleteFeature at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_gproj.7.0.0svn.so: undefined reference to `OSRGetUTMZone at GDAL_1.8'
/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/lib/
libgrass_vector.7.0.0svn.so: undefined reference to `OGR_G_GetX at GDAL_1.8'
collect2: ld returned 1 exit status
make[4]: *** [/packages/grass70-7.0/dist.x86_64-pc-linux-gnu/bin/g.mremove]
Error 1


-- 
Regards,
   Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140522/45d3b0d7/attachment-0001.html>


More information about the grass-dev mailing list