#21864 [Fbk->Csd]: Apache 1.3.27 core dumps when PHP 4.3.0 is activated via LoadModule

2003-01-27 Thread purerory
 ID:   21864
 User updated by:  [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Feedback
+Status:   Closed
 Bug Type: Apache related
 Operating System: AIX 5.1
 PHP Version:  4.3.0
 New Comment:

uh, yeah...
So as suggested I reconfigure PHP with the following:
./configure --with-apxs=/opt/freeware/apache/bin/apxs \
--with-ibm-db2=/home/db2inst1/sqllib --sysconfdir=/etc \
--with-openssl --with-mysql=/opt/freeware/ --enable-debug

make clean/make/make install...and no more core dumps.
Case closed.


Previous Comments:


[2003-01-25 07:15:03] [EMAIL PROTECTED]

And remove these options from your configure line:

--enable-track-vars
--enable-versioning
--enable-force-cgi-redirect
--enable-c9x-inline

The last one does not exist even..and the others are useless. And
--enable-versioning does not work... :I





[2003-01-24 13:20:11] [EMAIL PROTECTED]

Please compile PHP with --enable-debug so that the backtrace contains
more information.



[2003-01-24 12:09:09] [EMAIL PROTECTED]

PHP configured with IBM DB2, operating fine as a CLI
Compiled with VAC, no gcc or gdb on this system
(Bug #20677 - compile probs, shows build history)
---
./configure --with-apxs=/opt/freeware/apache/bin/apxs \
--enable-track-vars --enable-versioning \
--with-ibm-db2=/home/db2inst1/sqllib --sysconfdir=/etc \
--enable-force-cgi-redirect --enable-c9x-inline \
--with-openssl --with-mysql=/opt/freeware/
---
/usr/sbin/apachectl[163]: 29560 Segmentation fault(coredump)
# dbx /opt/freeware/apache/bin/httpd core
Type 'help' for help.
reading symbolic information ...
[using memory image in core]

Segmentation fault in php_xbithack_handler_52_28 at 0xd4d68cd4 ($t1)
0xd4d68cd4 (php_xbithack_handler_52_28+0xdc) 800clwz  
r0,0x0(r12)
(dbx) where 
php_xbithack_handler_52_28() at 0xd4d68cd4
php_create_dir() at 0xd4d675b8
ap_single_module_configure() at 0x1000eae0
load_module() at 0x10043a8c
invoke_cmd() at 0x1000b414
ap_handle_command() at 0x1000cdfc
ap_srm_command_loop() at 0x1000eb5c
ap_process_resource_config() at 0x1000d7e0
ap_read_config() at 0x1000e9c4
http_main.main() at 0x1740
(dbx)
--
Output of phpinfo (commandline)

PHP Version => 4.3.0-dev

System => AIX camoabdc01 1 5 000762384C00
Build Date => Dec 12 2002 10:39:08
Configure Command =>  './configure'
'--with-apxs=/opt/freeware/apache/bin/apxs' '--enable-track-vars'
'--enable-versioning' '--with-ibm-db2=
/home/db2inst1/sqllib' '--sysconfdir=/etc'
'--enable-force-cgi-redirect' '--enable-c9x-inline' '--with-openssl'
'--with-mysql=/opt/freeware/
'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /etc/php.ini
PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 20021010
Debug Build => no
Thread Safety => disabled
Registered PHP Streams => php, http, ftp, https, ftps 




-- 
Edit this bug report at http://bugs.php.net/?id=21864&edit=1




#21864 [NEW]: Apache 1.3.27 core dumps when PHP 4.3.0 is activated via LoadModule

2003-01-24 Thread purerory
From: [EMAIL PROTECTED]
Operating system: AIX 5.1
PHP version:  4.3.0
PHP Bug Type: Apache related
Bug description:  Apache 1.3.27 core dumps when PHP 4.3.0 is activated via LoadModule

PHP configured with IBM DB2, operating fine as a CLI
Compiled with VAC, no gcc or gdb on this system
(Bug #20677 - compile probs, shows build history)
---
./configure --with-apxs=/opt/freeware/apache/bin/apxs \
--enable-track-vars --enable-versioning \
--with-ibm-db2=/home/db2inst1/sqllib --sysconfdir=/etc \
--enable-force-cgi-redirect --enable-c9x-inline \
--with-openssl --with-mysql=/opt/freeware/
---
/usr/sbin/apachectl[163]: 29560 Segmentation fault(coredump)
# dbx /opt/freeware/apache/bin/httpd core
Type 'help' for help.
reading symbolic information ...
[using memory image in core]

Segmentation fault in php_xbithack_handler_52_28 at 0xd4d68cd4 ($t1)
0xd4d68cd4 (php_xbithack_handler_52_28+0xdc) 800clwz  
r0,0x0(r12)
(dbx) where 
php_xbithack_handler_52_28() at 0xd4d68cd4
php_create_dir() at 0xd4d675b8
ap_single_module_configure() at 0x1000eae0
load_module() at 0x10043a8c
invoke_cmd() at 0x1000b414
ap_handle_command() at 0x1000cdfc
ap_srm_command_loop() at 0x1000eb5c
ap_process_resource_config() at 0x1000d7e0
ap_read_config() at 0x1000e9c4
http_main.main() at 0x1740
(dbx)
--
Output of phpinfo (commandline)

PHP Version => 4.3.0-dev

System => AIX camoabdc01 1 5 000762384C00
Build Date => Dec 12 2002 10:39:08
Configure Command =>  './configure'
'--with-apxs=/opt/freeware/apache/bin/apxs' '--enable-track-vars'
'--enable-versioning' '--with-ibm-db2=
/home/db2inst1/sqllib' '--sysconfdir=/etc' '--enable-force-cgi-redirect'
'--enable-c9x-inline' '--with-openssl' '--with-mysql=/opt/freeware/
'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /etc/php.ini
PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 20021010
Debug Build => no
Thread Safety => disabled
Registered PHP Streams => php, http, ftp, https, ftps 
-- 
Edit bug report at http://bugs.php.net/?id=21864&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21864&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=21864&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=21864&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21864&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=21864&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=21864&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=21864&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=21864&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=21864&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=21864&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21864&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=21864&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=21864&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=21864&r=gnused




#20677 [Fbk->Opn]: Compile fail w/DB2 on AIX: Macro cannot be redefined

2002-12-03 Thread purerory
 ID:   20677
 User updated by:  [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Feedback
+Status:   Open
 Bug Type: ODBC related
 Operating System: AIX 5.1L
 PHP Version:  4CVS-2002-11-27 (dev)
 New Comment:

This happens only with "--with-ibm-db2" option in the configure.
When I remove this option and the compile completes, although theres
quite a few 'function argument assignment between types "const unsigned
char*" and "char*" is not allowed"'
type errors, they don't prevent the make


Previous Comments:


[2002-12-02 23:28:36] [EMAIL PROTECTED]

Well the CCFLAG isn't set inside of the ODBC config.m4.

Does this happen with only the --with-ibm-db2 option choosen?  Aka
whats the minimal amount of configure options that causes this to not
happen.

I don't see anything glaringly wrong... the only thing that comes to
mind is the ODBCVER issue which hasn't been a problem in the past.



[2002-12-02 18:57:36] [EMAIL PROTECTED]

Reclassified as ODBC related problem since that's where the bug is..




[2002-12-02 09:30:05] [EMAIL PROTECTED]

removing "-ma" from CCFLAGS gets rid of the incorrect pragma errors.
No effect on the other problems.
Reset problem type to "Compile Failure" (original intent)



[2002-11-27 09:50:24] [EMAIL PROTECTED]

AIX 5.1L , ibm VAC 6.0 compiler
xlc_r -ma -O3 -qstrict -qoptimize=3 -qmaxmem=8192
DB2 7.1
11-27 CVS 

packaged "configure" deleted, rebuilt using buildconf
Configured as:
./configure --with-apxs=/usr/sbin/apxs \
--enable-track-vars --enable-versioning \
--with-ibm-db2=/home/db2inst1/sqllib --sysconfdir=/etc \
--enable-force-cgi-redirect --enable-c9x-inline\
--with-mysql=/opt/freeware/
Configure works fine (no warnings or errors), make fails with:
# make
/bin/sh libtool --silent --mode=compile xlc_r -ma -O3 -qstrict
-qoptimize=3 -qmaxmem=8192 -qnolm  -Iext/ctype/
-I/usr/purerory/php4cvs/ext/ctype/ -DPHP_ATOM_INC
-I/usr/purerory/php4cvs/include -I/usr/purerory/php4cvs/main
-I/usr/purerory/php4cvs -I/usr/purerory/php4cvs/Zend
-I/opt/freeware//include/mysql -I/usr/purerory/php4cvs/ext/xml/expat 
-I /usr/local/include -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -I/usr/purerory/php4cvs/TSRM  -I
/usr/local/include  -prefer-pic -c
/usr/purerory/php4cvs/ext/ctype/ctype.c -o ext/ctype/ctype.lo 
"/usr/include/alloca.h", line 20.1: 1506-224 (I) Incorrect pragma
ignored.
/bin/sh libtool --silent --mode=compile xlc_r -ma -O3 -qstrict
-qoptimize=3 -qmaxmem=8192 -qnolm  -Iext/mysql/
-I/usr/purerory/php4cvs/ext/mysql/ -DPHP_ATOM_INC
-I/usr/purerory/php4cvs/include -I/usr/purerory/php4cvs/main
-I/usr/purerory/php4cvs -I/usr/purerory/php4cvs/Zend
-I/opt/freeware//include/mysql -I/usr/purerory/php4cvs/ext/xml/expat 
-I /usr/local/include -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -I/usr/purerory/php4cvs/TSRM  -I
/usr/local/include  -prefer-pic -c
/usr/purerory/php4cvs/ext/mysql/php_mysql.c -o ext/mysql/php_mysql.lo 
"/usr/include/alloca.h", line 20.1: 1506-224 (I) Incorrect pragma
ignored.
/bin/sh libtool --silent --mode=compile xlc_r -ma -O3 -qstrict
-qoptimize=3 -qmaxmem=8192 -qnolm -I/home/db2inst1/sqllib/include
-Iext/odbc/ -I/usr/purerory/php4cvs/ext/odbc/ -DPHP_ATOM_INC
-I/usr/purerory/php4cvs/include -I/usr/purerory/php4cvs/main
-I/usr/purerory/php4cvs -I/usr/purerory/php4cvs/Zend
-I/opt/freeware//include/mysql -I/usr/purerory/php4cvs/ext/xml/expat 
-I /usr/local/include -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -I/usr/purerory/php4cvs/TSRM  -I
/usr/local/include  -prefer-pic -c
/usr/purerory/php4cvs/ext/odbc/php_odbc.c -o ext/odbc/php_odbc.lo 
"/usr/include/alloca.h", line 20.1: 1506-224 (I) Incorrect pragma
ignored.
"/usr/purerory/php4cvs/ext/standard/php_image.h", line 48.21: 1506-275
(S) Unexpected text ',' encountered.
"/home/db2inst1/sqllib/include/sqlcli.h", line 718.9: 1506-213 (S)
Macro name ODBCVER cannot be redefined.
"/home/db2inst1/sqllib/include/sqlcli.h", line 718.9: 1506-358 (I)
"ODBCVER" is defined on line 27 of
/usr/purerory/php4cvs/ext/odbc/php_odbc.h.
"/home/db2inst1/sqllib/include/sqlcli1.h", line 126.10: 1506-213 (S)
Macro name SQL_EXT_API_LAST cannot be redefined.
"/home/db2inst1/sqllib/include/sqlcli1.h", line 126.10: 1506-358 (I)
"SQL_EXT_API_LAST" is defined on line 621 of
/home/db2inst1/sqllib/include/sqlext.h.
"/home/db2i

#20677 [Opn]: Compile fail w/DB2 on AIX: Macro cannot be redefined

2002-12-02 Thread purerory
 ID:   20677
 User updated by:  [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
-Bug Type: ODBC related
+Bug Type: Compile Failure
 Operating System: AIX 5.1L
 PHP Version:  4CVS-2002-11-27 (dev)
 New Comment:

removing "-ma" from CCFLAGS gets rid of the incorrect pragma errors.
No effect on the other problems.
Reset problem type to "Compile Failure" (original intent)


Previous Comments:


[2002-11-27 09:50:24] [EMAIL PROTECTED]

AIX 5.1L , ibm VAC 6.0 compiler
xlc_r -ma -O3 -qstrict -qoptimize=3 -qmaxmem=8192
DB2 7.1
11-27 CVS 

packaged "configure" deleted, rebuilt using buildconf
Configured as:
./configure --with-apxs=/usr/sbin/apxs \
--enable-track-vars --enable-versioning \
--with-ibm-db2=/home/db2inst1/sqllib --sysconfdir=/etc \
--enable-force-cgi-redirect --enable-c9x-inline\
--with-mysql=/opt/freeware/
Configure works fine (no warnings or errors), make fails with:
# make
/bin/sh libtool --silent --mode=compile xlc_r -ma -O3 -qstrict
-qoptimize=3 -qmaxmem=8192 -qnolm  -Iext/ctype/
-I/usr/purerory/php4cvs/ext/ctype/ -DPHP_ATOM_INC
-I/usr/purerory/php4cvs/include -I/usr/purerory/php4cvs/main
-I/usr/purerory/php4cvs -I/usr/purerory/php4cvs/Zend
-I/opt/freeware//include/mysql -I/usr/purerory/php4cvs/ext/xml/expat 
-I /usr/local/include -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -I/usr/purerory/php4cvs/TSRM  -I
/usr/local/include  -prefer-pic -c
/usr/purerory/php4cvs/ext/ctype/ctype.c -o ext/ctype/ctype.lo 
"/usr/include/alloca.h", line 20.1: 1506-224 (I) Incorrect pragma
ignored.
/bin/sh libtool --silent --mode=compile xlc_r -ma -O3 -qstrict
-qoptimize=3 -qmaxmem=8192 -qnolm  -Iext/mysql/
-I/usr/purerory/php4cvs/ext/mysql/ -DPHP_ATOM_INC
-I/usr/purerory/php4cvs/include -I/usr/purerory/php4cvs/main
-I/usr/purerory/php4cvs -I/usr/purerory/php4cvs/Zend
-I/opt/freeware//include/mysql -I/usr/purerory/php4cvs/ext/xml/expat 
-I /usr/local/include -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -I/usr/purerory/php4cvs/TSRM  -I
/usr/local/include  -prefer-pic -c
/usr/purerory/php4cvs/ext/mysql/php_mysql.c -o ext/mysql/php_mysql.lo 
"/usr/include/alloca.h", line 20.1: 1506-224 (I) Incorrect pragma
ignored.
/bin/sh libtool --silent --mode=compile xlc_r -ma -O3 -qstrict
-qoptimize=3 -qmaxmem=8192 -qnolm -I/home/db2inst1/sqllib/include
-Iext/odbc/ -I/usr/purerory/php4cvs/ext/odbc/ -DPHP_ATOM_INC
-I/usr/purerory/php4cvs/include -I/usr/purerory/php4cvs/main
-I/usr/purerory/php4cvs -I/usr/purerory/php4cvs/Zend
-I/opt/freeware//include/mysql -I/usr/purerory/php4cvs/ext/xml/expat 
-I /usr/local/include -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -I/usr/purerory/php4cvs/TSRM  -I
/usr/local/include  -prefer-pic -c
/usr/purerory/php4cvs/ext/odbc/php_odbc.c -o ext/odbc/php_odbc.lo 
"/usr/include/alloca.h", line 20.1: 1506-224 (I) Incorrect pragma
ignored.
"/usr/purerory/php4cvs/ext/standard/php_image.h", line 48.21: 1506-275
(S) Unexpected text ',' encountered.
"/home/db2inst1/sqllib/include/sqlcli.h", line 718.9: 1506-213 (S)
Macro name ODBCVER cannot be redefined.
"/home/db2inst1/sqllib/include/sqlcli.h", line 718.9: 1506-358 (I)
"ODBCVER" is defined on line 27 of
/usr/purerory/php4cvs/ext/odbc/php_odbc.h.
"/home/db2inst1/sqllib/include/sqlcli1.h", line 126.10: 1506-213 (S)
Macro name SQL_EXT_API_LAST cannot be redefined.
"/home/db2inst1/sqllib/include/sqlcli1.h", line 126.10: 1506-358 (I)
"SQL_EXT_API_LAST" is defined on line 621 of
/home/db2inst1/sqllib/include/sqlext.h.
"/home/db2inst1/sqllib/include/sqlcli1.h", line 207.10: 1506-213 (S)
Macro name SQL_OJ_CAPABILITIES cannot be redefined.
"/home/db2inst1/sqllib/include/sqlcli1.h", line 207.10: 1506-358 (I)
"SQL_OJ_CAPABILITIES" is defined on line 764 of
/home/db2inst1/sqllib/include/sqlext.h.
"/home/db2inst1/sqllib/include/sqlcli1.h", line 219.9: 1506-213 (S)
Macro name SQL_INFO_LAST cannot be redefined.
"/home/db2inst1/sqllib/include/sqlcli1.h", line 219.9: 1506-358 (I)
"SQL_INFO_LAST" is defined on line 776 of
/home/db2inst1/sqllib/include/sqlext.h.
"/usr/purerory/php4cvs/ext/odbc/php_odbc.c", line 199.30: 1506-280 (S)
Function argument assignment between types "long" and "void*" is not
allowed.
... last item repeats 55 times on different lines of php_odbc.c, as
above

Same compile error on PHP 4.2.3 and 11-27 Stable
Problem is similar to bug #13695, which was closed as "no feedback"





-- 
Edit this bug report at http://bugs.php.net/?id=20677&edit=1




#20677 [NEW]: Compile fail w/DB2 on AIX: Macro cannot be redefined

2002-11-27 Thread purerory
From: [EMAIL PROTECTED]
Operating system: AIX 5.1L
PHP version:  4CVS-2002-11-27 (dev)
PHP Bug Type: Compile Failure
Bug description:  Compile fail w/DB2 on AIX: Macro cannot be redefined

AIX 5.1L , ibm VAC 6.0 compiler
xlc_r -ma -O3 -qstrict -qoptimize=3 -qmaxmem=8192
DB2 7.1
11-27 CVS 

packaged "configure" deleted, rebuilt using buildconf
Configured as:
./configure --with-apxs=/usr/sbin/apxs \
--enable-track-vars --enable-versioning \
--with-ibm-db2=/home/db2inst1/sqllib --sysconfdir=/etc \
--enable-force-cgi-redirect --enable-c9x-inline\
--with-mysql=/opt/freeware/
Configure works fine (no warnings or errors), make fails with:
# make
/bin/sh libtool --silent --mode=compile xlc_r -ma -O3 -qstrict
-qoptimize=3 -qmaxmem=8192 -qnolm  -Iext/ctype/
-I/usr/purerory/php4cvs/ext/ctype/ -DPHP_ATOM_INC
-I/usr/purerory/php4cvs/include -I/usr/purerory/php4cvs/main
-I/usr/purerory/php4cvs -I/usr/purerory/php4cvs/Zend
-I/opt/freeware//include/mysql -I/usr/purerory/php4cvs/ext/xml/expat  -I
/usr/local/include -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -I/usr/purerory/php4cvs/TSRM  -I
/usr/local/include  -prefer-pic -c /usr/purerory/php4cvs/ext/ctype/ctype.c
-o ext/ctype/ctype.lo 
"/usr/include/alloca.h", line 20.1: 1506-224 (I) Incorrect pragma
ignored.
/bin/sh libtool --silent --mode=compile xlc_r -ma -O3 -qstrict
-qoptimize=3 -qmaxmem=8192 -qnolm  -Iext/mysql/
-I/usr/purerory/php4cvs/ext/mysql/ -DPHP_ATOM_INC
-I/usr/purerory/php4cvs/include -I/usr/purerory/php4cvs/main
-I/usr/purerory/php4cvs -I/usr/purerory/php4cvs/Zend
-I/opt/freeware//include/mysql -I/usr/purerory/php4cvs/ext/xml/expat  -I
/usr/local/include -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -I/usr/purerory/php4cvs/TSRM  -I
/usr/local/include  -prefer-pic -c
/usr/purerory/php4cvs/ext/mysql/php_mysql.c -o ext/mysql/php_mysql.lo 
"/usr/include/alloca.h", line 20.1: 1506-224 (I) Incorrect pragma
ignored.
/bin/sh libtool --silent --mode=compile xlc_r -ma -O3 -qstrict
-qoptimize=3 -qmaxmem=8192 -qnolm -I/home/db2inst1/sqllib/include
-Iext/odbc/ -I/usr/purerory/php4cvs/ext/odbc/ -DPHP_ATOM_INC
-I/usr/purerory/php4cvs/include -I/usr/purerory/php4cvs/main
-I/usr/purerory/php4cvs -I/usr/purerory/php4cvs/Zend
-I/opt/freeware//include/mysql -I/usr/purerory/php4cvs/ext/xml/expat  -I
/usr/local/include -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -I/usr/purerory/php4cvs/TSRM  -I
/usr/local/include  -prefer-pic -c
/usr/purerory/php4cvs/ext/odbc/php_odbc.c -o ext/odbc/php_odbc.lo 
"/usr/include/alloca.h", line 20.1: 1506-224 (I) Incorrect pragma
ignored.
"/usr/purerory/php4cvs/ext/standard/php_image.h", line 48.21: 1506-275 (S)
Unexpected text ',' encountered.
"/home/db2inst1/sqllib/include/sqlcli.h", line 718.9: 1506-213 (S) Macro
name ODBCVER cannot be redefined.
"/home/db2inst1/sqllib/include/sqlcli.h", line 718.9: 1506-358 (I)
"ODBCVER" is defined on line 27 of
/usr/purerory/php4cvs/ext/odbc/php_odbc.h.
"/home/db2inst1/sqllib/include/sqlcli1.h", line 126.10: 1506-213 (S) Macro
name SQL_EXT_API_LAST cannot be redefined.
"/home/db2inst1/sqllib/include/sqlcli1.h", line 126.10: 1506-358 (I)
"SQL_EXT_API_LAST" is defined on line 621 of
/home/db2inst1/sqllib/include/sqlext.h.
"/home/db2inst1/sqllib/include/sqlcli1.h", line 207.10: 1506-213 (S) Macro
name SQL_OJ_CAPABILITIES cannot be redefined.
"/home/db2inst1/sqllib/include/sqlcli1.h", line 207.10: 1506-358 (I)
"SQL_OJ_CAPABILITIES" is defined on line 764 of
/home/db2inst1/sqllib/include/sqlext.h.
"/home/db2inst1/sqllib/include/sqlcli1.h", line 219.9: 1506-213 (S) Macro
name SQL_INFO_LAST cannot be redefined.
"/home/db2inst1/sqllib/include/sqlcli1.h", line 219.9: 1506-358 (I)
"SQL_INFO_LAST" is defined on line 776 of
/home/db2inst1/sqllib/include/sqlext.h.
"/usr/purerory/php4cvs/ext/odbc/php_odbc.c", line 199.30: 1506-280 (S)
Function argument assignment between types "long" and "void*" is not
allowed.
... last item repeats 55 times on different lines of php_odbc.c, as above

Same compile error on PHP 4.2.3 and 11-27 Stable
Problem is similar to bug #13695, which was closed as "no feedback"

-- 
Edit bug report at http://bugs.php.net/?id=20677&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20677&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=20677&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=20677&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20677&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=20677&r=oldversion
Not developer issue:http://