cURL / Mailing Lists / curl-users / Single Mail

curl-users

Make the cURL project as a DLL in Visual C++ 6.0

From: <chenfs_at_maxis.net.my>
Date: Tue, 20 Feb 2001 15:25:46 +0800

I'm able to compile the curl source code but i get some error during the linking. The error is as the following :-

--------------------Configuration: curl_con - Win32 Debug--------------------
Linking...
main.obj : error LNK2005: _main already defined in curl_con.obj
writeout.obj : error LNK2001: unresolved external symbol "int __cdecl curl_mfprintf(struct _iobuf *,char const *,...)" (?curl_mfprintf@@YAHPAU_iobuf@@PBDZZ)
main.obj : error LNK2001: unresolved external symbol "int __cdecl curl_mfprintf(struct _iobuf *,char const *,...)" (?curl_mfprintf@@YAHPAU_iobuf@@PBDZZ)
main.obj : error LNK2001: unresolved external symbol "int __cdecl curl_msprintf(char *,char const *,...)" (?curl_msprintf@@YAHPADPBDZZ)
main.obj : error LNK2001: unresolved external symbol "int __cdecl curl_mprintf(char const *,...)" (?curl_mprintf@@YAHPBDZZ)
main.obj : error LNK2001: unresolved external symbol "int __cdecl curl_msnprintf(char *,unsigned int,char const *,...)" (?curl_msnprintf@@YAHPADIPBDZZ)
main.obj : error LNK2001: unresolved external symbol "int __cdecl curl_mvfprintf(struct _iobuf *,char const *,char *)" (?curl_mvfprintf@@YAHPAU_iobuf@@PBDPAD_at_Z)
main.obj : error LNK2001: unresolved external symbol "char * __cdecl curl_maprintf(char const *,...)" (?curl_maprintf@@YAPADPBDZZ)
Debug/curl_con.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.

curl_con.exe - 9 error(s), 0 warning(s)

Can anyone tell me how to solve the above problem ??
Thanks.

Regards,
Chen Fock Siong
Received on 2001-02-20