Skip to contentSkip to conversation

error compiling xen 3.0.3

DISCUSSION Raja 4 participants 4 messages Nov 7, 2006

lore
Share & tools
lore

Raja

author
#0 lore raw

Dear friends,
i am trying to compile xen on a debian system and
it gives me the following error. ANy pointers would be very helpful and i am dire need of help.

the error:

root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:50:27:
X11/keysymdef.h: No suchfile or directory
In file included from /root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:356:
/root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnchextile.h:
In function `send_hextile_tile_generic':
/root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnchextile.h:122:
warning: color' might be used uninitialized in this function /root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c: In function do_key_event':
/root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:871:
error: `XK_Up' undeclared (first use in this function) /root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:871:
error: (Each undeclared identifier is reported only once /root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:871:
error: for each function it appears in.) /root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:872:
error: `XK_Down' undeclared (first use in this function) /root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:873:
error: `XK_Left' undeclared (first use in this function) /root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:874:
error: `XK_Right' undeclared (first use in this function) /root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:875:
error: `XK_Home' undeclared (first use in this function) /root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:876:
error: `XK_End' undeclared(first use in this function) /root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:877:
error: `XK_Page_Up' undeclared (first use in this function) /root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:878:
error: `XK_Page_Down' undeclared (first use in this function) /root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:879:
error: `XK_BackSpace' undeclared (first use in this function) /root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:880:
error: `XK_Delete' undeclared (first use in this function) /root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:881:
error: `XK_Return' undeclared (first use in this function) /root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:882:
error: `XK_Linefeed' undeclared (first use in this function) /root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:892:
error: `XK_Control_L' undeclared (first use in this function) /root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:896:
error: `XK_Alt_L' undeclared (first use in this function) /root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:913:
error: `XK_1' undeclared (first use in this function) /root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:913:
error: XK_9' undeclared (first use in this function) /root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c: In function protocol_client_msg':
/root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:1069:
warning: unused variable `now'
make[5]: *** [vnc.o] Error 1
make[5]: Leaving directory `/root/Desktop/xen-3.0.3_0-src/tools/ioemu/i386-dm' make[4]: *** [subdir-i386-dm] Error 2
make[4]: Leaving directory `/root/Desktop/xen-3.0.3_0-src/tools/ioemu' make[3]: *** [ioemuinstall] Error 2
make[3]: Leaving directory `/root/Desktop/xen-3.0.3_0-src/tools'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/root/Desktop/xen-3.0.3_0-src/tools'
make[1]: *** [install-tools] Error 2
make[1]: Leaving directory `/root/Desktop/xen-3.0.3_0-src'
make: *** [world] Error 2

Thanks,
Raja

____________________________________________________________________________________
Sponsored Link

Get an Online or Campus degree
Associate's, Bachelor's, or Master's - in less than one year.
http://www.findtherightschool.com

#1 lore raw
Quoted 4 lines · Raja

Dear friends,
i am trying to compile xen on a debian system and
it gives me the following error. ANy pointers would be very helpful and i am dire need of help.

Make sure you have the X11 development libraries installed.

Speaking of building, I had to change the src.rpm:

+ BuildRequires: xorg-x11-proto-devel

%prep:
+ RPM_OPT_FLAGS="${RPM_OPT_FLAGS//-fstack-protector}"
+ RPM_OPT_FLAGS="${RPM_OPT_FLAGS//-Werror}"
+ RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-stack-protector"
...
find . -name Makefile | xargs -r perl -pi -e 's/-Werror\b//g'
find . -name Makefile | xargs -r perl -pi -e 's/ (-implicit-function)/ -Wno$1/g'

You may come across some of those (the -implicit-function invalid argument, and -Werror causing the compilation to fail with a warning).

Signature · 2 lines
lfr
0/0

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

#3 lore raw
In reply to Raja
Quoted 9 lines · Raja

Dear friends,
i am trying to compile xen on a debian system and
it gives me the following error. ANy pointers would be very helpful and i am dire need of help.

the error:

root/Desktop/xen-3.0.3_0-src/tools/ioemu/vnc.c:50:27:
X11/keysymdef.h: No suchfile or directory

You're missing the X11 devel headers. Install your distro's x-devel package.

Cheers,
Muli