RES: RES: RES: [Gdal-dev] Compiling GDAL
Gabriel Moricz
gabriel at autofax.com.br
Wed Apr 14 12:12:31 EDT 2004
Hello Frank...
Well...I have compiled GDAL, and now trying to compile MapServer...
well it gave a error like always
My configure Was:
./configure --with-gd=/usr/local --with-proj=/usr/local --with-gdal=/usr/loc
al/bin/gdal-config --with-ogr=/usr/local/bin/gdal-config --with-curl-config=
/usr/local/bin --with-wmsclient --with-ming --with-postgis=/usr/local/pgsql/
bin/pg_config --with-wms --with-wfsclient --with-httpd=/usr/sbin/apache
the mapserver error is very big:
./libmap.a(mapgdal.o): In function `msGDALInitialize':
mapgdal.o(.text+0x10): undefined reference to `GDALAllRegister'
mapgdal.o(.text+0x18): undefined reference to `CPLQuietErrorHandler'
mapgdal.o(.text+0x1d): undefined reference to `CPLPushErrorHandler'
./libmap.a(mapgdal.o): In function `msGDALCleanup':
mapgdal.o(.text+0x40): undefined reference to `GDALDestroyDriverManager'
./libmap.a(mapgdal.o): In function `msSaveImageGDAL':
mapgdal.o(.text+0x1c9): undefined reference to `GDALGetDriverByName'
mapgdal.o(.text+0x202): undefined reference to `GDALCreate'
mapgdal.o(.text+0x25f): undefined reference to `GDALGetRasterBand'
mapgdal.o(.text+0x3a6): undefined reference to `GDALRasterIO'
mapgdal.o(.text+0x3ff): undefined reference to `GDALCreateColorTable'
mapgdal.o(.text+0x493): undefined reference to `GDALSetColorEntry'
mapgdal.o(.text+0x4bb): undefined reference to `GDALGetRasterBand'
mapgdal.o(.text+0x4c4): undefined reference to `GDALSetRasterColorTable'
mapgdal.o(.text+0x4cd): undefined reference to `GDALDestroyColorTable'
mapgdal.o(.text+0x4ed): undefined reference to `GDALGetRasterBand'
mapgdal.o(.text+0x4f6): undefined reference to
`GDALSetRasterColorInterpretation'
mapgdal.o(.text+0x50c): undefined reference to `GDALGetRasterBand'
mapgdal.o(.text+0x515): undefined reference to
`GDALSetRasterColorInterpretation'
mapgdal.o(.text+0x52e): undefined reference to `GDALGetRasterBand'
mapgdal.o(.text+0x537): undefined reference to
`GDALSetRasterColorInterpretation'
mapgdal.o(.text+0x557): undefined reference to `GDALGetRasterBand'
mapgdal.o(.text+0x560): undefined reference to
`GDALSetRasterColorInterpretation'
mapgdal.o(.text+0x570): undefined reference to `GDALGetRasterBand'
mapgdal.o(.text+0x579): undefined reference to
`GDALSetRasterColorInterpretation'
mapgdal.o(.text+0x58c): undefined reference to `GDALGetRasterBand'
mapgdal.o(.text+0x595): undefined reference to
`GDALSetRasterColorInterpretation'
mapgdal.o(.text+0x5a5): undefined reference to `GDALGetRasterBand'
mapgdal.o(.text+0x5ae): undefined reference to
`GDALSetRasterColorInterpretation'
mapgdal.o(.text+0x60d): undefined reference to `GDALSetGeoTransform'
mapgdal.o(.text+0x637): undefined reference to `GDALSetProjection'
mapgdal.o(.text+0x640): undefined reference to `VSIFree'
mapgdal.o(.text+0x658): undefined reference to `GDALGetDriverByName'
mapgdal.o(.text+0x670): undefined reference to `GDALClose'
mapgdal.o(.text+0x6da): undefined reference to `GDALCreateCopy'
mapgdal.o(.text+0x6fe): undefined reference to `GDALClose'
mapgdal.o(.text+0x706): undefined reference to `CPLGetLastErrorMsg'
mapgdal.o(.text+0x73e): undefined reference to `GDALClose'
mapgdal.o(.text+0x747): undefined reference to `GDALClose'
./libmap.a(mapgdal.o): In function `msInitDefaultGDALOutputFormat':
mapgdal.o(.text+0x82b): undefined reference to `GDALGetDriverByName'
mapgdal.o(.text+0x85c): undefined reference to `GDALGetMetadataItem'
mapgdal.o(.text+0x873): undefined reference to `GDALGetMetadataItem'
mapgdal.o(.text+0x8ba): undefined reference to `GDALGetMetadataItem'
mapgdal.o(.text+0x8d4): undefined reference to `GDALGetMetadataItem'
mapgdal.o(.text+0x8f3): undefined reference to `GDALGetMetadataItem'
./libmap.a(mapgdal.o)(.text+0x90d): more undefined references to
`GDALGetMetadataItem' follow
./libmap.a(mapgdal.o): In function `msProjectionObjToWKT':
mapgdal.o(.text+0x980): undefined reference to `CPLMalloc'
mapgdal.o(.text+0x9d8): undefined reference to `OSRNewSpatialReference'
mapgdal.o(.text+0x9e4): undefined reference to `OSRImportFromProj4'
mapgdal.o(.text+0x9f2): undefined reference to `VSIFree'
mapgdal.o(.text+0xa06): undefined reference to `OSRExportToWkt'
mapgdal.o(.text+0xa12): undefined reference to `OSRDestroySpatialReference'
./libmap.a(mapraster.o): In function `msDrawRasterLayerLow':
mapraster.o(.text+0x3dd5): undefined reference to `GDALClose'
mapraster.o(.text+0x4181): undefined reference to `GDALOpen'
mapraster.o(.text+0x41bf): undefined reference to `GDALGetProjectionRef'
mapraster.o(.text+0x4286): undefined reference to `GDALGetGeoTransform'
mapraster.o(.text+0x42bc): undefined reference to `GDALReadWorldFile'
mapraster.o(.text+0x43c4): undefined reference to `GDALClose'
./libmap.a(mapogr.o): In function
`msOGRSpatialRef2ProjectionObj(OGRSpatialReference *, projectionObj *,
int)':
mapogr.o(.text+0x4d): undefined reference to
`OGRSpatialReference::IsLocal(void) const'
mapogr.o(.text+0x6c): undefined reference to
`OGRSpatialReference::exportToProj4(char **) const'
mapogr.o(.text+0xaa): undefined reference to `VSIFree'
mapogr.o(.text+0xe1): undefined reference to `VSIFree'
./libmap.a(mapogr.o): In function `msOGCWKT2ProjectionObj':
mapogr.o(.text+0x111): undefined reference to
`OGRSpatialReference::OGRSpatialReference(char const *)'
mapogr.o(.text+0x121): undefined reference to
`OGRSpatialReference::importFromWkt(char **)'
mapogr.o(.text+0x147): undefined reference to
`OGRSpatialReference::~OGRSpatialReference(void)'
mapogr.o(.text+0x16a): undefined reference to
`OGRSpatialReference::~OGRSpatialReference(void)'
mapogr.o(.text+0x181): undefined reference to
`OGRSpatialReference::~OGRSpatialReference(void)'
./libmap.a(mapresample.o): In function `msResampleGDALToMap':
mapresample.o(.text+0xd38): undefined reference to `GDALGetGeoTransform'
mapresample.o(.text+0xd4b): undefined reference to `GDALGetDescription'
mapresample.o(.text+0xd67): undefined reference to `GDALGetDescription'
mapresample.o(.text+0xd70): undefined reference to `GDALReadWorldFile'
mapresample.o(.text+0xd7f): undefined reference to `GDALGetRasterXSize'
mapresample.o(.text+0xd91): undefined reference to `GDALGetRasterYSize'
mapresample.o(.text+0x11aa): undefined reference to `CSLDuplicate'
mapresample.o(.text+0x12a6): undefined reference to `CPLSPrintf'
mapresample.o(.text+0x12b8): undefined reference to `CSLSetNameValue'
mapresample.o(.text+0x13f9): undefined reference to `CSLDestroy'
./libmap.a(mapdrawgdal.o): In function `msDrawRasterLayerGDAL':
mapdrawgdal.o(.text+0xa5): undefined reference to `CSLFetchNameValue'
mapdrawgdal.o(.text+0xbf): undefined reference to `CSLFetchNameValue'
mapdrawgdal.o(.text+0xe8): undefined reference to `CSLFetchNameValue'
mapdrawgdal.o(.text+0x118): undefined reference to `GDALGetRasterXSize'
mapdrawgdal.o(.text+0x12a): undefined reference to `GDALGetRasterYSize'
mapdrawgdal.o(.text+0x149): undefined reference to `CSLFetchNameValue'
mapdrawgdal.o(.text+0x16d): undefined reference to `CSLFetchNameValue'
mapdrawgdal.o(.text+0x173): undefined reference to `CSLTokenizeString'
mapdrawgdal.o(.text+0x19a): undefined reference to `CSLFetchNameValue'
mapdrawgdal.o(.text+0x1b4): undefined reference to `CSLCount'
mapdrawgdal.o(.text+0x1c5): undefined reference to `CSLDestroy'
mapdrawgdal.o(.text+0x26b): undefined reference to `CSLDestroy'
mapdrawgdal.o(.text+0x296): undefined reference to `GDALGetGeoTransform'
mapdrawgdal.o(.text+0x2af): undefined reference to `GDALGetDescription'
mapdrawgdal.o(.text+0x2b8): undefined reference to `GDALReadWorldFile'
mapdrawgdal.o(.text+0x5e6): undefined reference to `GDALGetRasterXSize'
mapdrawgdal.o(.text+0x647): undefined reference to `GDALGetRasterXSize'
mapdrawgdal.o(.text+0x6b6): undefined reference to `GDALGetRasterYSize'
mapdrawgdal.o(.text+0x717): undefined reference to `GDALGetRasterYSize'
mapdrawgdal.o(.text+0x959): undefined reference to `CSLFetchNameValue'
mapdrawgdal.o(.text+0x975): undefined reference to `GDALGetRasterCount'
mapdrawgdal.o(.text+0x98e): undefined reference to `GDALGetRasterBand'
mapdrawgdal.o(.text+0x994): undefined reference to
`GDALGetRasterColorInterpretation'
mapdrawgdal.o(.text+0x9b2): undefined reference to `GDALGetRasterCount'
mapdrawgdal.o(.text+0x9dc): undefined reference to `GDALGetRasterBand'
mapdrawgdal.o(.text+0x9fd): undefined reference to `GDALGetRasterColorTable'
mapdrawgdal.o(.text+0xa4b): undefined reference to `CSLFetchNameValue'
mapdrawgdal.o(.text+0xa54): undefined reference to
`CSLTokenizeStringComplex'
mapdrawgdal.o(.text+0xa5f): undefined reference to `CSLCount'
mapdrawgdal.o(.text+0xa87): undefined reference to `CSLCount'
mapdrawgdal.o(.text+0xac6): undefined reference to `CSLCount'
mapdrawgdal.o(.text+0xafc): undefined reference to `CSLDestroy'
mapdrawgdal.o(.text+0xb4d): undefined reference to `GDALGetRasterBand'
mapdrawgdal.o(.text+0xbb9): undefined reference to `GDALGetDataTypeSize'
mapdrawgdal.o(.text+0xc24): undefined reference to `GDALRasterIO'
mapdrawgdal.o(.text+0xc35): undefined reference to `CPLGetLastErrorMsg'
mapdrawgdal.o(.text+0xdb5): undefined reference to `GDALGetRasterBand'
mapdrawgdal.o(.text+0xdce): undefined reference to `GDALGetRasterBand'
mapdrawgdal.o(.text+0xde7): undefined reference to `GDALGetRasterBand'
mapdrawgdal.o(.text+0xe2e): undefined reference to `GDALGetRasterBand'
mapdrawgdal.o(.text+0xe5e): undefined reference to `GDALGetRasterColorTable'
mapdrawgdal.o(.text+0xe74): undefined reference to `GDALCloneColorTable'
mapdrawgdal.o(.text+0xe89): undefined reference to `GDALCreateColorTable'
mapdrawgdal.o(.text+0xee0): undefined reference to `GDALSetColorEntry'
mapdrawgdal.o(.text+0xf43): undefined reference to `GDALGetColorEntryCount'
mapdrawgdal.o(.text+0xf5c): undefined reference to `GDALGetColorEntryCount'
mapdrawgdal.o(.text+0xfb5): undefined reference to `GDALGetColorEntryAsRGB'
mapdrawgdal.o(.text+0x113c): undefined reference to `GDALGetColorEntryCount'
mapdrawgdal.o(.text+0x1155): undefined reference to `GDALGetColorEntryCount'
mapdrawgdal.o(.text+0x11a9): undefined reference to `GDALGetColorEntryAsRGB'
mapdrawgdal.o(.text+0x1285): undefined reference to `GDALGetColorEntryCount'
mapdrawgdal.o(.text+0x129e): undefined reference to `GDALGetColorEntryCount'
mapdrawgdal.o(.text+0x12f5): undefined reference to `GDALGetColorEntryAsRGB'
mapdrawgdal.o(.text+0x18bb): undefined reference to `CSLFetchBoolean'
mapdrawgdal.o(.text+0x1ebd): undefined reference to `GDALDestroyColorTable'
./libmap.a(mapdrawgdal.o): In function `LoadGDALImage':
mapdrawgdal.o(.text+0x1f04): undefined reference to `CSLFetchNameValue'
mapdrawgdal.o(.text+0x1f33): undefined reference to `CSLFetchNameValue'
mapdrawgdal.o(.text+0x1f4f): undefined reference to
`CSLTokenizeStringComplex'
mapdrawgdal.o(.text+0x1f5a): undefined reference to `CSLCount'
mapdrawgdal.o(.text+0x1f85): undefined reference to `CSLCount'
mapdrawgdal.o(.text+0x1fd6): undefined reference to `CSLDestroy'
mapdrawgdal.o(.text+0x200f): undefined reference to `GDALRasterIO'
mapdrawgdal.o(.text+0x2024): undefined reference to `CPLGetLastErrorMsg'
mapdrawgdal.o(.text+0x207e): undefined reference to `GDALRasterIO'
mapdrawgdal.o(.text+0x2094): undefined reference to `CPLGetLastErrorMsg'
./libmap.a(mapdrawgdal.o): In function `Dither24to8':
mapdrawgdal.o(.text+0x2339): undefined reference to `GDALGetDriverByName'
mapdrawgdal.o(.text+0x235e): undefined reference to `GDALCreate'
mapdrawgdal.o(.text+0x2387): undefined reference to `CSLSetNameValue'
mapdrawgdal.o(.text+0x2398): undefined reference to `GDALAddBand'
mapdrawgdal.o(.text+0x23bb): undefined reference to `CSLSetNameValue'
mapdrawgdal.o(.text+0x23c9): undefined reference to `GDALAddBand'
mapdrawgdal.o(.text+0x23ec): undefined reference to `CSLSetNameValue'
mapdrawgdal.o(.text+0x23fd): undefined reference to `GDALAddBand'
mapdrawgdal.o(.text+0x2420): undefined reference to `CSLSetNameValue'
mapdrawgdal.o(.text+0x242e): undefined reference to `GDALAddBand'
mapdrawgdal.o(.text+0x243a): undefined reference to `CSLDestroy'
mapdrawgdal.o(.text+0x2444): undefined reference to `GDALCreateColorTable'
mapdrawgdal.o(.text+0x24ca): undefined reference to `GDALSetColorEntry'
mapdrawgdal.o(.text+0x24ef): undefined reference to `GDALGetRasterBand'
mapdrawgdal.o(.text+0x24fe): undefined reference to `GDALGetRasterBand'
mapdrawgdal.o(.text+0x250d): undefined reference to `GDALGetRasterBand'
mapdrawgdal.o(.text+0x251c): undefined reference to `GDALGetRasterBand'
mapdrawgdal.o(.text+0x2525): undefined reference to `GDALDitherRGB2PCT'
mapdrawgdal.o(.text+0x2537): undefined reference to `GDALDestroyColorTable'
mapdrawgdal.o(.text+0x2540): undefined reference to `GDALClose'
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1
Do u have any idea why does it happened???
Thanks...
Gabriel Moricz
-----Mensagem original-----
De: gdal-dev-admin at remotesensing.org
[mailto:gdal-dev-admin at remotesensing.org]Em nome de Frank Warmerdam
Enviada em: quarta-feira, 14 de abril de 2004 12:25
Para: gdal-dev at remotesensing.org
Assunto: Re: RES: RES: [Gdal-dev] Compiling GDAL
Gabriel Moricz wrote:
> I did not get it...
>
> Well...
>
> I pretend to use mapserver with gd, proj, gdal, ogr, wmsclient, postgis,
> wms, wfsclient, httpd..
>
> Well...Do u think that I will have problems if I compile GDAL without
gif???
>
>
> Sry..I am a begginer with this service...
Gabriel,
If you are not using other WMS servers as input to your MapServer you should
not have any problems using a GDAL built without gif support.
Best regards,
--
---------------------------------------+------------------------------------
--
I set the clouds in motion - turn up | Frank Warmerdam,
warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
_______________________________________________
Gdal-dev mailing list
Gdal-dev at remotesensing.org
http://remotesensing.org/mailman/listinfo/gdal-dev
More information about the Gdal-dev
mailing list