C++ How do you resolve undefined reference errors from linking using libcurl?
===

I'm trying to compile a program with static linking so I don't have to distribute it with 30 .dlls, but -static is giving me a whole load of undefined reference errors.

I'm running

$ gcc curlgetter2BAK.cpp -lcurl -static -o a.out

which gives me an atrociously huge pile of undefine reference errors that I'm unsure as to the source of.