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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
37 + 35 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 00:01:29 2024 UTC