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
>
> On Thu, Oct 13, 2022 at 08:46:20AM +, Arnaud Compan via curl-library
> wrote:
> > 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(C
On Thu, Oct 13, 2022 at 08:46:20AM +, Arnaud Compan via curl-library wrote:
> 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);
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