From:             [EMAIL PROTECTED]
Operating system: redhat 6.2
PHP version:      4.2.1
PHP Bug Type:     Compile Failure
Bug description:  PHP-4.2.1 doesn't compile with libmm

./configure --with-mm=shared,/usr/local

causes the following error to be generated

/bin/sh /vobs/delivery/rpm/BUILD/php-4.2.1/libtool --silent --mode=compile
gcc  -I. -I/vobs/delivery/rpm/BUILD/php-4.2.1/main
-I/vobs/delivery/rpm/BUILD/php-4.2.1/main
-I/vobs/delivery/rpm/BUILD/php-4.2.1 -I/usr/include/apache
-I/vobs/delivery/rpm/BUILD/php-4.2.1/Zend -I/usr/local/include
-I/usr/include/ucd-snmp -I/vobs/delivery/rpm/BUILD/php-4.2.1/ext/xml/expat
 -DLINUX=22 -DUSE_HSREGEX -DEAPI -I/vobs/delivery/rpm/BUILD/php-4.2.1/TSRM
-g -O2 -prefer-pic  -c internal_functions.c
internal_functions.c:57: `phpext_ps_mm_ptr' undeclared here (not in a
function)
internal_functions.c:57: initializer element is not constant
internal_functions.c:57: (near initialization for
`php_builtin_extensions[11]')
make[2]: *** [internal_functions.lo] Error 1

apxs -q CFLAGS generates
-DLINUX=22 -I/usr/include/db1 -DUSE_HSREGEX -DEAPI

-- 
Edit bug report at http://bugs.php.net/?id=17520&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=17520&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=17520&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=17520&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=17520&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17520&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=17520&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=17520&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=17520&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=17520&r=globals

Reply via email to