curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: static libcurl with clang

From: Mike via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 18 Mar 2020 10:08:49 +0100

Sure I only use the sln projects with VS but get errors like:
1>libcurl.lib(telnet.obj) : error LNK2001: Nicht aufgelöstes externes
Symbol "__imp_send".
1>libcurl.lib(multi.obj) : error LNK2001: Nicht aufgelöstes externes Symbol
"__imp_send".
1>libcurl.lib(asyn-thread.obj) : error LNK2001: Nicht aufgelöstes externes
Symbol "__imp_send".
1>libcurl.lib(sendf.obj) : error LNK2001: Nicht aufgelöstes externes Symbol
"__imp_send".
1>libcurl.lib(socketpair.obj) : error LNK2001: Nicht aufgelöstes externes
Symbol "__imp_send".
1>libcurl.lib(ftp.obj) : error LNK2001: Nicht aufgelöstes externes Symbol
"__imp_WSAGetLastError".
1>libcurl.lib(telnet.obj) : error LNK2001: Nicht aufgelöstes externes
Symbol "__imp_WSAGetLastError".
1>libcurl.lib(tftp.obj) : error LNK2001: Nicht aufgelöstes externes Symbol
"__imp_WSAGetLastError".
1>libcurl.lib(multi.obj) : error LNK2001: Nicht aufgelöstes externes Symbol
"__imp_WSAGetLastError".
..........
Many thanks for help

Am Di., 17. März 2020 um 22:26 Uhr schrieb Ray Satiro via curl-library <
curl-library_at_cool.haxx.se>:

> On 3/17/2020 5:32 AM, Mike via curl-library wrote:
> > I get this error with clang and others with vs compiler:
> > truncated or malformed archive (string table at long name offset 0not
> > terminated)
> > I try to use libcurl static in my project with Visual Studio.
> > Is there a working prebuild visual studio download?
>
> If you are using the Microsoft compiler with Visual Studio then I
> suggest use static libraries built with the Microsoft compiler. There
> are some pregenerated VS project files in some common configurations in
> the projects directory, or the winbuild directory has some instructions
> and a makefile for building custom configurations.
>
> -------------------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-03-18