compile error in string.c

From: Date: Fri, 10 Dec 1999 04:42:04 +0000
Subject: compile error in string.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-7751@lists.php.net to get a copy of this message
The error: string.c: In function `php_strtolower': string.c:430: `i' undeclared (first use in this function) string.c:430: (Each undeclared identifier is reported only once string.c:430: for each function it appears in.) string.c: In function `php_strip_tags': string.c:2164: too few arguments to function `php_strtolower' make[3]: *** [string.lo] Error 1 make[3]: Leaving directory `/usr/local/src/php4/ext/standard' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/php4/ext' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/php4' make: *** [all-recursive-am] Error 2 quick fix for the first error is adding "int i;" to line 427 of strings.c quick fix for the second error is changing line 2164 from: php_strtolower(allow); to php_strtolower(allow, len); My Compile line: ./configure --with-mysql --enable-track-vars --enable-memory-limit \ --disable-debug --disable-inline --enable-safe-mode My System: RedHat 6.0 PII 350 128 Mb RAM Regards, Vincent Power System Administrator

« previous php.version4 (#7751) next »