Really stupid C question.
I\'m trying to build the source code here so I can start on modifying it for myself
http://curl.haxx.se/libcurl/c/ftpget.html
You need to link with the curl library:
gcc -o test ftpget.c -lcurl