cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: cannot find -lcurl

From: Gabriel <long860812_at_gmail.com>
Date: Fri, 30 Dec 2011 16:03:11 +0800

I think this problem maybe the tool I used to cross compile . So I
changed to use gcc to compile the rtsp.c ,but another trouble frustrated me.

rtsp.c: In function ¡®rtsp_options¡¯:
rtsp.c:75: error: ¡®CURLOPT_RTSP_STREAM_URI¡¯ undeclared (first use in
this function)
rtsp.c:75: error: (Each undeclared identifier is reported only once
rtsp.c:75: error: for each function it appears in.)
rtsp.c:76: error: ¡®CURLOPT_RTSP_REQUEST¡¯ undeclared (first use in this
function)
rtsp.c:76: error: ¡®CURL_RTSPREQ_OPTIONS¡¯ undeclared (first use in this
function)
rtsp.c: In function ¡®rtsp_describe¡¯:
rtsp.c:96: error: ¡®CURLOPT_RTSP_REQUEST¡¯ undeclared (first use in this
function)
rtsp.c:96: error: ¡®CURL_RTSPREQ_DESCRIBE¡¯ undeclared (first use in this
function)
rtsp.c: In function ¡®rtsp_setup¡¯:
rtsp.c:110: error: ¡®CURLOPT_RTSP_STREAM_URI¡¯ undeclared (first use in
this function)
rtsp.c:111: error: ¡®CURLOPT_RTSP_TRANSPORT¡¯ undeclared (first use in
this function)
rtsp.c:112: error: ¡®CURLOPT_RTSP_REQUEST¡¯ undeclared (first use in this
function)
rtsp.c:112: error: ¡®CURL_RTSPREQ_SETUP¡¯ undeclared (first use in this
function)
rtsp.c: In function ¡®rtsp_play¡¯:
rtsp.c:122: error: ¡®CURLOPT_RTSP_STREAM_URI¡¯ undeclared (first use in
this function)
rtsp.c:124: error: ¡®CURLOPT_RTSP_REQUEST¡¯ undeclared (first use in this
function)
rtsp.c:124: error: ¡®CURL_RTSPREQ_PLAY¡¯ undeclared (first use in this
function)
rtsp.c: In function ¡®rtsp_teardown¡¯:
rtsp.c:134: error: ¡®CURLOPT_RTSP_REQUEST¡¯ undeclared (first use in this
function)
rtsp.c:134: error: ¡®CURL_RTSPREQ_TEARDOWN¡¯ undeclared (first use in this
function)

and when I search CURLOPT_RTSP_STREAM_URI in curl.h , I even couldn't
find it . I have already install the latest version. what a frustrating
thing this is.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-12-30