[mapserver-users] Compilation problem
Negrisan Laurentiu
negrisan at mail.dntis.ro
Mon Mar 11 05:01:17 PST 2002
> Remove the duplicate 'cc' from mapscript/php3/Makefile.
>
linux_gis:~/man/mapserver_3.5 # make
cd mapscript/php3; make; cd ../..
make[1]: Entering directory `/man/mapserver_3.5/mapscript/php3'
cc -I. -I.. -fpic -O2 -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_EPPL -DUSE_TIFF
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_JPEG
-I/man/mapserver_3.5 -I/usr/include -I/man/php-4.0.6
-I/man/php-4.0.6/dl -I/man/php-4.0.6/main
-I/man/php-4.0.6/Zend -I/man/php-4.0.6/include
-I/man/php-4.0.6/TSRM -I/man/apache_1.3.22/src/include -o
php_mapscript_util.o php_mapscript_util.c
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
/tmp/cc4piVwS.o: In function `_phpms_report_mapserver_error':
/tmp/cc4piVwS.o(.text+0x17): undefined reference to `ms_error'
/tmp/cc4piVwS.o(.text+0x38): undefined reference to `zend_error'
/tmp/cc4piVwS.o(.text+0x1c4): undefined reference to `ms_error'
/tmp/cc4piVwS.o: In function `_phpms_fetch_handle2':
/tmp/cc4piVwS.o(.text+0x2a2): undefined reference to `zend_hash_find'
/tmp/cc4piVwS.o(.text+0x2bb): undefined reference to `zend_error'
/tmp/cc4piVwS.o(.text+0x2d1): undefined reference to `zend_list_find'
/tmp/cc4piVwS.o(.text+0x2f8): undefined reference to `zend_error'
/tmp/cc4piVwS.o: In function `_phpms_fetch_property_handle2':
/tmp/cc4piVwS.o(.text+0x370): undefined reference to `zend_error'
/tmp/cc4piVwS.o(.text+0x3cf): undefined reference to `zend_hash_find'
/tmp/cc4piVwS.o(.text+0x3ec): undefined reference to `zend_error'
/tmp/cc4piVwS.o(.text+0x40a): undefined reference to `zend_list_find'
/tmp/cc4piVwS.o(.text+0x433): undefined reference to `zend_error'
/tmp/cc4piVwS.o: In function `_phpms_fetch_property_string':
/tmp/cc4piVwS.o(.text+0x4c0): undefined reference to `zend_error'
/tmp/cc4piVwS.o(.text+0x51f): undefined reference to `zend_hash_find'
/tmp/cc4piVwS.o(.text+0x53c): undefined reference to `zend_error'
/tmp/cc4piVwS.o(.text+0x552): undefined reference to `_convert_to_string'
/tmp/cc4piVwS.o: In function `_phpms_fetch_property_long':
/tmp/cc4piVwS.o(.text+0x5f1): undefined reference to `zend_hash_find'
/tmp/cc4piVwS.o(.text+0x60e): undefined reference to `zend_error'
/tmp/cc4piVwS.o(.text+0x624): undefined reference to `convert_to_long'
/tmp/cc4piVwS.o(.text+0x63e): undefined reference to `zend_error'
/tmp/cc4piVwS.o: In function `_phpms_fetch_property_double':
/tmp/cc4piVwS.o(.text+0x680): undefined reference to `zend_error'
/tmp/cc4piVwS.o(.text+0x6df): undefined reference to `zend_hash_find'
/tmp/cc4piVwS.o(.text+0x6fc): undefined reference to `zend_error'
/tmp/cc4piVwS.o(.text+0x70c): undefined reference to `convert_to_double'
/tmp/cc4piVwS.o: In function `_phpms_fetch_property_resource':
/tmp/cc4piVwS.o(.text+0x760): undefined reference to `zend_error'
/tmp/cc4piVwS.o(.text+0x7bf): undefined reference to `zend_hash_find'
/tmp/cc4piVwS.o(.text+0x800): undefined reference to `zend_error'
/tmp/cc4piVwS.o: In function `_phpms_set_property_string':
/tmp/cc4piVwS.o(.text+0x850): undefined reference to `zend_error'
/tmp/cc4piVwS.o(.text+0x8af): undefined reference to `zend_hash_find'
/tmp/cc4piVwS.o(.text+0x8d3): undefined reference to `zend_error'
/tmp/cc4piVwS.o(.text+0x8ea): undefined reference to `_convert_to_string'
/tmp/cc4piVwS.o(.text+0x901): undefined reference to `_efree'
/tmp/cc4piVwS.o(.text+0x910): undefined reference to `_estrdup'
/tmp/cc4piVwS.o: In function `_phpms_set_property_long':
/tmp/cc4piVwS.o(.text+0x9b0): undefined reference to `zend_error'
/tmp/cc4piVwS.o(.text+0xa0f): undefined reference to `zend_hash_find'
/tmp/cc4piVwS.o(.text+0xa33): undefined reference to `zend_error'
/tmp/cc4piVwS.o(.text+0xa4a): undefined reference to `convert_to_long'
/tmp/cc4piVwS.o: In function `_phpms_set_property_double':
/tmp/cc4piVwS.o(.text+0xaa0): undefined reference to `zend_error'
/tmp/cc4piVwS.o(.text+0xaff): undefined reference to `zend_hash_find'
/tmp/cc4piVwS.o(.text+0xb23): undefined reference to `zend_error'
/tmp/cc4piVwS.o(.text+0xb3a): undefined reference to `convert_to_double'
/tmp/cc4piVwS.o: In function `_phpms_add_property_object':
/tmp/cc4piVwS.o(.text+0xbc7): undefined reference to
`add_property_zval_ex'
/tmp/cc4piVwS.o(.text+0xbeb): undefined reference to `zend_error'
/tmp/cc4piVwS.o: In function `_phpms_object_init':
/tmp/cc4piVwS.o(.text+0xc24): undefined reference to `_object_init_ex'
/tmp/cc4piVwS.o(.text+0xc34): undefined reference to
`add_property_resource_ex'
collect2: ld returned 1 exit status
make[1]: *** [php_mapscript_util.o] Error 1
make[1]: Leaving directory `/man/mapserver_3.5/mapscript/php3'
+++
not work ...
Thank You !
--
Laurentiu Negrisan
http://www.netraptores.com
More information about the MapServer-users
mailing list