-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hi,
I'm getting the following error while compiling:
/tmp/ccO0xafa.o: In function
ecurl_mime_init(void*)': main.cpp:(.text+0xc1f): undefined reference tocurl_mime_init'
/tmp/ccO0xafa.o: In functionecurl_mime_addpart(curl_mime_s*)': main.cpp:(.text+0xd04): undefined reference tocurl_mime_addpart'
/tmp/ccO0xafa.o: In functionecurl_mime_data(curl_mimepart_s*, char const*, unsigned long)': main.cpp:(.text+0xeec): undefined reference tocurl_mime_data'
/tmp/ccO0xafa.o: In functionecurl_mime_name(curl_mimepart_s*, char const*)': main.cpp:(.text+0x100c): undefined reference tocurl_mime_name'
/tmp/ccO0xafa.o: In functionecurl_mime_filename(curl_mimepart_s*, char const*)': main.cpp:(.text+0x112c): undefined reference tocurl_mime_filename'
/tmp/ccO0xafa.o: In functionDownloadcacapi::upload_multi[abi:cxx11](std::vector<Downloadcacapi::Upload_multi_arg, std::allocator<Downloadcacapi::Upload_multi_arg> >)': main.cpp:(.text+0x3601): undefined reference tocurl_mime_free'
/tmp/ccO0xafa.o: In functionDownloadcacapi::upload(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': main.cpp:(.text+0x3eee): undefined reference tocurl_mime_free'
collect2: error: ld returned 1 exit status