#18924 [Opn->Fbk]: cc: toofewargs Error when building with imap-2002.RC2 support
| From: | kalowsky@php.net | Date: | Thu, 15 Aug 2002 19:58:28 +0000 |
| Subject: | #18924 [Opn->Fbk]: cc: toofewargs Error when building with imap-2002.RC2 support | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16933@lists.php.net to get a copy of this message | ||
ID: 18924
Updated by: kalowsky@php.net
Reported By: vlb@gene.com
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Tru64 Unix
PHP Version: 4.2.2
New Comment:
can you please try IMAP 2001 as that is a released verison that is
known to work.
Previous Comments:
------------------------------------------------------------------------
[2002-08-15 15:55:38] vlb@gene.com
I have configured php4.2.2 to builde --with-imap and have
imap-2002.RC2 downloaded and the c-client library installed.
The php build proecess gets this error:
cc: Error: php_imap.c, line 719: In this statement, "myusername_full"
expects 1 arguments, but 0 are supplied. (toofewargs)
(void) myusername_full();
-----------------------^
I have found myusername_full defined under the imap build tree as:
char *myusername_full (unsigned long *flags)
Perhaps php_imap.c was written to support an earlier version of imap?
Or perhaps other compilers are less picky if a function wants an arg
and isn't given one; I do note that myusernaame_full() checks
if(flags).
But the error is a blocker for me nonetheless. If someone would
investigate. Hand in NIL?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18924&edit=1