ID:               19879
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Closed
 Bug Type:         Compile Failure
 Operating System: Debian GNU/Linux 3.0
 PHP Version:      4.3.0-pre1
 New Comment:

Pardon? Even without trying that one it is obvious (just by reading the
code),
that this "hack" can�t fix the reported error!

Do you ever analyze the problem and/or test your "hacks" 

More and more I get the feeling, that php never becomes stable and
ready
to use in a production environment!


Previous Comments:
------------------------------------------------------------------------

[2002-10-12 07:10:59] [EMAIL PROTECTED]

This is fixed in CVS. Would you be so kind to add the following line
after line 287:
TSRMLS_FETCH();

the code looks like this then:
{
    char numbuf[NUM_BUF_SIZE];
    char *cvt;
    register int i = 0, j = 0;
    int sign, decpt;
    char decimal_point = EG(float_separator)[0];
    TSRMLS_FETCH();

    PRINTF_DEBUG(("sprintf: appenddouble(%x, %x, %x, %f, %d, '%c', %d,
%c)\n",
                  *buffer, pos, size, number, width, padding,
alignment, fmt));


regards,
Derick


------------------------------------------------------------------------

[2002-10-12 03:32:38] [EMAIL PROTECTED]

Hello, plain unzipped php4.3.0-pre1.tar.bz2 and did ./configure
--with-apxs2=/usr/bin/apxs --prefix=/usr/local
And it failed


Here is the last bit of the compile
----------------------------------------------
/bin/sh libtool --silent --mode=compile gcc  -Iext/standard/
-I/root/php-4.3.0pre1/ext/standard/ -DPHP_ATOM_INC
-I/root/php-4.3.0pre1/include -I/root/php-4.3.0pre1/main
-I/root/php-4.3.0pre1 -I/usr/include/apache2 -I/root/php-4.3.0pre1/Zend
-I/root/php-4.3.0pre1/ext/xml/expat  -D_REENTRANT
-I/root/php-4.3.0pre1/TSRM -DTHREAD=1  -g -O2 -pthread -DZTS 
-prefer-pic -c /root/php-4.3.0pre1/ext/standard/formatted_print.c -o
ext/standard/formatted_print.lo
/root/php-4.3.0pre1/ext/standard/formatted_print.c: In function
`php_sprintf_appenddouble':
/root/php-4.3.0pre1/ext/standard/formatted_print.c:287: `tsrm_ls'
undeclared (first use in this function)
/root/php-4.3.0pre1/ext/standard/formatted_print.c:287: (Each
undeclared identifier is reported only once
/root/php-4.3.0pre1/ext/standard/formatted_print.c:287: for each
function it appears in.)
make: *** [ext/standard/formatted_print.lo] Error 1


------------------------------------------------------------------------


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

Reply via email to