From:             casterln at nature dot berkeley dot edu
Operating system: Solaris 9
PHP version:      5.2.0
PHP Bug Type:     Compile Failure
Bug description:  --with-imap and uw-imap 2006d purge_mail_full

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 bug report at http://bugs.php.net/?id=39486&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=39486&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=39486&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=39486&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=39486&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=39486&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=39486&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=39486&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=39486&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=39486&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=39486&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=39486&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=39486&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=39486&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39486&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=39486&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=39486&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=39486&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39486&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=39486&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=39486&r=mysqlcfg

Reply via email to