php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39167 oci8 compile with php on SunOS fails with undeclared symbol
Submitted: 2006-10-16 16:00 UTC Modified: 2006-10-17 08:15 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: djdman2000 at hotmail dot com Assigned:
Status: Wont fix Package: Compile Failure
PHP Version: 4.4.4 OS: SunOS 5.9
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
5 + 48 = ?
Subscribe to this entry?

 
 [2006-10-16 16:00 UTC] djdman2000 at hotmail dot com
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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-17 08:15 UTC] tony2001@php.net
Please use OCI8 from PECL.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 06:01:29 2024 UTC