From: david dot tulloh at anu dot edu dot au
Operating system: Debian Linux
PHP version: 5CVS-2005-08-12 (dev)
PHP Bug Type: Strings related
Bug description: Compile error: tsrm_ls undeclared in php_expand_u_trim_range
Description:
I was trying to give the new unicode stuff a spin but it wouldn't
compile.
Reproduce code:
---
>./cvsclean
>cvs update
>./buildconf
>http://localhost:100/configure_line
>make
Actual result:
--
/bin/sh /home/lod/Downloads/php-cvs/libtool --silent --preserve-dup-deps
--mode=compile /home/lod/Downloads/php-cvs/meta_ccld -Iext/standard/
-I/home/lod/Downloads/php-cvs/ext/standard/ -DPHP_ATOM_INC
-I/home/lod/Downloads/php-cvs/include -I/home/lod/Downloads/php-cvs/main
-I/home/lod/Downloads/php-cvs -I/usr/include/libxml2
-I/usr/include/postgresql/8.0 -I/usr/include/tidy
-I/home/lod/Downloads/php-cvs/TSRM -I/home/lod/Downloads/php-cvs/Zend
-D_REENTRANT -g -O2 -pthread -DZTS -prefer-non-pic -c
/home/lod/Downloads/php-cvs/ext/standard/string.c -o
ext/standard/string.lo
/home/lod/Downloads/php-cvs/ext/standard/string.c: In function
`php_expand_u_trim_range':
/home/lod/Downloads/php-cvs/ext/standard/string.c:619: error: `tsrm_ls'
undeclared (first use in this function)
/home/lod/Downloads/php-cvs/ext/standard/string.c:619: error: (Each
undeclared identifier is reported only once
/home/lod/Downloads/php-cvs/ext/standard/string.c:619: error: for each
function it appears in.)
/home/lod/Downloads/php-cvs/ext/standard/string.c: In function
`zif_strstr':
/home/lod/Downloads/php-cvs/ext/standard/string.c:1915: warning:
assignment from incompatible pointer type
/home/lod/Downloads/php-cvs/ext/standard/string.c:1916: warning: passing
arg 1 of `u_strncpy_3_4' from incompatible pointer type
/home/lod/Downloads/php-cvs/ext/standard/string.c:1918: warning:
initialization from incompatible pointer type
make: *** [ext/standard/string.lo] Error 1
--
Edit bug report at http://bugs.php.net/?id=34092&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34092&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=34092&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=34092&r=trysnapshot51
Fixed in CVS:http://bugs.php.net/fix.php?id=34092&r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=34092&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34092&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34092&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34092&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34092&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34092&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=34092&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=34092&r=submittedtwice
register_globals:http://bugs.php.net/fix.php?id=34092&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34092&r=php3
Daylight Savings:http://bugs.php.net/fix.php?id=34092&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34092&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34092&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34092&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34092&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34092&r=mysqlcfg