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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: casterln at nature dot berkeley dot edu
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 15 23:01:33 2025 UTC