php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39486 --with-imap and uw-imap 2006d purge_mail_full
Submitted: 2006-11-13 06:18 UTC Modified: 2006-11-13 18:28 UTC
From: casterln at nature dot berkeley dot edu Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2.0 OS: Solaris 9
Private report: No CVE-ID: None
 [2006-11-13 06:18 UTC] 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;
+}
+
+



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-13 12:00 UTC] tony2001@php.net
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.
 [2006-11-13 18:28 UTC] casterln at nature dot berkeley dot edu
I thought this would be the right place to report it since
it looks so similar to the issues resolved in bug 39486
stemming from the newer versions of the c-client library.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 08:01:28 2024 UTC