From:             Information-Cascade at ntlworld dot com
Operating system: Linux
PHP version:      4.3.2RC1
PHP Bug Type:     Compile Failure
Bug description:  main/internal_functions_cli.c undeclared phpext_*

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 bug report at http://bugs.php.net/?id=22819&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22819&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22819&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22819&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22819&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22819&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22819&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22819&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22819&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22819&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22819&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22819&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22819&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22819&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22819&r=gnused

Reply via email to