Meir Yanovich | 8 Feb 2011 11:28
Picon

Linking errors in readmsg & smtpsend

Hi
im new to this  libaray trying to compile it in visual studio 2008 express the main libetpen i compiled without no problem
but im getting link errors with the 2 examples :

2>readmsg.c
2>Generating Code...
2>Compiling manifest to resources...
2>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
2>Copyright (C) Microsoft Corporation.  All rights reserved.
2>Linking...
2>getopt_long.obj : error LNK2005: _opterr already defined in getopt.obj
2>getopt_long.obj : error LNK2005: _optind already defined in getopt.obj
2>readmsg.obj : error LNK2005: _opterr already defined in getopt.obj
2>readmsg.obj : error LNK2005: _optind already defined in getopt.obj
2>option-parser.obj : error LNK2019: unresolved external symbol __imp__feed_mailstorage_init referenced in function _init_storage
2>../Debug/readmsg.exe : fatal error LNK1120: 1 unresolved externals

and the second link error in the smtpsend example :


1>------ Build started: Project: smtpsend, Configuration: Debug Win32 ------
1>Linking...
1>getopt_long.obj : error LNK2005: _opterr already defined in getopt.obj
1>getopt_long.obj : error LNK2005: _optind already defined in getopt.obj
1>../Debug/smtpsend.exe : fatal error LNK1169: one or more multiply defined symbols found

what im doing wrong here ?
Thanks
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Libetpan-users mailing list
Libetpan-users@...
https://lists.sourceforge.net/lists/listinfo/libetpan-users
SourceForge.net | 18 Feb 2011 13:01
Picon
Favicon

[ libetpan-Bugs-3185739 ] 'New' message flag not set correctly

Bugs item #3185739, was opened at 2011-02-18 12:01
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=3185739&group_id=41064

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: IMAP4
Group: Latest stable - libEtPan!
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: 'New' message flag not set correctly

Initial Comment:
Fetching the flags attribute (MAILIMAP_FETCH_ATT_FLAGS) of a mail with the call
mailimap_fetch_type_new_fetch_att_list_add(...) returns 0 for a message which should have the flag
MAIL_FLAG_NEW. Anyways, the method mailmessage_get_flags(...) does it's job correctly.

Can anybody verify this?

I'm using libetpan 1.0 on iOS 4.2

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=3185739&group_id=41064

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
SourceForge.net | 27 Feb 2011 02:09
Picon
Favicon

[ libetpan-Bugs-3185739 ] 'New' message flag not set correctly

Bugs item #3185739, was opened at 2011-02-18 13:01
Message generated for change (Comment added) made by hoa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=3185739&group_id=41064

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: IMAP4
Group: Latest stable - libEtPan!
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: 'New' message flag not set correctly

Initial Comment:
Fetching the flags attribute (MAILIMAP_FETCH_ATT_FLAGS) of a mail with the call
mailimap_fetch_type_new_fetch_att_list_add(...) returns 0 for a message which should have the flag
MAIL_FLAG_NEW. Anyways, the method mailmessage_get_flags(...) does it's job correctly.

Can anybody verify this?

I'm using libetpan 1.0 on iOS 4.2

----------------------------------------------------------------------

>Comment By: DINH V. Hoa (hoa)
Date: 2011-02-27 02:09

Message:
Hi!

You should rather check:

struct mailimap_flag_fetch {
  int fl_type;
  struct mailimap_flag * fl_flag; /* can be NULL */
};

if fl_type is MAILIMAP_FLAG_FETCH_RECENT, that means, that the recent flag
is set.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=3185739&group_id=41064

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 

Gmane