bigfoot29@www.bios.kicks-ass.org
2006-Oct-19 15:52 UTC
[Xen-users] Compile error 3.0.3 - vnc.c auf Debian Sarge
Hi... I don''t get the current stable 3.0.3 compiled - he always breaks with the following error message: gcc -O2 -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -D__XEN_TOOLS__ -Wall -O2 -g -fno-strict-aliasing -DUSE_SSE2=1 -msse2 -fomit-frame-pointer -I. -I.. -I/usr/src/xen-3.0.3_0-src/tools/ioemu/target-i386-dm -I/usr/src/xen-3.0.3_0-src/tools/ioemu -I../../../tools/libxc -I../../../tools/xenstore -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/src/xen-3.0.3_0-src/tools/ioemu/fpu -DHAS_AUDIO -c -o vnc.o /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c:50:27: X11/keysymdef.h: Datei oder Verzeichnis nicht gefunden In file included from /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c:356: /usr/src/xen-3.0.3_0-src/tools/ioemu/vnchextile.h: In Funktion »send_hextile_tile_generic«: /usr/src/xen-3.0.3_0-src/tools/ioemu/vnchextile.h:122: Warnung: `color'' might be used uninitialized in this function /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c: In Funktion »do_key_event«: /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c:871: error: `XK_Up'' undeclared (first use in this function) /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c:871: error: (Each undeclared identifier is reported only once /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c:871: error: for each function it appears in.) /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c:872: error: `XK_Down'' undeclared (first use in this function) /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c:873: error: `XK_Left'' undeclared (first use in this function) /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c:874: error: `XK_Right'' undeclared (first use in this function) /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c:875: error: `XK_Home'' undeclared (first use in this function) /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c:876: error: `XK_End'' undeclared (first use in this function) /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c:877: error: `XK_Page_Up'' undeclared (first use in this function) /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c:878: error: `XK_Page_Down'' undeclared (first use in this function) /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c:879: error: `XK_BackSpace'' undeclared (first use in this function) /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c:880: error: `XK_Delete'' undeclared (first use in this function) /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c:881: error: `XK_Return'' undeclared (first use in this function) /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c:882: error: `XK_Linefeed'' undeclared (first use in this function) /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c:892: error: `XK_Control_L'' undeclared (first use in this function) /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c:896: error: `XK_Alt_L'' undeclared (first use in this function) /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c:913: error: `XK_1'' undeclared (first use in this function) /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c:913: error: `XK_9'' undeclared (first use in this function) /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c: In Funktion »protocol_client_msg«: /usr/src/xen-3.0.3_0-src/tools/ioemu/vnc.c:1069: Warnung: unused variable `now'' make[4]: *** [vnc.o] Fehler 1 make[4]: Leaving directory `/usr/src/xen-3.0.3_0-src/tools/ioemu/i386-dm'' make[3]: *** [subdir-i386-dm] Fehler 2 make[3]: Leaving directory `/usr/src/xen-3.0.3_0-src/tools/ioemu'' make[2]: *** [ioemuinstall] Fehler 2 make[2]: Leaving directory `/usr/src/xen-3.0.3_0-src/tools'' make[1]: *** [install] Fehler 2 make[1]: Leaving directory `/usr/src/xen-3.0.3_0-src/tools'' make: *** [install-tools] Fehler 2 First time, the vnc dev files were not installed. - I installed them after the first run. But even after that (with an new "make dist") it keeps telling me that vnc can''t compile :( Now there are 2 questions: 1) The system is a Celeron 700 - so I don''t need the HVM things including vnc and sdl. Is there a way to disable these options? 2) Why do I get this compile error? Looks like he can''t find "X11/keysymdef.h" - but even a "locate X11" didn''t show the files... I wonder why they are required by now - and not optional any more like they were with 3.0.2 :( Anyways... help appreciated... compiling times from approx. 8 hours with a clean tarball to start from are somewhat much :) - So I can''t try that a million times ;) (thats why I didn''t clean up after the failure mentioned above - shortens compile time to approx. a hour. - could that be the reason?) Regards, Bigfoot29 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2006-Oct-19 16:01 UTC
RE: [Xen-users] Compile error 3.0.3 - vnc.c auf Debian Sarge
[snip a huge bunch of error messages]> Now there are 2 questions: > 1) The system is a Celeron 700 - so I don''t need the HVM > things including > vnc and sdl. Is there a way to disable these options?Correct, you don''t need them. I don''t think there''s any simple way to remove them tho''. (You could of coruse just remove the relevant section in the makefile in ${xenroot}/tools and it won''t try to build those bits.> 2) Why do I get this compile error? Looks like he can''t find > "X11/keysymdef.h" - but even a "locate X11" didn''t show the files... I > wonder why they are required by now - and not optional any > more like they > were with 3.0.2 :(You need to install xorg-x11-devel or some such package (which probably also means that you need to instal three or more other packages to make that install... :-( ) Hmm. If it takes 8 hours to compile, maybe you should consider getting a faster machine. It takes my machine roughly an hour to build all the necessary bits for a Xen installation - and that includes the time it takes to download the linux kernel source... -- Mats _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
bigfoot29@www.bios.kicks-ass.org
2006-Oct-19 16:42 UTC
RE: [Xen-users] Compile error 3.0.3 - vnc.c auf Debian Sarge
> [snip a huge bunch of error messages] >> Now there are 2 questions: >> 1) The system is a Celeron 700 - so I don''t need the HVM >> things including >> vnc and sdl. Is there a way to disable these options? > > Correct, you don''t need them. I don''t think there''s any simple way to > remove them tho''. (You could of coruse just remove the relevant section > in the makefile in ${xenroot}/tools and it won''t try to build those > bits.Maybe its a small suggestion then to insert an if-clause that looks for these files - and in case they are not included just print a warning or error message saying that hvm cannot be used because of missing files? :)>> 2) Why do I get this compile error? Looks like he can''t find >> "X11/keysymdef.h" - but even a "locate X11" didn''t show the files... I >> wonder why they are required by now - and not optional any >> more like they >> were with 3.0.2 :( > > You need to install xorg-x11-devel or some such package (which probably > also means that you need to instal three or more other packages to make > that install... :-( )"apt-get install libx11-dev" brought me that missing file. Its compiling right now... - but as said, I wonder why I was able to compile 3.0.2, but not 3.0.3 :D In case you don''t hear any more riots from me, this package (included 3-4 more dependencies) fixed the problem and it compiled well. :)> Hmm. If it takes 8 hours to compile, maybe you should consider getting a > faster machine. It takes my machine roughly an hour to build all the > necessary bits for a Xen installation - and that includes the time it > takes to download the linux kernel source...With my A64 X2 it does also take me not more than an hour, but I do only have that Celeron to mess around with. Its also my home server with 3 running domains. Firewall, webserver/mailserver and a fileserver for the private net at home. - enough RAM involved everything seems to be fine. Its slow, but its working. :D The default kernel compile time took that long. For now: Thanks for the help!> > -- > MatsRegards, Bigfoot29 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2006-Oct-19 16:56 UTC
RE: [Xen-users] Compile error 3.0.3 - vnc.c auf Debian Sarge
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > bigfoot29@bios.kicks-ass.org > Sent: 19 October 2006 17:42 > To: xen-users@lists.xensource.com > Subject: RE: [Xen-users] Compile error 3.0.3 - vnc.c auf Debian Sarge > > > > [snip a huge bunch of error messages] > >> Now there are 2 questions: > >> 1) The system is a Celeron 700 - so I don''t need the HVM > >> things including > >> vnc and sdl. Is there a way to disable these options? > > > > Correct, you don''t need them. I don''t think there''s any > simple way to > > remove them tho''. (You could of coruse just remove the > relevant section > > in the makefile in ${xenroot}/tools and it won''t try to build those > > bits. > > Maybe its a small suggestion then to insert an if-clause that > looks for > these files - and in case they are not included just print a > warning or > error message saying that hvm cannot be used because of > missing files? :) > > > >> 2) Why do I get this compile error? Looks like he can''t find > >> "X11/keysymdef.h" - but even a "locate X11" didn''t show > the files... I > >> wonder why they are required by now - and not optional any > >> more like they > >> were with 3.0.2 :( > > > > You need to install xorg-x11-devel or some such package > (which probably > > also means that you need to instal three or more other > packages to make > > that install... :-( ) > > "apt-get install libx11-dev" brought me that missing file. > Its compiling > right now... - but as said, I wonder why I was able to > compile 3.0.2, but > not 3.0.3 :D > In case you don''t hear any more riots from me, this package > (included 3-4 > more dependencies) fixed the problem and it compiled well. :)Inbetween 3.0.2 and 3.0.3 (exactly in ChangeSet 10742 of unstable: Add access to monitor vt over VNC, Recognise Ctrl-Alt-1/2/3...) This change added this dependancy on x11-devel package...> > > > Hmm. If it takes 8 hours to compile, maybe you should > consider getting a > > faster machine. It takes my machine roughly an hour to build all the > > necessary bits for a Xen installation - and that includes > the time it > > takes to download the linux kernel source... > > With my A64 X2 it does also take me not more than an hour, > but I do only > have that Celeron to mess around with. Its also my home server with 3 > running domains. Firewall, webserver/mailserver and a > fileserver for the > private net at home. - enough RAM involved everything seems > to be fine. > Its slow, but its working. :D The default kernel compile time > took that > long.But you can build on the Athlon64 X2 machine, and copy the install directory to the "play machine"... This is what I''m doing, as I don''t want to loose all my source-changes when (undoubtedly) the AMD-V machine crashes because I''ve done something stupid in the hypervisor... Crashing an ext2/ext3 disk many enough times will eventually cause an unrepairable disk error and everything will be a mess... :-( So I use a different machine to build/download the source code, and copy it acroess when I''ve built it - I even wrote a little script to do that and reboot the remote machine... -- Mats> > For now: Thanks for the help! > > > > > -- > > Mats > > Regards, Bigfoot29 > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tom Brown
2006-Oct-19 17:12 UTC
RE: [Xen-users] Compile error 3.0.3 - vnc.c auf Debian Sarge
On Thu, 19 Oct 2006, bigfoot29@bios.kicks-ass.org wrote:> > > [snip a huge bunch of error messages] > >> Now there are 2 questions: > >> 1) The system is a Celeron 700 - so I don''t need the HVM > >> things including > >> vnc and sdl. Is there a way to disable these options? > > > > Correct, you don''t need them. I don''t think there''s any simple way to > > remove them tho''. (You could of coruse just remove the relevant section > > in the makefile in ${xenroot}/tools and it won''t try to build those > > bits. > > Maybe its a small suggestion then to insert an if-clause that looks for > these files - and in case they are not included just print a warning or > error message saying that hvm cannot be used because of missing files? :)I''d strongly support an option to disable HVM support. I''ve had a heck of a time getting the HVM parts (I think) of xen-tools to compile... It turns out that you can''t use the dom0 kernel source as the target of your /usr/include/asm /usr/include/linux etc links (otherwise you get pages of complaints about changed #defines). Once you get that, and the fact that now you need to developement files for X11 installed, you can build it. I like to build the dom0 kernel in the dom0, but I also want to keep that install small... definately a conflict there... Anyhow, I just wanted to support the idea of being able to build a "paravirt only" install. -Tom _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tim Post
2006-Oct-19 18:15 UTC
Re: [Xen-users] Compile error 3.0.3 - vnc.c auf Debian Sarge
On Thu, 2006-10-19 at 17:52 +0200, bigfoot29@www.bios.kicks-ass.org wrote:> Hi... I don''t get the current stable 3.0.3 compiled - he always breaks > with the following error message: >Its just libx11-dev, apt/yum should pick up on the other packages [deps] for it as well as the suggested packages and handle it for you. xorg-x11-devel (I think) in yum land, not 100% sure as I''m not a huge whitebox fan.> Now there are 2 questions: > 1) The system is a Celeron 700 - so I don''t need the HVM things including > vnc and sdl. Is there a way to disable these options?I tried playing with that to make a "light" installer for 3.0.3. After about 9 hours of messing up the makefile to the point that I realized its just easier to allow the few vnc related tools to build, I abandoned the idea. I strongly suggest not playing with the makefile if you''re in any kind of hurry :)> 2) Why do I get this compile error? Looks like he can''t find > "X11/keysymdef.h" - but even a "locate X11" didn''t show the files... I > wonder why they are required by now - and not optional any more like they > were with 3.0.2 :(Enhancements from 3.0.2 wrt HVM guests and easier (more functional) vnc access to them (in a nutshell). I read the changelogs like the newspaper .. bold print method. I should probably read them more carefully, there''s just so much in and about Xen to absorb right now its hard to keep up on every detail.> Anyways... help appreciated... compiling times from approx. 8 hours with a > clean tarball to start from are somewhat much :) - So I can''t try that a > million times ;) (thats why I didn''t clean up after the failure mentioned > above - shortens compile time to approx. a hour. - could that be the > reason?)The last time I watched and waited 8 hours for something to compile I was working with the WWIV 3.x source code (yes, the dial up BBS) after it had been ported to C from Pascal on a 286 with 1MB of SIPP memory (4x 256 chips). Even on my PIII HP Pavilion laptop with 128 MB of ram and ultra slow Travelstar 10GB HD, Xen only takes a few hours if I shut off KDE unload sound printer and other wasteful junk. Do you have swap disabled on your machine, or something running hogging resources? If its taking 8 hours on any close to modern machine something is really wrong .. or you (like me) can''t bear to throw out an old computer :) I lease a few low end p4''s for testing / building that come with 2TB of bandwidth and a 100 meg port uplink, really handy for tinkering if your comfy working without console access. A major plus is being able to get to your work / kernels / source from anywhere and get them with very good speed. P4 3.2 / 2GB RAM / 2x 160 GB drives only costs me about a hundred bucks a month .. well worth it. Just find a data center who can / will rent you a KVM should you really need console access. Not sure what 8 hours of your time is worth, but I''m guessing more than $100 :)> Regards, Bigfoot29 >Best, -Tim> > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Luis Raddatz L.
2006-Oct-20 12:38 UTC
[Xen-users] Error 3.0.3 - libcrypto.so.0.9.7 not found
I was trying the 3.0.3 version of xend. I installed the binaries 64 bits tarball precompiled version. Dom0 run OK, but when I try to start xend, this is the error: blktapctrl: error while loading shared libraries: libcrypto.so.0.9.7: cannot open shared object file: No such file or directory The library is present in my server, in /lib64/libcrypto.so.0.9.7 And /lib64 is present in the PATH .. Any ideas? Thanks Luis _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
S.Çağlar Onur
2006-Oct-20 19:39 UTC
Re: [Xen-users] Error 3.0.3 - libcrypto.so.0.9.7 not found
20 Eki 2006 Cum 15:38 tarihinde, Luis Raddatz L. şunları yazmıştı:> The library is present in my server, in /lib64/libcrypto.so.0.9.7 > And /lib64 is present in the PATH ..PATH is uselless for ld, add line /lib64 into /etc/ld.so.conf and run ldconfig -- S.Çağlar Onur <caglar@pardus.org.tr> http://cekirdek.pardus.org.tr/~caglar/ Linux is like living in a teepee. No Windows, no Gates and an Apache in house! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tiago Cruz
2006-Oct-20 19:59 UTC
Re: [Xen-users] Error 3.0.3 - libcrypto.so.0.9.7 not found
On Fri, 2006-10-20 at 09:38 -0300, Luis Raddatz L. wrote:> blktapctrl: error while loading shared libraries: libcrypto.so.0.9.7: cannot > open shared object file: No such file or directoryI did this on FC5: # yum install openssl097a # ln -s /lib64/libcrypto.so.0.9.7a /lib64/libcrypto.so.0.9.7 You can also run ldconfig and/or double check your /etc/ld.so.conf -- Tiago Cruz <tiagocruz@ig.com.br> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Luis Raddatz L.
2006-Oct-23 12:40 UTC
RE: [Xen-users] Error 3.0.3 - libcrypto.so.0.9.7 not found
Thanks man !! Works for me too. Luis -----Mensaje original----- De: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] En nombre de Tiago Cruz Enviado el: Viernes, 20 de Octubre de 2006 16:59 Para: Luis Raddatz L. CC: xen-users@lists.xensource.com Asunto: Re: [Xen-users] Error 3.0.3 - libcrypto.so.0.9.7 not found On Fri, 2006-10-20 at 09:38 -0300, Luis Raddatz L. wrote:> blktapctrl: error while loading shared libraries: libcrypto.so.0.9.7:cannot> open shared object file: No such file or directoryI did this on FC5: # yum install openssl097a # ln -s /lib64/libcrypto.so.0.9.7a /lib64/libcrypto.so.0.9.7 You can also run ldconfig and/or double check your /etc/ld.so.conf -- Tiago Cruz <tiagocruz@ig.com.br> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users