PDA

View Full Version : libcurl help/autoconf script


zootreeves
February 6th, 2006, 05:53 PM
Hi, I'm trying to use libcurl functions in my C program, however

If I add: #include <curl/curl.h>
It doesn't chuck up any erros and compiles, however it says curl_global_init() is undefined.

Am I going wrong here? Is there something else I need to do to load libcurl. There is an autoconf .m4 script provided on the curl site, but I don't have a clue how to include it in the build process, can anyone help? Thanks

hod139
February 8th, 2006, 12:19 AM
are you linking against the curl library? gcc foo.c -lcurl