problem compiling imap+php

Scott Kupferschmidt sk at isprime.com
Sat Jun 14 16:47:52 PDT 2003


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



More information about the freebsd-questions mailing list