#26823 [Opn]: --with-oci --with-mm
| From: | kangsfav at chollian dot net | Date: | Wed, 07 Jan 2004 07:41:09 +0000 |
| Subject: | #26823 [Opn]: --with-oci --with-mm | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-52916@lists.php.net to get a copy of this message | ||
ID: 26823
User updated by: kangsfav at chollian dot net
Reported By: kangsfav at chollian dot net
Status: Open
Bug Type: Compile Failure
Operating System: redhat 7.3
PHP Version: 4.3.4
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2004-01-07 02:05:58] kangsfav at chollian dot net
It was succeed without "--with-oci8".
------------------------------------------------------------------------
[2004-01-07 01:56:03] 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 ---
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26823&edit=1