WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [Fwd: [Xen-users] errors with make tools and make docs]

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [Fwd: [Xen-users] errors with make tools and make docs]
From: Ricardo <djrico@xxxxxxx>
Date: Tue, 07 Nov 2006 17:58:21 -0500
Delivery-date: Tue, 07 Nov 2006 14:59:13 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.7 (X11/20061028)
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-
--- Begin Message ---
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] errors with make tools and make docs
From: Ricardo <djrico@xxxxxxx>
Date: Sun, 05 Nov 2006 13:22:20 -0500
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.7 (X11/20061028)
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


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