cURL / Mailing Lists / curl-library / Single Mail

curl-library

compiler error on Debian Linux

From: Will & Viva <elance_at_ecomserver.net>
Date: Wed, 16 Jan 2002 19:25:07 -0800

Hello,

I am new to curl, and get these errors when trying to compile a simple https program.

gcc 'curl-config --cflags --libs' -o httpsrobot httpsrobot.c

httpsrobot.c: In function `int gethttpsfile(char *, char *)':
httpsrobot.c:50: `CURLOPT_SSLENGINE' undeclared (first use this function)
httpsrobot.c:50: (Each undeclared identifier is reported only once
httpsrobot.c:50: for each function it appears in.)
httpsrobot.c:55: `CURLOPT_SSLENGINE_DEFAULT' undeclared (first use this function)
httpsrobot.c:65: `CURLOPT_SSLCERTTYPE' undeclared (first use this function)
httpsrobot.c:71: `CURLOPT_SSLKEYPASSWD' undeclared (first use this function)
httpsrobot.c:74: `CURLOPT_SSLKEYTYPE' undeclared (first use this function)
httpsrobot.c:76: `CURLOPT_SSLKEY' undeclared (first use this function)

Can anyone help?
Received on 2002-01-17