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.
Undefined reference of a new libcurl function
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Arnaud Compan via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 13 Oct 2022 08:46:20 +0000
Hello,
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.
In details, I've added the function in lib/multi.c:
void my_test(struct Curl_easy *data)
{
}
And in include/curl/multi.h:
CURL_EXTERN void my_test(CURL *curl_handle);
And of course libcurl is rebuilt with the same configure & make commands.
I
t seems I'm missing something.
Thanks,
Arnaud
Date: Thu, 13 Oct 2022 08:46:20 +0000
Hello,
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.
In details, I've added the function in lib/multi.c:
void my_test(struct Curl_easy *data)
{
}
And in include/curl/multi.h:
CURL_EXTERN void my_test(CURL *curl_handle);
And of course libcurl is rebuilt with the same configure & make commands.
I
t seems I'm missing something.
Thanks,
Arnaud
-- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2022-10-13