ID: 39486
Updated by: [EMAIL PROTECTED]
Reported By: casterln at nature dot berkeley dot edu
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Solaris 9
PHP Version: 5.2.0
New Comment:
Please report this problem to IMAP cclient developers, PHP itself
doesn't use this function, so there must be some problem in the
underlying library.
Thank you.
Previous Comments:
------------------------------------------------------------------------
[2006-11-13 06:18:57] casterln at nature dot berkeley dot edu
Description:
------------
I got an error:
Undefined first referenced
symbol in file
mail_expunge_full ext/imap/.libs/php_imap.o
ld: fatal: Symbol referencing errors. No output written to
sapi/cli/php
make: *** [sapi/cli/php] Error 1
imap-2006d.DEV.SNAP-0611062033.
My workaround was to add the following to ext/imap/php_imap.c
+/* Mail expunge mailbox
+ * Accepts: mail stream
+ * sequence to expunge if non-NIL
+ * expunge options
+ * Returns: T on success, NIL on failure
+ */
+
+long mail_expunge_full (MAILSTREAM *stream,char *sequence,long
options)
+{
+ /* do the driver's action */
+ return stream->dtb ? (*stream->dtb->expunge)
(stream,sequence,options) : NIL;
+}
+
+
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39486&edit=1