#22819 [Opn]: main/internal_functions_cli.c undeclared phpext_*

From: Date: Fri, 21 Mar 2003 21:10:29 +0000
Subject: #22819 [Opn]: main/internal_functions_cli.c undeclared phpext_*
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-36136@lists.php.net to get a copy of this message
ID: 22819 Updated by: helly@php.net Reported By: Information-Cascade at ntlworld dot com Status: Open Bug Type: Compile Failure Operating System: Linux PHP Version: 4.3.2RC1 New Comment: Did you try it with a fresh checkout/source tree? You ay also try ./cvsclean ; ./buildconf ; ./configure ; make Previous Comments: ------------------------------------------------------------------------ [2003-03-21 13:20:38] Information-Cascade at ntlworld dot com Lots of things compile OK, but then libtool compile gcc fails with: main/internal_functions_cli.c:41: 41: error: `phpext_xml_ptr' undeclared here (not in a function) 41: error: initializer element is not constant 41: error: (near initialization for `php_builtin_extensions[0]') Ditto for: phpext_xml_ptr phpext_tokenizer_ptr phpext_standard_ptr phpext_session_ptr phpext_posix_ptr phpext_pcre_ptr phpext_overload_ptr phpext_mysql_ptr phpext_ctype_ptr The build environment is gcc (GCC) 3.3 20020916 (experimental) binutils-2.13 apache-1.3.27 Linux-4.2.19 i586 config.nice edited to multiline says: ( I know its an absurd CFLAGS, but it is otherwise OK) CFLAGS='-g -O2 -L/tools/2003/www/lib -Wl,--rpath=/tools/2003/www/lib -I/tools/2003/www/include -L/tools/2003/libs/lib -Wl,--rpath=/tools/2003/libs/lib -I/tools/2003/libs/include -L/tools/2003/mysql/lib -Wl,--rpath=/tools/2003/mysql/lib -I/tools/2003/mysql/include -L/tools/2003/pgsql/lib -Wl,--rpath=/tools/2003/pgsql/lib -I/tools/2003/pgsql/include -L/tools/2003/xml/lib -Wl,--rpath=/tools/2003/xml/lib -I/tools/2003/xml/include' \ CXXFLAGS='-g -O2' \ '/tools/2003_src/www/php-4.3.2RC1/configure' \ '--prefix=/tools/2003/www' \ '--with-apxs=/tools/2003/www/bin/apxs' \ '--with-config-file-path=/tools/2003/www' \ "$@" Graham ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22819&edit=1

« previous php.bugs (#36136) next »