|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2004-02-05 06:08 UTC] detoma dot alessandro at sea-aeroportimilano dot it
Description: ------------ ./configure \ --with-apxs2=/appl/apache/bin/apxs \ --with-oracle=/oracle/product/8.1.7 \ --with-sybase-ct=/database/sybase/OCS-12_0 \ --with-openssl=/usr/local/ssl \ --with-jpeg-dir=/usr/local \ --with-zlib-dir=shared \ --with-png-dir=/usr/local \ --with-tsrm-pthreads \ --with-curl=/usr/local make fail when I compile with sybase library 12.0 : /bin/sh /usr/local/src/php-4.3.4/libtool --silent --preserve-dup-deps --mode=compile /usr/local/src/php-4.3.4/meta_ccld -Iext/sybase_ct/ -I/usr/local/src/php-4.3.4/ext/sybase_ct/ -DPHP_ATOM_INC -I/usr/local/src/php-4.3.4/include -I/usr/local/src/php-4.3.4/main -I/usr/local/src/php-4.3.4 -I/usr/local/src/php-4.3.4/Zend -I/usr/local/ssl/include -I/usr/local/include -I/oracle/product/8.1.7/rdbms/public -I/oracle/product/8.1.7/rdbms/demo -I/database/sybase/OCS-12_0/include -I/usr/local/src/php-4.3.4/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/local/src/php-4.3.4/TSRM -DTHREAD=1 -g -mt -DZTS -prefer-pic -c /usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c -o ext/sybase_ct/php_sybase_ct.lo "/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 241: non-constant initializer: op "U&" "/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 241: non-constant initializer: op "U&" "/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 241: non-constant initializer: op "U&" "/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 241: non-constant initializer: op "U&" "/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 241: non-constant initializer: op "U&" "/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 242: non-constant initializer: op "U&" "/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 242: non-constant initializer: op "U&" "/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 242: non-constant initializer: op "U&" "/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 242: non-constant initializer: op "U&" "/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 242: non-constant initializer: op "U&" cc: acomp failed for /usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c *** Error code 1 make: Fatal error: Command failed for target `ext/sybase_ct/php_sybase_ct.lo' PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 10:00:01 2025 UTC |
Wait, I just saw the second compile failure shows lines 248 and 249 as where the errors occur. -- snip -- zval severity, msgnumber, state, line, text; zval *ptrs[5]= {&msgnumber, &severity, &state, &line, &text}; zval **args[5]= {&ptrs[0], &ptrs[1], &ptrs[2], &ptrs[3], &ptrs[4]}; -- snip -- OK, then this isn't related to ZTS and not to my recent changes either, as this code has been there (or a couple of lines before that) for quite a while now (revision 1.71 or PHP 4.3.0).