php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26823 --with-oci --with-mm
Submitted: 2004-01-07 01:56 UTC Modified: 2004-01-07 03:05 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: kangsfav at chollian dot net Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.4 OS: redhat 7.3
Private report: No CVE-ID: None
 [2004-01-07 01:56 UTC] kangsfav at chollian dot net
Description:
------------
Configure ends OK, but when trying to compile, it ends  
with recursive error caused by "--with-mm".
 
Previously reported in 4.2.2 on the same system.

--- BEGIN FULL CONFIGURE LINE --- 
 ./configure \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--sysconfdir=/etc \
--datadir=/usr/share \
--includedir=/usr/include \
--libdir=/usr/lib \
--libexecdir=/usr/libexec \
--localstatedir=/var \
--sharedstatedir=/usr/com \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--with-oci8=$ORACLE_HOME \
--prefix=/usr \
--with-config-file-path=/etc \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--with-db3 \
--with-curl=/usr \
--with-dom=/usr \
--with-exec-dir=/usr/bin \
--with-freetype-dir=/usr \
--with-png-dir=/usr \
--with-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-gdbm \
--with-gettext \
--with-ncurses \
--with-gmp \
--with-iconv \
--with-jpeg-dir=/usr \
--with-mm \
--with-openssl \
--with-png \
--with-pspell \
--with-regex=system \
--with-xml \
--with-expat-dir=/usr \
--with-zlib \
--with-layout=GNU \
--enable-bcmath \
--enable-debugger \
--enable-exif \
--enable-ftp \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-discard-path \
--enable-track-vars \
--enable-trans-sid \
--enable-yp=shared \
--enable-wddx \
--with-imap=shared \
--with-imap-ssl=shared \
--with-kerberos=/usr/kerberos \
--with-ldap=shared \
--with-mysql=shared,/usr \
--with-snmp=shared,/usr \
--with-snmp=shared \
--enable-ucd-snmp-hack \
--with-unixODBC=shared \
--enable-memory-limit \
--enable-bcmath \
--enable-shmop \
--enable-versioning \
--enable-calendar \
--enable-dbx \
--enable-dio \
--enable-mbstring \
--enable-mbstr-enc-trans \
--with-apxs=/usr/sbin/apxs
--- END FULL CONFIGURE LINE ---  
--- BEGIN ERROR MESSAGES ---  
/bin/sh /home/oracle/php-4.3.4/libtool .....
ext/session/mod_mm.lo: In function `hash_split':
/home/oracle/php-4.3.4/ext/session/mod_mm.c:96: undefined reference to `mm_calloc'
/home/oracle/php-4.3.4/ext/session/mod_mm.c:111: undefined reference to `mm_free'
ext/session/mod_mm.lo: In function `ps_sd_new':
/home/oracle/php-4.3.4/ext/session/mod_mm.c:125: undefined reference to `mm_malloc'
/home/oracle/php-4.3.4/ext/session/mod_mm.c:129: undefined reference to `mm_error'
/home/oracle/php-4.3.4/ext/session/mod_mm.c:129: undefined reference to `mm_available'
ext/session/mod_mm.lo: In function `ps_sd_destroy':
/home/oracle/php-4.3.4/ext/session/mod_mm.c:176: undefined reference to `mm_free'
/home/oracle/php-4.3.4/ext/session/mod_mm.c:177: undefined reference to `mm_free'
ext/session/mod_mm.lo: In function `ps_mm_initialize':
/home/oracle/php-4.3.4/ext/session/mod_mm.c:215: undefined reference to `mm_create'
/home/oracle/php-4.3.4/ext/session/mod_mm.c:222: undefined reference to `mm_calloc'
/home/oracle/php-4.3.4/ext/session/mod_mm.c:224: undefined reference to `mm_destroy'
ext/session/mod_mm.lo: In function `ps_mm_destroy':
/home/oracle/php-4.3.4/ext/session/mod_mm.c:247: undefined reference to `mm_free'
/home/oracle/php-4.3.4/ext/session/mod_mm.c:248: undefined reference to `mm_destroy'
ext/session/mod_mm.lo: In function `ps_read_mm':
/home/oracle/php-4.3.4/ext/session/mod_mm.c:326: undefined reference to `mm_lock'
/home/oracle/php-4.3.4/ext/session/mod_mm.c:337: undefined reference to `mm_unlock'
ext/session/mod_mm.lo: In function `ps_write_mm':
/home/oracle/php-4.3.4/ext/session/mod_mm.c:347: undefined reference to `mm_lock'
/home/oracle/php-4.3.4/ext/session/mod_mm.c:358: undefined reference to `mm_free'
/home/oracle/php-4.3.4/ext/session/mod_mm.c:360: undefined reference to `mm_malloc'
/home/oracle/php-4.3.4/ext/session/mod_mm.c:375: undefined reference to `mm_unlock'
ext/session/mod_mm.lo: In function `ps_delete_mm':
/home/oracle/php-4.3.4/ext/session/mod_mm.c:385: undefined reference to `mm_lock'
/home/oracle/php-4.3.4/ext/session/mod_mm.c:391: undefined reference to `mm_unlock'
ext/session/mod_mm.lo: In function `ps_gc_mm':
/home/oracle/php-4.3.4/ext/session/mod_mm.c:410: undefined reference to `mm_lock'
/home/oracle/php-4.3.4/ext/session/mod_mm.c:423: undefined reference to `mm_unlock'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
--- END ERROR MESSAGES ---  




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-07 02:05 UTC] kangsfav at chollian dot net
It was succeed without "--with-oci8".
 [2004-01-07 02:41 UTC] kangsfav at chollian dot net
oops.. it does not bug...

quoted <
MM library support doesn't compile with oracle support

...

Problem is apparently in library libmm.a, because in $ORACLE_HOME/lib is
also some libmm.a.
If I renamed $ORACLE_HOME/lib/libmm.a to a different name, compilation
succeeded.
If I put -L/usr/lib before -L$ORACLE_HOME/lib into Makefile variables
*_LDFLAGS it also worked.

Is there any clean solution?
Regards,
Martin Horak
[9 Apr 2003 5:55am EDT] sniper@php.net 
Install libmm in some other place.
Not PHP bug.
 [2004-01-07 03:05 UTC] sniper@php.net
No. (this is still not PHP bug)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 21:01:29 2024 UTC