|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-10-12 03:32 UTC] Lathiat-php at irc-desk dot net
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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Mar 27 20:00:01 2026 UTC |
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