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-bugs

[Xen-bugs] [Bug 573] New: Xen not compiling with reiserfs libreries prob

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 573] New: Xen not compiling with reiserfs libreries problem
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Wed, 15 Mar 2006 15:19:40 +0000
Delivery-date: Wed, 15 Mar 2006 15:21:09 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=573

           Summary: Xen not compiling with reiserfs libreries problem
           Product: Xen
           Version: unstable
          Platform: x86
        OS/Version: Linux-2.6
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: xeldiosx@xxxxxxxxx


My System Spec:

Gentoo Linux 2006.0 profile - GCC 3.4.5 - Kernel 2.6.16-rc5 - Xen-unstable-9029
- progsreiserfs 0.3.1_rc8 - Centrino x86 optimized laptop system

When I try to compile the program stops at this point with this error:

i686-pc-linux-gnu-gcc -pthread -shared -Wdeclaration-after-statement
-Wdeclaration-after-statement -Wdeclaration-after-statement -m32 -march=i686
-Wdeclaration-after-statement -m32 -march=i686
build/temp.linux-i686-2.4/src/fsys/ext2/ext2module.o -lext2fs -o
build/lib.linux-i686-2.4/grub/fsys/ext2/_pyext2.so
building 'grub.fsys.reiser._pyreiser' extension
creating build/temp.linux-i686-2.4/src/fsys/reiser
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG
-Wdeclaration-after-statement -Wdeclaration-after-statement
-Wdeclaration-after-statement -m32 -march=i686 -Wdeclaration-after-statement
-m32 -march=i686 -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:20:26: dal/file_dal.h: No such file or directory
src/fsys/reiser/reisermodule.c: In function `file_dal_close':
src/fsys/reiser/reisermodule.c:49: error: structure has no member named `dev'
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
`/var/tmp/portage/xen-9029-r2/work/xen-unstable-9029/tools/pygrub'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/portage/xen-9029-r2/work/xen-unstable-9029/tools'
make: *** [gentoo-compile] Error 2

!!! ERROR: app-emulation/xen-9029-r2 failed.
Call stack:
  ebuild.sh, line 1928:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile


Then I spotted that I actually have not that file and I symlinked
/usr/include/dal/file.h -> /usr/include/dal/file_dal.h with this result:

i686-pc-linux-gnu-gcc -pthread -shared -Wdeclaration-after-statement
-Wdeclaration-after-statement -Wdeclaration-after-statement -m32 -march=i686
-Wdeclaration-after-statement -m32 -march=i686
build/temp.linux-i686-2.4/src/fsys/ext2/ext2module.o -lext2fs -o
build/lib.linux-i686-2.4/grub/fsys/ext2/_pyext2.so
building 'grub.fsys.reiser._pyreiser' extension
creating build/temp.linux-i686-2.4/src/fsys/reiser
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG
-Wdeclaration-after-statement -Wdeclaration-after-statement
-Wdeclaration-after-statement -m32 -march=i686 -Wdeclaration-after-statement
-m32 -march=i686 -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: structure has no member named `dev'
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
`/var/tmp/portage/xen-9029-r2/work/xen-unstable-9029/tools/pygrub'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/portage/xen-9029-r2/work/xen-unstable-9029/tools'
make: *** [gentoo-compile] Error 2

!!! ERROR: app-emulation/xen-9029-r2 failed.
Call stack:
  ebuild.sh, line 1928:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile

I managed to temporarily compile Xen deleting the Reiserfs part from pygrub
setup stopping the compile process, deleting the criminal rows and then going 
on...

Could you figure out what's the problem? 

Thanks, 

Lele.

-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 573] New: Xen not compiling with reiserfs libreries problem, bugzilla-daemon <=