Bug #10788 Updated: c-client linked to config test progs causes undefined symbols
| From: | sniper@php.net | Date: | Fri, 11 May 2001 19:26:16 +0000 |
| Subject: | Bug #10788 Updated: c-client linked to config test progs causes undefined symbols | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54900@lists.php.net to get a copy of this message | ||
ID: 10788
Updated by: sniper
Reported By: wez@php.net
Old-Status: Open
Status: Closed
Bug Type: *Install and Config
Operating system:
PHP Version: 4.0 Latest CVS (2001-05-10)
Assigned To:
Comments:
This should be fixed now.
Reopen if not.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-05-10 16:03:31] chagenbu@php.net
I see this also; Jani's latest commit didn't fix it. Here's the config.log entry:
configure:51043: checking whether to include zlib support
configure:51244: checking for gzgets in -lz
configure:51263: gcc -o conftest -g -O2 -DLINUX=2 -DEAPI -DTARGET="apache" -DUSE_HSREGEX
-DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -L/usr/lib -Wl,-rpath,/home/chuck/code/imap/lib
-L/home/chuck/code/imap/lib -Wl,-rpath,/home/chuck/code/mcal/libmcal -L/home/chuck/code/mcal/libmcal
conftest.c -lz -lmysqlclient -lmcal -lldap -llber -lc-client -lcrypt -lresolv -lm -ldl -lnsl
-lresolv 1>&5
/usr/lib/libc-client.so: undefined reference to `mm_expunged'
/usr/lib/libc-client.so: undefined reference to `mm_diskerror'
/usr/lib/libc-client.so: undefined reference to `mm_lsub'
/usr/lib/libc-client.so: undefined reference to `mm_flags'
/usr/lib/libc-client.so: undefined reference to `mm_fatal'
/usr/lib/libc-client.so: undefined reference to `mm_nocritical'
/usr/lib/libc-client.so: undefined reference to `mm_notify'
/usr/lib/libc-client.so: undefined reference to `mm_searched'
/usr/lib/libc-client.so: undefined reference to `mm_status'
/usr/lib/libc-client.so: undefined reference to `mm_login'
/usr/lib/libc-client.so: undefined reference to `mm_list'
/usr/lib/libc-client.so: undefined reference to `mm_critical'
/usr/lib/libc-client.so: undefined reference to `mm_exists'
/usr/lib/libc-client.so: undefined reference to `mm_log'
/usr/lib/libc-client.so: undefined reference to `mm_dlog'
collect2: ld returned 1 exit status
configure: failed program was:
#line 51252 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char gzgets();
int main() {
gzgets()
; return 0; }
---------------------------------------------------------------------------
[2001-05-10 09:56:33] wez@php.net
The conftest progs for things like setuid fail because c-client expects to find
"mm-expunged", "mm_diskerror" etc. etc.
Probably related to current build issues, but not enough of an autoconf guru to figure it out.
"./configure"
"--with-apxs"
"--disable-pear"
"--enable-debug"
"--enable-sigchild"
"--enable-calendar"
"--enable-ftp"
"--with-ldap"
"--with-mysql=/usr"
"--enable-shmop"
"--enable-sysvsem"
"--enable-sysvshm"
"--with-zlib"
"--enable-inline-optimization"
"--with-iconv"
"--with-bz2"
"--enable-wddx"
"--with-openssl"
"--enable-bcmath"
"--enable-ctype"
"--with-imap"
"--with-pspell"
"--enable-yp"
"--with-jpeg-dir"
"--with-png-dir"
"--with-freetype-dir"
"--with-gd"
"--with-mhash"
"--enable-mailparse"
"--enable-jstring"
"--with-cybercash=/usr/local/mck-3.2.0.3-linux"
"--enable-php-streams"
"--enable-mbregex"
"--enable-memory-usage"
"--with-mm"
"$@"
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10788&edit=2