php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77 dl/imap/imap.c won't compile
Submitted: 1998-02-17 15:24 UTC Modified: 1998-02-19 22:16 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: mark dot cornick at gsfc dot nasa dot gov Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0b4 OS: Red Hat Linux 5.0, kernel 2.0.33
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: mark dot cornick at gsfc dot nasa dot gov
New email:
PHP Version: OS:

 

 [1998-02-17 15:24 UTC] mark dot cornick at gsfc dot nasa dot gov
[msc@zorak dl]$ make imap.so
cc -O2 -Dbool=char -DHAS_BOOL -I. -I.. -fpic  -DCOMPILE_DL=1 -c -o imap/imap.o imap/imap.c
imap/imap.c: In function `php3_imap_header':
imap/imap.c:394: structure has no member named `size'
imap/imap.c:394: incompatible types in assignment
imap/imap.c:399: structure has no member named `size'
imap/imap.c:399: incompatible types in assignment
imap/imap.c:404: structure has no member named `size'
imap/imap.c:404: incompatible types in assignment
imap/imap.c:409: structure has no member named `size'
imap/imap.c:409: incompatible types in assignment
imap/imap.c:414: structure has no member named `size'
imap/imap.c:414: incompatible types in assignment
imap/imap.c:419: structure has no member named `size'
imap/imap.c:419: incompatible types in assignment
imap/imap.c:424: structure has no member named `size'
imap/imap.c:424: incompatible types in assignment
imap/imap.c: At top level:
imap/imap.c:459: conflicting types for `mm_list'
/usr/local/include/mail.h:1090: previous declaration of `mm_list'
imap/imap.c:464: conflicting types for `mm_lsub'
/usr/local/include/mail.h:1091: previous declaration of `mm_lsub'
make: *** [imap/imap.o] Error 1

I have c-client.a installed in /usr/local/lib and linkage.h, mail.h, rfc822.h in /usr/local/include as per the directions. I configured PHP3 with:

CFLAGS="-I/usr/include/pgsql" LDFLAGS="-rdynamic" ./configure --with-pgsql=/usr --with-system-regex --with-config-file-path=/etc --enable-magic-quotes

(Is this imap code known to compile yet? I'm very interested in using it.)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-02-19 22:16 UTC] jim
Only the older imap4 library is supported, not the imap4.1BETA. The links in the FAQ were wrong,
but have been corrected.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 08:01:29 2025 UTC