[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-api@xxxxxxxxxxxxxxxxxxx
  • From: Johnny Huang <johnnyluoh@xxxxxxxxx>
  • Date: Mon, 30 Nov 2009 22:16:40 +0800
  • Delivery-date: Mon, 30 Nov 2009 06:16:43 -0800
  • 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=
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.