[mapserver-users] build error with GDALGetRasterYSize in php_mapscript.so

Ellis Robin (Bundaberg) Robin.Ellis at nrm.qld.gov.au
Tue May 21 01:46:31 EDT 2002


In the process of trying to build mapserver 3.6 with PHP 4.2.0 I have
ended up including several different components in the build. When
running make after this configuration:

./configure --with-php=/data4/userdata/rob/php-4.2.0
--with-apxs=/usr/local/apache/bin/apxs
--with-tiff=/data4/userdata/rob/v3.5/tiff-v3.5.7/libtiff
--with-gd=/data4/userdata/rob/v3.5/gd-1.8.4
--with-jpeg=/data4/userdata/rob/v3.5/jpeg-6b
--with-postgis=/usr/local/pgsql/bin/pg_config
--with-gdal=/data4/userdata/rob/gdal-1.1.6/apps/gdal-config
--with-ogr=/data4/userdata/rob/gdal-1.1.6/ogr --with-proj=/usr/local
--with-epp

I get this error in the GDALGetRasterYSize component of the build:

GDALGetGeoTransform                 0xcc4
/data4/userdata/rob/v3.6b/mapserver-3.6.0-beta1/libmap.a(mapresample.o)
TIFFSwabArrayOfDouble               0x13f0
/data4/userdata/rob/v3.6b/mapserver-3.6.0-beta1/libmap.a(mapraster.o)
TIFFSwabArrayOfDouble               0x142c
/data4/userdata/rob/v3.6b/mapserver-3.6.0-beta1/libmap.a(mapraster.o)
init_destination                    0xacc
/usr/local/lib/libgd.a(gd_jpeg.o)
init_destination                    0xad0
/usr/local/lib/libgd.a(gd_jpeg.o)
clrget                              0x3354
/data4/userdata/rob/v3.6b/mapserver-3.6.0-beta1/libmap.a(mapraster.o)
clrget                              0x33c0
/data4/userdata/rob/v3.6b/mapserver-3.6.0-beta1/libmap.a(mapraster.o)
gdPutC                              0x8
/usr/local/lib/libgd.a(gd_wbmp.o)
GDALGetRasterColorTable             0xa18
/data4/userdata/rob/v3.6b/mapserver-3.6.0-beta1/libmap.a(mapraster.o)
GDALGetRasterColorTable             0xad0
/data4/userdata/rob/v3.6b/mapserver-3.6.0-beta1/libmap.a(mapraster.o)
.rem                                0x1b74
/data4/userdata/rob/v3.6b/mapserver-3.6.0-beta1/libmap.a(mapraster.o)
.rem                                0x1c20
/data4/userdata/rob/v3.6b/mapserver-3.6.0-beta1/libmap.a(mapraster.o)
.rem                                0x1ce8
/data4/userdata/rob/v3.6b/mapserver-3.6.0-beta1/libmap.a(mapraster.o)
.rem                                0xc04
/usr/local/lib/libgd.a(gd.o)
.rem                                0xd64
/usr/local/lib/libgd.a(gd.o)
.rem                                0xd78
/usr/local/lib/libgd.a(gd.o)
.rem                                0x16bc
/usr/local/lib/libgd.a(gd.o)
.rem                                0x16ec
/usr/local/lib/libgd.a(gd.o)
.rem                                0x1968
/usr/local/lib/libgd.a(gd.o)
.rem                                0x197c
/usr/local/lib/libgd.a(gd.o)
GDALRasterIO                        0xd0c
/data4/userdata/rob/v3.6b/mapserver-3.6.0-beta1/libmap.a(mapraster.o)
GDALRasterIO                        0xdec
/data4/userdata/rob/v3.6b/mapserver-3.6.0-beta1/libmap.a(mapraster.o)
GDALRasterIO                        0xe3c
/data4/userdata/rob/v3.6b/mapserver-3.6.0-beta1/libmap.a(mapraster.o)
GDALRasterIO                        0xea0
/data4/userdata/rob/v3.6b/mapserver-3.6.0-beta1/libmap.a(mapraster.o)
GDALGetRasterYSize                  0x578
/data4/userdata/rob/v3.6b/mapserver-3.6.0-beta1/libmap.a(mapraster.o)
GDALGetRasterYSize                  0x8a4
/data4/userdata/rob/v3.6b/mapserver-3.6.0-beta1/libmap.a(mapraster.o)
GDALGetRasterYSize                  0x8dc
/data4/userdata/rob/v3.6b/mapserver-3.6.0-beta1/libmap.a(mapraster.o)
GDALGetRasterYSize                  0xd10
/data4/userdata/rob/v3.6b/mapserver-3.6.0-beta1/libmap.a(mapresample.o)
ld: fatal: relocations remain against allocatable but non-writable
sections
collect2: ld returned 1 exit status
make[1]: *** [php_mapscript.so] Error 1
make[1]: Leaving directory
`/data4/userdata/rob/v3.6b/mapserver-3.6.0-beta1/mapscript/php3'

Has anybody overcome similar problems to this in the past?

Thanks very much

Rob


Robin Ellis
Department of Natural Resources and Mines
PO Box 1167
Bundaberg QLD 4670
+61 7 4131 5771
Robin.Ellis at nrm.qld.gov.au



************************************************************************
The information in this e-mail together with any attachments is
intended only for the person or entity to which it is addressed
and may contain confidential and/or privileged material.

Any form of review, disclosure, modification, distribution
and/or publication of this e-mail message is prohibited.  

If you have received this message in error, you are asked to
inform the sender as quickly as possible and delete this message
and any copies of this message from your computer and/or your
computer system network.  
************************************************************************




More information about the mapserver-users mailing list