#39167 [NEW]: oci8 compile with php on SunOS fails with undeclared symbol
| From: | djdman2000 at hotmail dot com | Date: | Mon, 16 Oct 2006 16:00:25 +0000 |
| Subject: | #39167 [NEW]: oci8 compile with php on SunOS fails with undeclared symbol | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-103608@lists.php.net to get a copy of this message | ||
From: djdman2000 at hotmail dot com
Operating system: SunOS 5.9
PHP version: 4.4.4
PHP Bug Type: Compile Failure
Bug description: oci8 compile with php on SunOS fails with undeclared symbol
Description:
------------
Issue make statement and receive:
/bin/sh /tmp/tomtmp/php-4.4.4/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/oci8/ -I/tmp/tomtmp/php-4.4.4/ext/oci8/
-DPHP_ATOM_INC -I/tmp/tomtmp/php-4.4.4/include
-I/tmp/tomtmp/php-4.4.4/main -I/tmp/tomtmp/php-4.4.4
-I/u03/oracle/product/oas101202mt_test/rdbms/public
-I/u03/oracle/product/oas101202mt_test/rdbms/demo
-I/u03/oracle/product/oas101202mt_test/plsql/public
-I/tmp/tomtmp/php-4.4.4/ext/xml/expat -I/tmp/tomtmp/php-4.4.4/TSRM
-I/tmp/tomtmp/php-4.4.4/Zend -D_POSIX_PTHREAD_SEMANTICS -g -O2 -c
/tmp/tomtmp/php-4.4.4/ext/oci8/oci8.c -o ext/oci8/oci8.lo
/tmp/tomtmp/php-4.4.4/ext/oci8/oci8.c: In function `_oci_open_session':
/tmp/tomtmp/php-4.4.4/ext/oci8/oci8.c:2190: `OCI_NLS_CHARSET_ID'
undeclared (first use in this function)
/tmp/tomtmp/php-4.4.4/ext/oci8/oci8.c:2190: (Each undeclared identifier is
reported only once
/tmp/tomtmp/php-4.4.4/ext/oci8/oci8.c:2190: for each function it appears
in.)
*** Error code 1
make: Fatal error: Command failed for target `ext/oci8/oci8.lo'
in the oci.h, there is a similar line: #define OCI_NLS_CHARACTER_SET 55
/* Character set name */
Reproduce code:
---------------
bash-2.05$ make
Expected result:
----------------
Expect the binary to be built
--
Edit bug report at http://bugs.php.net/?id=39167&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39167&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39167&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39167&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39167&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39167&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39167&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39167&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39167&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39167&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39167&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39167&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39167&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39167&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39167&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39167&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39167&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39167&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39167&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39167&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39167&r=mysqlcfg