Linking errors in readmsg & smtpsend
Meir Yanovich <[email protected]> Tue, 8 Feb 2011 12:28:43 +0200
| Newsgroups | gmane.mail.libetpan.user |
|---|---|
| Message-ID | <[email protected]> |
--===============6700100926478954767== Content-Type: multipart/alternative; boundary=0016367fadcf117051049bc2d015 --0016367fadcf117051049bc2d015 Content-Type: text/plain; charset=ISO-8859-1 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 --0016367fadcf117051049bc2d015 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi <br>im new to this=A0 libaray trying to compile it in v= isual studio 2008 express the main libetpen i compiled without no problem <= br>but im getting link errors with the 2 examples :<br><br>2>readmsg.c<b= r> 2>Generating Code...<br>2>Compiling manifest to resources...<br>2>= Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1<br>2>Copy= right (C) Microsoft Corporation.=A0 All rights reserved.<br>2>Linking...= <br> 2>getopt_long.obj : error LNK2005: _opterr already defined in getopt.obj= <br>2>getopt_long.obj : error LNK2005: _optind already defined in getopt= .obj<br>2>readmsg.obj : error LNK2005: _opterr already defined in getopt= .obj<br> 2>readmsg.obj : error LNK2005: _optind already defined in getopt.obj<br>= 2>option-parser.obj : error LNK2019: unresolved external symbol __imp__f= eed_mailstorage_init referenced in function _init_storage<br>2>../Debug/= readmsg.exe : fatal error LNK1120: 1 unresolved externals<br> <br>and the second link error in the smtpsend example :<br><br><br>1>---= --- Build started: Project: smtpsend, Configuration: Debug Win32 ------<br>= 1>Linking...<br>1>getopt_long.obj : error LNK2005: _opterr already de= fined in getopt.obj<br> 1>getopt_long.obj : error LNK2005: _optind already defined in getopt.obj= <br>1>../Debug/smtpsend.exe : fatal error LNK1169: one or more multiply = defined symbols found<br><br>what im doing wrong here ? <br>Thanks<br></div= > --0016367fadcf117051049bc2d015-- --===============6700100926478954767== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ 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 --===============6700100926478954767== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Libetpan-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libetpan-users --===============6700100926478954767==--