Hi,
after syncing with PHP 5.3 head I have a problem with compiling under Linux.
After the first failure I went through a 'make distclean; ./configure;
make' - cycle,
but got the same failure:
bernh...@heist:~/devel/PHP/php5$ cvs status main/spprintf.c
===================================================================
File: spprintf.c Status: Up-to-date
Working revision: 1.25.2.2.2.10.2.6
Repository revision: 1.25.2.2.2.10.2.6
/repository/php-src/main/spprintf.c,v
Sticky Tag: PHP_5_3 (branch: 1.25.2.2.2.10.2)
Sticky Date: (none)
Sticky Options: (none)
bernh...@heist:~/devel/PHP/php5$ make
/bin/bash /home/bernhard/devel/PHP/php5/libtool --silent
--preserve-dup-deps --mode=compile gcc -Imain/
-I/home/bernhard/devel/PHP/php5/main/ -DPHP_ATOM_INC
-I/home/bernhard/devel/PHP/php5/include
-I/home/bernhard/devel/PHP/php5/main -I/home/bernhard/devel/PHP/php5
-I/home/bernhard/devel/PHP/php5/ext/ereg/regex -I/usr/include/libxml2
-I/home/bernhard/devel/PHP/php5/ext/date/lib
-I/home/bernhard/devel/PHP/php5/ext/sqlite3/libsqlite
-I/home/bernhard/devel/PHP/php5/TSRM
-I/home/bernhard/devel/PHP/php5/Zend -I/usr/include -g -O2
-fvisibility=hidden -c /home/bernhard/devel/PHP/php5/main/spprintf.c -o
main/spprintf.lo
/home/bernhard/devel/PHP/php5/main/spprintf.c:186: error: static
declaration of 'strnlen' follows non-static declaration
/usr/include/string.h:249: error: previous declaration of 'strnlen' was here
make: *** [main/spprintf.lo] Fehler 1
bernh...@heist:~/devel/PHP/php5$ uname -a
Linux heist 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686
GNU/Linux
bernh...@heist:~/devel/PHP/php5$ gcc --version
gcc (Ubuntu 4.3.2-1ubuntu11) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es
gibt KEINE Garantie; auch nicht für MARKTGÄNGIGKEIT oder FÜR SPEZIELLE
ZWECKE.
bernh...@heist:~/devel/PHP/php5$
Regards,
Bernhard
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php