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

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

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] make test/test_bindings failed, "‘CURLOPT_MUTE’"
From: Johnny Huang <johnnyluoh@xxxxxxxxx>
Date: Mon, 30 Nov 2009 22:16:40 +0800
Delivery-date: Mon, 30 Nov 2009 06:16:43 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=XfZc0JPmHSaMsNdUP/x5/5xXyI3dGfliU2408Qc4Dhk=; b=X9IV9y2V3ungp5aenvURUI8ITH7t1o4hqf/vhaMby86D6eie6Fj8cK6H/2Coai3r9n U0rdNWDnM52m0F0XTbD3xVbR2nS6UFPy3rusjXj85gThethgqaZWW6vBWTrexf9oDrwP IfS4VkdMM3M3mT2rWsqaOxF16cqbJl52kRlqk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=LD5YinbFgXBwIa70xITlUwczNNTHlTWsync26NX9xnbmhIj4J+0/vm6SJQ8rzrAVjX X8jgcCVZoJC60f08YleyO539qqVeohTQMBZ4pPWp02au3C3KR7xTFZQ1fp0SHdRsXKGh Y4eDZrS0ear2LwGk3IP/kTtyCUGeHTx6Cgx7I=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>