WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

Re: [Xen-API] make test/test_bindings failed, "‘CURLOPT_MUTE’"

To: Johnny Huang <johnnyluoh@xxxxxxxxx>
Subject: Re: [Xen-API] make test/test_bindings failed, "‘CURLOPT_MUTE’"
From: Anil Madhavapeddy <anil@xxxxxxxxxx>
Date: Mon, 30 Nov 2009 14:21:08 +0000
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 30 Nov 2009 06:21:11 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <d71ffe290911300616v31c2b03dvc1c4ebbfe30f1980@xxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <d71ffe290911300616v31c2b03dvc1c4ebbfe30f1980@xxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Your version of curl is recent, and they removed that option. Just delete the 
line in test_bindings.c that has "curl_easy_setopt(curl, CURLOPT_MUTE, 1)".

-anil

On 30 Nov 2009, at 14:16, Johnny Huang wrote:

> hi,
>   I have successed in making in /xen3.3.1/tools/libxen, But when I tried 
> "make test/test_bindings", It reports a error like this:
> "test/test_bindings.c:102: error: ‘CURLOPT_MUTE’ undeclared (first use in 
> this function)", How should I solve this problem?
> 
> The whole information it reports is as follows:
> gcc  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall 
> -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  
> -D__XEN_TOOLS__  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -Iinclude 
> -I/usr/include/libxml2  -fPIC -c -o test/test_bindings.o test/test_bindings.c
> test/test_bindings.c:33: warning: function declaration isn’t a prototype
> test/test_bindings.c: In function ‘call_func’:
> test/test_bindings.c:90: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:95: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:102: error: ‘CURLOPT_MUTE’ undeclared (first use in this 
> function)
> test/test_bindings.c:102: error: (Each undeclared identifier is reported only 
> once
> test/test_bindings.c:102: error: for each function it appears in.)
> test/test_bindings.c:102: warning: type defaults to ‘int’ in declaration of 
> ‘_curl_opt’
> test/test_bindings.c:109: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c: In function ‘main’:
> test/test_bindings.c:136: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:152: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:171: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:180: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:189: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:199: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:210: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:222: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:235: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:249: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:265: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:281: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:298: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:387: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c: In function ‘create_new_vm’:
> test/test_bindings.c:423: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:435: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:474: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:484: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:511: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:540: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:561: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c: In function ‘print_session_info’:
> test/test_bindings.c:668: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:673: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c: In function ‘print_vm_metrics’:
> test/test_bindings.c:744: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:752: warning: ISO C90 forbids mixed declarations and code
> test/test_bindings.c:788: warning: ISO C90 forbids mixed declarations and code
> make: *** [test/test_bindings.o] Error 1
> 
> 
>   Thanks a lot!
> 
> _______________________________________________
> xen-api mailing list
> xen-api@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/mailman/listinfo/xen-api


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

<Prev in Thread] Current Thread [Next in Thread>