cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: gcc error: undefined reference to `curl_global_cleanup@CURL_OPENSSL_3'

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 2 Dec 2010 10:16:15 +0100 (CET)

On Sat, 27 Nov 2010, botswana serengeti wrote:

> I am trying to compile the skyhook example code wpsapitest.cpp (from
> http://www.skyhookwireless.com/developers/sdk.php). This code relies on
> libwpsapi.so which makes use of libcurl. when I try to compile with
>
> gcc -o wpsapitest -I../include -L../lib wpsapitest.cpp -lwpsapi -lcurl
>
> I get this error message:

As you're using another library that only indirectly uses libcurl, you should
ask that team first on how they recommend you to link with their library.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-02