cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-3016471 ] missing symbol CURL_STATICLIB

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 16 Jun 2010 21:37:02 +0000

Bugs item #3016471, was opened at 2010-06-15 14:17
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3016471&group_id=976

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: compile or build problem
Group: portability problem
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Volker Grabsch (vog)
Assigned to: Daniel Stenberg (bagder)
Summary: missing symbol CURL_STATICLIB

Initial Comment:
When CURL is compiled with "--disable-shared" and/or "--enable-static", the CURL_STATICLIB symbol is expected to be defined. However, it isn't. So every static build of CURL for Windows fails because of inappropriate dllimport/dllexport declarations in the CURL headers.

The attached patch fixes that issue by adding the missing stub for CURL_STATICLIB to curlbuild.h.in.

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

>Comment By: Daniel Stenberg (bagder)
Date: 2010-06-16 23:37

Message:
Sorry, but your suggested patch suddenly makes the headers force and assume
that nothing but static can or will be built using the public headers, and
that's an assumption we can't have.

The same set of headers can indeed be used for both static and dynamic
build.

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3016471&group_id=976
Received on 2010-06-16

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET