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: Undefined reference of a new libcurl function

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Sat, 15 Oct 2022 12:53:17 +0200 (CEST)

On Thu, 13 Oct 2022, Arnaud Compan via curl-library wrote:

> For testing purposes, I've tried to add a function in libcurl but I'm facing
> undefined reference link error regarding this function when I build my test
> program.

Are you *sure* you link with the right library? I can't recall any other magic
to adding functions to libcurl. And I have done it a few times.

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2022-10-15