[mapserver-users] Problem compiling Mapserver w/ PHP Mapscript on Solaris 2.6

Andries J. Algera aalgera at ibama.gov.br
Mon Aug 20 20:24:37 EDT 2001


I sucessfully compiled mapserver 3.5 on linux (Redhat). Whenever I try to
do the same steps on solaris 2.6 I get the following errors at link time
of the PHP module.

gcc  -W -Wl -o php_mapscript.so php_mapscript_util.o php_mapscript.o
mapscript_i
.o  -L/home/aalgera/mapserver -lmap       -ltiff -lgd    -lm
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/crt1.o: In function
`_start':
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/crt1.o(.text+0x5c): undefined
 reference to `main'
php_mapscript_util.o: In function `_phpms_report_mapserver_error':
php_mapscript_util.o(.text+0x44): undefined reference to `zend_error'
php_mapscript_util.o: In function `_phpms_fetch_handle2':
php_mapscript_util.o(.text+0x9c): undefined reference to `zend_hash_find'
php_mapscript_util.o(.text+0xc8): undefined reference to `zend_list_find'
php_mapscript_util.o(.text+0x100): undefined reference to `zend_error'
php_mapscript_util.o: In function `_phpms_fetch_property_handle2':
php_mapscript_util.o(.text+0x15c): undefined reference to `zend_error'
php_mapscript_util.o(.text+0x180): undefined reference to `zend_hash_find'
php_mapscript_util.o(.text+0x1ac): undefined reference to `zend_error'
php_mapscript_util.o(.text+0x1d4): undefined reference to `zend_list_find'
php_mapscript_util.o(.text+0x214): undefined reference to `zend_error'
php_mapscript_util.o: In function `_phpms_fetch_property_string':
php_mapscript_util.o(.text+0x27c): undefined reference to `zend_error'
php_mapscript_util.o(.text+0x2a4): undefined reference to `zend_hash_find'
php_mapscript_util.o(.text+0x2d0): undefined reference to `zend_error'
php_mapscript_util.o(.text+0x2e8): undefined reference to
`_convert_to_string'

These errors go on for a while. 

Can anyone explain me what is going wrong here.


Andries Algera
CSR - IBAMA
SAIN L4, Lote 4, Ed. IBAMA Sede
70800.200  Brasilia / DF
BRASIL
ph: +5561 316-1326
          316-1453
fax:+5561 223-7108
--------------------------------------------------------------------




More information about the mapserver-users mailing list