FAQ
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:

bernhard@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)

bernhard@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
bernhard@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
bernhard@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.

bernhard@heist:~/devel/PHP/php5$


Regards,
Bernhard

Search Discussions

  • Antony Dovgal at Jan 1, 2009 at 3:26 pm

    On 01.01.2009 18:03, Bernhard Schmalhofer wrote:
    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:
    ./cvsclean && ./buildconf

    --
    Wbr,
    Antony Dovgal
  • Bernhard Schmalhofer at Jan 1, 2009 at 5:01 pm

    Antony Dovgal schrieb:
    On 01.01.2009 18:03, Bernhard Schmalhofer wrote:

    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:
    ./cvsclean && ./buildconf
    Thanks,

    that did the trick. Sorry for the newbie question.

    Regards,
    Bernhard

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedJan 1, '09 at 3:03p
activeJan 1, '09 at 5:01p
posts3
users2
websitephp.net

People

Translate

site design / logo © 2021 Grokbase