Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error --with-curl --without-threads #1386

Closed
dg0yt opened this issue Mar 22, 2019 · 0 comments
Closed

Build error --with-curl --without-threads #1386

dg0yt opened this issue Mar 22, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@dg0yt
Copy link
Contributor

dg0yt commented Mar 22, 2019

Actual behavior.

When building GDAL 2.4.0 --with-curl --without-threads, linking fails due to the undefined symbol void VSICurlStreamingClearCache(void).

With HAVE_CURL,

  • the function is declared in port/cpl_vsil_curl_class.h
  • the function is called from port/cpl_vsil_curl.cpp

There is a definition in port/cpl_vsil_curl_streaming.cpp. However, it is additionally guarded by CPL_MULTIPROC_STUB being undefined, and this macro is defined when building without threads.

Steps to reproduce the problem.

Build on Linux --with-curl --without-threads

Operating system

Ubuntu 18.04 64 bit

GDAL version and provenance

2.4.0 pristine source

@rouault rouault self-assigned this Mar 22, 2019
@rouault rouault added the bug label Mar 22, 2019
@rouault rouault added this to the 2.4.2 milestone Mar 22, 2019
a17r added a commit to a17r/gentoo that referenced this issue Dec 31, 2019
- Drop python2_7 and python3_5
- Drop poppler-0.75.patch and poppler-0.76.patch, supported upstream
- Drop 2.3.0-curl.patch, --with-curl --without-threads was fixed, see also:
  OSGeo/gdal#1386

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
gentoo-bot pushed a commit to gentoo/gentoo that referenced this issue Jan 1, 2020
- Drop python2_7 and python3_5
- Drop poppler-0.75.patch and poppler-0.76.patch, supported upstream
- Drop 2.3.0-curl.patch, --with-curl --without-threads was fixed, see also:
  OSGeo/gdal#1386

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants