Menu

Compilation error with PHP 5.0.0

DBG
2004-07-31
2013-04-02
  • Sérgio Surkamp

    Sérgio Surkamp - 2004-07-31

    Cant compile it within a system with PHP 5.0.0 (final).

    System Specs:
    OS: Slackware Linux 9.1
    Apache: 2.0.50
    PHP: 5.0.0

    Command line: phpize && ./configure --prefix=/usr && make

    Error Output:

    gcc -I. -I/home/sergio/devel/PHP/debug/dbg-2.11.26-src -DPHP_ATOM_INC -I/home/sergio/devel/PHP/debug/dbg-2.11.26-src/include -I/home/sergio/devel/PHP/debug/dbg-2.11.26-src/main -I/home/sergio/devel/PHP/debug/dbg-2.11.26-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -DHAVE_CONFIG_H -g -O2 -c /home/sergio/devel/PHP/debug/dbg-2.11.26-src/dbg_cmd.c  -fPIC -DPIC -o dbg_cmd.lo
    /home/sergio/devel/PHP/debug/dbg-2.11.26-src/dbg_cmd.c: In function `dbg_lookup_hostname':
    /home/sergio/devel/PHP/debug/dbg-2.11.26-src/dbg_cmd.c:47: warning: assignment makes pointer from integer without a cast
    /home/sergio/devel/PHP/debug/dbg-2.11.26-src/dbg_cmd.c:51: error: dereferencing pointer to incomplete type
    make: ** [dbg_cmd.lo] Erro 1

    Anyone can help?

     
    • Dmitri Dmitrienko

      2.11.30 and higher fixes this problem

       
    • Dmitri Dmitrienko

      2.11.26 is quite an outdated version and this problem was fixed in 2.13. Please give 2.15.5 a try.

       

Log in to post a comment.