Ricardo
2006-Nov-07 22:58 UTC
[Xen-devel] [Fwd: [Xen-users] errors with make tools and make docs]
Hey guys, I posted this error on xen-users and got no reply, so I figure I''d have better luck here. It turns out that on my machine (Gentoo), the directory /usr/include/dal exists and has the files dal.h and file.h I tried simply changing the reference from dal/file_dal.h to dal/file.h but there were continued problems. Apparently some of the variables referenced and such do not exist. I''m appending that set of errors here: building ''grub.fsys.reiser._pyreiser'' extension i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -D__XEN_TOOLS__ -fPIC -I/usr/include/python2.4 -c src/fsys/reiser/reisermodule.c -o build/temp.linux-i686-2.4/src/fsys/reiser/reisermodule.o -fno-strict-aliasing -Wall -Werror src/fsys/reiser/reisermodule.c: In function ''file_dal_close'': src/fsys/reiser/reisermodule.c:49: error: ''dal_t'' has no member named ''dev'' cc1: warnings being treated as errors src/fsys/reiser/reisermodule.c:50: warning: implicit declaration of function ''dal_free'' src/fsys/reiser/reisermodule.c: In function ''reiser_fs_open'': src/fsys/reiser/reisermodule.c:221: warning: implicit declaration of function ''file_dal_open'' src/fsys/reiser/reisermodule.c:221: warning: assignment makes pointer from integer without a cast error: command ''i686-pc-linux-gnu-gcc'' failed with exit status 1 make[2]: *** [build] Error 1 make[2]: Leaving directory `/usr/src/xen-3.0.3-testing.hg/tools/pygrub'' make[1]: *** [install] Error 2 make[1]: Leaving directory `/usr/src/xen-3.0.3-testing.hg/tools'' make: *** [install-tools] Error 2 Any ideas? -Ricardo- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ricardo
2006-Nov-09 07:20 UTC
Re: [Xen-devel] [Fwd: [Xen-users] errors with make tools and make docs]
Hey, I really need help on the "make tools." Otherwise I''m stuck without being able to use Xen. In this post I''ve included the two header files that exist in /usr/include/dal as well as reisermodule.c Someone, please, help me out! -Ricardo- Ricardo wrote:> Hey guys, > > I posted this error on xen-users and got no reply, so I figure I''d > have better luck here. It turns out that on my machine (Gentoo), the > directory /usr/include/dal exists and has the files dal.h and file.h > > I tried simply changing the reference from dal/file_dal.h to dal/file.h > but there were continued problems. Apparently some of the variables > referenced and such do not exist. I''m appending that set of errors here: > > building ''grub.fsys.reiser._pyreiser'' extension > i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 > -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes > -Wdeclaration-after-statement -D__XEN_TOOLS__ -fPIC > -I/usr/include/python2.4 -c src/fsys/reiser/reisermodule.c -o > build/temp.linux-i686-2.4/src/fsys/reiser/reisermodule.o > -fno-strict-aliasing -Wall -Werror > src/fsys/reiser/reisermodule.c: In function ''file_dal_close'': > src/fsys/reiser/reisermodule.c:49: error: ''dal_t'' has no member named ''dev'' > cc1: warnings being treated as errors > src/fsys/reiser/reisermodule.c:50: warning: implicit declaration of > function ''dal_free'' > src/fsys/reiser/reisermodule.c: In function ''reiser_fs_open'': > src/fsys/reiser/reisermodule.c:221: warning: implicit declaration of > function ''file_dal_open'' > src/fsys/reiser/reisermodule.c:221: warning: assignment makes pointer > from integer without a cast > error: command ''i686-pc-linux-gnu-gcc'' failed with exit status 1 > make[2]: *** [build] Error 1 > make[2]: Leaving directory `/usr/src/xen-3.0.3-testing.hg/tools/pygrub'' > make[1]: *** [install] Error 2 > make[1]: Leaving directory `/usr/src/xen-3.0.3-testing.hg/tools'' > make: *** [install-tools] Error 2 > > Any ideas? > > -Ricardo- > > > ------------------------------------------------------------------------ > > Subject: > [Xen-users] errors with make tools and make docs > From: > Ricardo <djrico@MIT.EDU> > Date: > Sun, 05 Nov 2006 13:22:20 -0500 > To: > xen-users@lists.xensource.com > > To: > xen-users@lists.xensource.com > > Return-Path: > <xen-users-bounces@lists.xensource.com> > Received: > from po12.mit.edu ([unix socket]) by po12.mit.edu (Cyrus v2.1.5) with > LMTP; Sun, 05 Nov 2006 12:45:15 -0500 > X-Sieve: > CMU Sieve 2.2 > Received: > from fort-point-station.mit.edu by po12.mit.edu (8.13.6/4.7) id > kA5HjBBw019131; Sun, 5 Nov 2006 12:45:14 -0500 (EST) > Received: > from mit.edu (W92-130-BARRACUDA-2.MIT.EDU [18.7.21.223]) by > fort-point-station.mit.edu (8.13.6/8.9.2) with ESMTP id kA5HihCu015575 > for <djrico@mit.edu>; Sun, 5 Nov 2006 12:44:43 -0500 (EST) > Received: > from lists.xensource.com (vm04-bcn-london.deploy.xenoserver.org > [217.147.82.229]) by mit.edu (Spam Firewall) with ESMTP id 98137293785 > for <djrico@mit.edu>; Sun, 5 Nov 2006 12:44:40 -0500 (EST) > Received: > from localhost ([127.0.0.1] helo=lists.xensource.com) by > host-192-168-0-1-bcn-london with esmtp (Exim 4.50) id > 1Ggm34-0003Q8-C4; Sun, 05 Nov 2006 17:44:46 +0000 > Received: > from [192.168.0.10] (helo=lists.xensource.com) by > host-192-168-0-1-bcn-london with esmtp (Exim 4.50) id 1Ggm32-0003Q0-3H > for xen-users@lists.xensource.com; Sun, 05 Nov 2006 17:44:44 +0000 > Received: > from biscayne-one-station.mit.edu ([18.7.7.80]) by lists.xensource.com > with esmtp (Exim 4.50) id 1Ggm2x-0008Vj-Bd for > xen-users@lists.xensource.com; Sun, 05 Nov 2006 17:44:42 +0000 > Received: > from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by > biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id > kA5HiCib000439 for <xen-users@lists.xensource.com>; Sun, 5 Nov 2006 > 12:44:12 -0500 (EST) > Received: > from [18.252.6.215] (EDGERTON-FOUR-SEVENTY.MIT.EDU [18.252.6.215]) > (authenticated bits=0) (User authenticated as djrico@ATHENA.MIT.EDU) > by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id kA5Hi3L0025748 > (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) > for <xen-users@lists.xensource.com>; Sun, 5 Nov 2006 12:44:10 -0500 (EST) > Message-ID: > <454E2BDC.4020102@mit.edu> > User-Agent: > Thunderbird 1.5.0.7 (X11/20061028) > MIME-Version: > 1.0 > Content-Type: > text/plain; charset=ISO-8859-1 > X-Scanned-By: > MIMEDefang 2.42 > X-SA-Exim-Connect-IP: > 18.7.7.80 > X-SA-Exim-Mail-From: > djrico@MIT.EDU > X-Spam-Checker-Version: > SpamAssassin 3.1.0 (2005-09-13) on (none) > X-Spam-Status: > No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.1.0 > X-SA-Exim-Version: > 4.2.1 (built Mon, 27 Mar 2006 13:42:28 +0200) > X-SA-Exim-Scanned: > Yes (on lists.xensource.com) > X-BeenThere: > xen-users@lists.xensource.com > X-Mailman-Version: > 2.1.5 > Precedence: > list > List-Id: > Xen user discussion <xen-users.lists.xensource.com> > List-Unsubscribe: > <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, > <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe> > List-Post: > <mailto:xen-users@lists.xensource.com> > List-Help: > <mailto:xen-users-request@lists.xensource.com?subject=help> > List-Subscribe: > <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, > <mailto:xen-users-request@lists.xensource.com?subject=subscribe> > Sender: > xen-users-bounces@lists.xensource.com > Errors-To: > xen-users-bounces@lists.xensource.com > X-Spam-Score: > 0.12 > X-Spam-Flag: > NO > Content-Transfer-Encoding: > 7bit > > > Two errors have come up, one while attempting make tools and another > while attempting make docs. > > 1) make tools fails while trying to compile pygrub > > This is the error that I get, plus some information that comes beforehand: > > make[2]: Entering directory `/usr/src/xen-3.0.3-testing.hg/tools/pygrub'' > CFLAGS="-O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall > -Wstrict-proto > ypes -Wdeclaration-after-statement -D__XEN_TOOLS__" python setup.py build > running build > running build_py > running build_ext > building ''grub.fsys.reiser._pyreiser'' extension > i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 > -fomit-frame-p > inter -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes > -Wdeclaration-after-s > atement -D__XEN_TOOLS__ -fPIC -I/usr/include/python2.4 -c > src/fsys/reiser/reise > module.c -o build/temp.linux-i686-2.4/src/fsys/reiser/reisermodule.o > -fno-stric > -aliasing -Wall -Werror > src/fsys/reiser/reisermodule.c:20:26: error: dal/file_dal.h: No such > file or di > ectory > src/fsys/reiser/reisermodule.c: In function ''file_dal_close'': > src/fsys/reiser/reisermodule.c:49: error: ''dal_t'' has no member named ''dev'' > cc1: warnings being treated as errors > src/fsys/reiser/reisermodule.c:50: warning: implicit declaration of > function ''d > l_free'' > src/fsys/reiser/reisermodule.c: In function ''reiser_fs_open'': > src/fsys/reiser/reisermodule.c:221: warning: implicit declaration of > function '' > ile_dal_open'' > src/fsys/reiser/reisermodule.c:221: warning: assignment makes pointer > from inte > er without a cast > error: command ''i686-pc-linux-gnu-gcc'' failed with exit status 1 > make[2]: *** [build] Error 1 > make[2]: Leaving directory `/usr/src/xen-3.0.3-testing.hg/tools/pygrub'' > make[1]: *** [install] Error 2 > make[1]: Leaving directory `/usr/src/xen-3.0.3-testing.hg/tools'' > make: *** [install-tools] Error 2 > > I have read the README in the tools/pygrub directory, and have the > package progsreiserfs installed, as I''m running a Gentoo system and my > rootfs is formatted as reiserfs. I re-emerged progsreiserfs with no > improvement in behavior. > > 2) make docs fails when converting latex to html > > Here''s the error: > > make[2]: Entering directory `/usr/src/xen-3.0.3-testing.hg/docs'' > install -d -m0755 html/user > latex2html -split 0 -show_section_numbers -toc_depth 3 -nonavigation \ > -numbered_footnotes -local_icons -noinfo -math -dir html/user \ > src/user.tex 1>/dev/null 2>/dev/null > make[2]: *** [html/user/index.html] Error 2 > make[2]: Leaving directory `/usr/src/xen-3.0.3-testing.hg/docs'' > make[1]: *** [html] Error 2 > rm user.dvi interface.dvi > make[1]: Leaving directory `/usr/src/xen-3.0.3-testing.hg/docs'' > > Now I have latex2html and all other packages listed as required by Xen > for documentation installed. > > The second issue really isn''t as important; I can get pdf and > man-pages and such built and installed without a problem. I do, > however, want and need the tools installed properly. Any help would be > appreciated. > > -Ricardo- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2006-Nov-09 08:44 UTC
Re: [Xen-devel] [Fwd: [Xen-users] errors with make tools and make docs]
On 9/11/06 7:20 am, "Ricardo" <djrico@MIT.EDU> wrote:> I really need help on the "make tools." Otherwise I''m stuck without > being able to use Xen. In this post I''ve included the two header files > that exist in /usr/include/dal as well as reisermodule.c > > Someone, please, help me out!Remove the line ''SUBDIRS-y += pygrub'' from tools/Makefile. You can use Xen without pygrub. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ewan Mellor
2006-Nov-09 09:31 UTC
Re: [Xen-devel] [Fwd: [Xen-users] errors with make tools and make docs]
On Thu, Nov 09, 2006 at 02:20:20AM -0500, Ricardo wrote:> Hey, > > I really need help on the "make tools." Otherwise I''m stuck without > being able to use Xen. In this post I''ve included the two header files > that exist in /usr/include/dal as well as reisermodule.c > > Someone, please, help me out!I believe you need to be using progsreiserfs 0.3.0, not 0.3.1. We have a bug open to improve our docs in this regard (or fix the problem) and Gentoo have a patch in their system to cope, since portage only includes 0.3.1. As Keir says, Pygrub is not a critical part of Xen, so you may compile without it if it is easier. http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=573 http://bugs.gentoo.org/show_bug.cgi?id=137137 HTH, Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ricardo
2006-Nov-10 23:10 UTC
Re: [Xen-devel] [Fwd: [Xen-users] errors with make tools and make docs]
Thanks for the help! -Ricardo- Ewan Mellor wrote:> On Thu, Nov 09, 2006 at 02:20:20AM -0500, Ricardo wrote: > > >> Hey, >> >> I really need help on the "make tools." Otherwise I''m stuck without >> being able to use Xen. In this post I''ve included the two header files >> that exist in /usr/include/dal as well as reisermodule.c >> >> Someone, please, help me out! >> > > I believe you need to be using progsreiserfs 0.3.0, not 0.3.1. We have a bug > open to improve our docs in this regard (or fix the problem) and Gentoo have a > patch in their system to cope, since portage only includes 0.3.1. > > As Keir says, Pygrub is not a critical part of Xen, so you may compile without > it if it is easier. > > http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=573 > http://bugs.gentoo.org/show_bug.cgi?id=137137 > > HTH, > > Ewan. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel