Mailing List Archive

error compiling xen 3.0.3
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

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: error compiling xen 3.0.3 [ In reply to ]
On Tue, Nov 07, 2006 at 01:57:34PM -0800, Raja wrote:
> 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).

--
lfr
0/0
Re: error compiling xen 3.0.3 [ In reply to ]
On 11/7/06, Raja <raja_btl@yahoo.co.in> wrote:
> 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:

This kind of question should be directed to the xen-users list. The
answer to your problem (install libx11-dev) is documented here:
http://lists.xensource.com/archives/html/xen-users/2006-10/msg00452.html

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: error compiling xen 3.0.3 [ In reply to ]
On Tue, Nov 07, 2006 at 01:57:34PM -0800, Raja wrote:
> 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


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel