Skip to contentSkip to conversation

regarding testcode in xenstore

DISCUSSION jeet 2 participants 2 messages Jun 23, 2007 – Jul 3, 2007

lore
Share & tools
lore

jeet

author
#0 lore raw

Hi

I am tring to build the testcode for xenstored

# cd xen-3.1-src/tools/xenstore/
# make testcode

but it generating error due to conflict of function in fake_libxc with libxc.

Error:
gcc -Werror -Wp,-MD,.fake_libxc.o.d -I../../tools/libxc -I. -DTESTING -c -o fake_libxc.o fake_libxc.c fake_libxc.c:41: error: conflicting types for ‘xc_evtchn_notify’ ../../tools/libxc/xenctrl.h:692: error: previous declaration of ‘xc_evtchn_notify’ was here
make: *** [fake_libxc.o] Error 1

Can anyone please tell me how to resolve it

TIA
Jeet

__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

It¹s quite broken right now. Patches to fix it are very welcome.

-- Keir

Quoted 9 lines · jeet

Error:
gcc -Werror -Wp,-MD,.fake_libxc.o.d -I../../tools/libxc -I. -DTESTING -c -o fake_libxc.o fake_libxc.c
fake_libxc.c:41: error: conflicting types for Œxc_evtchn_notify¹ ../../tools/libxc/xenctrl.h:692: error: previous declaration of Œxc_evtchn_notify¹ was here
make: *** [fake_libxc.o] Error 1

Can anyone please tell me how to resolve it

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel