| Olivier 2004-11-23, 8:56 am |
| I try to compile php with this options
/configure --with-oci8=/oracle/product/9.2.0.1.0
--enable-sigchild --prefix=/soft/php/4.3.9
--with-apxs=/soft/apache/1.3.31/bin/apxs
there's no error ...
but when make is done ...
/bin/sh /soft/php/php-4.3.9/libtool --silent --preserve-dup-deps
--mode=compile cc -Iext/standard/ -I/soft/php/php-4.3.9/ext/standard/
-DPHP_ATOM_INC -I/soft/php/php-4.3.9/include -I/soft/php/php-4.3.9/main
-I/soft/php/php-4.3.9 -I/soft/php/php-4.3.9/Zend
-I/soft/u01/app/oracle/product/9.2.0.1.0/rdbms/public
-I/soft/u01/app/oracle/product/9.2.0.1.0/rdbms/demo
-I/soft/u01/app/oracle/product/9.2.0.1.0/plsql/public
-I/soft/php/php-4.3.9/ext/xml/expat -I/soft/php/php-4.3.9/TSRM -g
-prefer-pic -c /soft/php/php-4.3.9/ext/standard/info.c -o
ext/standard/info.lo
"/soft/php/php-4.3.9/ext/standard/info.c", line 480.122: 1506-280 (W)
Function argument assignment between types "unsigned int*" and "int*" is
not allowed.
/bin/sh /soft/php/php-4.3.9/libtool --silent --preserve-dup-deps
--mode=link cc -g -prefer-pic -rpath /soft/php/php-4.3.9/libs -Wl,-brtl
-Wl,-bI:/soft/apache/1.3.31/libexec/httpd.exp -avoid-version -module
-L/soft/u01/app/oracle/product/9.2.0.1.0/lib -R
/soft/u01/app/oracle/product/9.2.0.1.0/lib ext/ctype/ctype.lo
ext/mysql/php_mysql.lo ext/mysql/libmysql/libmysql.lo
ext/mysql/libmysql/errmsg.lo ......
....
/bin/sh /soft/php/php-4.3.9/libtool --silent --preserve-dup-deps
--mode=link cc -export-dynamic -g
-L/soft/u01/app/oracle/product/9.2.0.1.0/lib -R
/soft/u01/app/oracle/product/9.2.0.1.0/lib ext/ctype/ctype.lo
ext/mysql/php_mysql.lo ext/mysql/libmysql/libmysql.lo
ext/mysql/libmysql/errmsg.lo ext/mysql/libmysql/net.lo
ext/mysql/libmysql/violite.lo ext/mysql/libmysql/password.lo
ext/mysql/libmysql/my_init.lo ext/mysql/libmysql/my_lib.lo
ext/mysql/libmysql/my_static.lo ext/mysql/libmysql/my_malloc.lo
ext/mysql/libmysql/my_realloc.lo ext/mysql/libmysql/my_create.lo
ext/mysql/libmysql/my_delete.lo ext/mysql/libmysql/my_tempnam.lo
ext/mysql/libmysql/my_open.lo ext/mysql/libmysql/mf_casecnv.lo
.... Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo
Zend/zend_multibyte.lo Zend/zend_execute.lo sapi/cli/php_cli.lo
sapi/cli/getopt.lo main/internal_functions_cli.lo -lm -ldl -lm -lodm
-lbsd_r -lld -lperfstat -lclntsh -o sapi/cli/php
cc: 1501-218 file ext/ctype/ctype.lo contains an incorrect file suffix
cc: 1501-218 file ext/mysql/php_mysql.lo contains an incorrect file suffix
cc: 1501-218 file ext/mysql/libmysql/libmysql.lo contains an incorrect
file suffix
......................................................
cc: 1501-218 file sapi/cli/getopt.lo contains an incorrect file suffix
cc: 1501-218 file main/internal_functions_cli.lo contains an incorrect
file suffix
ld: 0711-317 ERROR: Undefined symbol: .OCIDescriptorAlloc
ld: 0711-317 ERROR: Undefined symbol: .OCIEnvInit
ld: 0711-317 ERROR: Undefined symbol: .OCIHandleAlloc
.......................................................
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
make: 1254-004 The error code from the last command is 8.
Stop.
ANY IDEAS ... thanks for your ansmwers
|