From owner-freebsd-questions@FreeBSD.ORG Sat Jun 14 16:47:51 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE30E37B401 for ; Sat, 14 Jun 2003 16:47:51 -0700 (PDT) Received: from lexus.isprime.com (lexus.isprime.com [66.230.130.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C76F43FAF for ; Sat, 14 Jun 2003 16:47:51 -0700 (PDT) (envelope-from sk@isprime.com) Received: from lexus.isprime.com (sk@localhost [127.0.0.1]) by lexus.isprime.com (8.12.9/8.12.6) with ESMTP id h5ENlor8021572 for ; Sat, 14 Jun 2003 19:47:50 -0400 (EDT) (envelope-from sk@isprime.com) Received: from localhost (sk@localhost)h5ENloKZ021569 for ; Sat, 14 Jun 2003 19:47:50 -0400 (EDT) X-Authentication-Warning: lexus.isprime.com: sk owned process doing -bs Date: Sat, 14 Jun 2003 19:47:49 -0400 (EDT) From: Scott Kupferschmidt To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: problem compiling imap+php X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2003 23:47:52 -0000 Hello, I saw a post regarding IMAP the other day on the questions list, so I thought others might be trying to do the same as me and give me a heads up on what might be wrong here. I am trying to compile PHP 4.3.2 with IMAP support, and it fails with the following: ======== Error Output for sanity check ======== cd ..; gcc -funsigned-char -DNO_DL_NEEDED -DFD_SETSIZE=4096 -o helpers/dummy helpers/dummy.c -R/usr/local/lib -rdynamic -L/usr/local/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -rdynamic -L/usr/local/lib -lcrypt -lc-client4 -lcrypt -lcrypt -lpam -lintl -lpng -lz -lz -lm -lcrypt -lcrypt -lcrypt -lexpat /usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/local/lib/libc-client4.so: undefined reference to `mm_expunged' /usr/local/lib/libc-client4.so: undefined reference to `mm_diskerror' /usr/local/lib/libc-client4.so: undefined reference to `mm_lsub' /usr/local/lib/libc-client4.so: undefined reference to `mm_flags' /usr/local/lib/libc-client4.so: undefined reference to `mm_fatal' /usr/local/lib/libc-client4.so: undefined reference to `mm_nocritical' /usr/local/lib/libc-client4.so: undefined reference to `mm_notify' /usr/local/lib/libc-client4.so: undefined reference to `mm_searched' /usr/local/lib/libc-client4.so: undefined reference to `mm_status' /usr/local/lib/libc-client4.so: undefined reference to `mm_login' /usr/local/lib/libc-client4.so: undefined reference to `mm_list' /usr/local/lib/libc-client4.so: undefined reference to `mm_critical' /usr/local/lib/libc-client4.so: undefined reference to `mm_exists' /usr/local/lib/libc-client4.so: undefined reference to `mm_log' /usr/local/lib/libc-client4.so: undefined reference to `mm_dlog' *** Error code 1 Stop in /usr/apache/src/helpers. ============= End of Error Report ============= If I disable IMAP support from PHP, all compiles fine. Any ideas? Thanks. Scott