Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[xen-tools]erreur de complation[résolu]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
yesi
Guru
Guru


Joined: 25 Oct 2004
Posts: 331

PostPosted: Tue Oct 10, 2006 10:11 pm    Post subject: [xen-tools]erreur de complation[résolu] Reply with quote

salut,

j'essaie d'installer xen mais j'obtiens une erreur de comoilation pour xen-tools
Quote:
building 'grub.fsys.ext2._pyext2' extension
creating build/temp.linux-i686-2.4
creating build/temp.linux-i686-2.4/src
creating build/temp.linux-i686-2.4/src/fsys
creating build/temp.linux-i686-2.4/src/fsys/ext2
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_INTERFACE_VERSION__=0x00030101 -fPIC -DHAVE_EXT2FS_OPEN2 -I/usr/include/python2.4 -c src/fsys/ext2/ext2module.c -o build/temp.linux-i686-2.4/src/fsys/ext2/ext2module.o -fno-strict-aliasing -Wall -Werror
i686-pc-linux-gnu-gcc -pthread -shared -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -D__XEN_INTERFACE_VERSION__=0x00030101 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 -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -D__XEN_INTERFACE_VERSION__=0x00030101 -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: erreur: dal/file_dal.h : Aucun fichier ou répertoire de ce type
src/fsys/reiser/reisermodule.c: In function ‘file_dal_close’:
src/fsys/reiser/reisermodule.c:49: erreur: ‘dal_t’ has no member named ‘dev’
cc1: warnings being treated as errors
src/fsys/reiser/reisermodule.c:50: attention : implicit declaration of function ‘dal_free’
src/fsys/reiser/reisermodule.c: In function ‘reiser_fs_open’:
src/fsys/reiser/reisermodule.c:221: attention : implicit declaration of function ‘file_dal_open’
src/fsys/reiser/reisermodule.c:221: attention : assignment makes pointer from integer without a cast
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1
make[1]: *** [build] Erreur 1
make[1]: quittant le répertoire « /var/tmp/portage/xen-tools-3.0.2-r3/work/xen-3.0.2/tools/pygrub »
make: *** [all] Erreur 2
make: quittant le répertoire « /var/tmp/portage/xen-tools-3.0.2-r3/work/xen-3.0.2/tools »

!!! ERROR: app-emulation/xen-tools-3.0.2-r3 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
xen-tools-3.0.2-r3.ebuild, line 121: Called die

!!! compile failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


Code:
emerge --info
Quote:

Portage 2.1.2_pre2-r7 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.13.0_alpha1
Last Sync: Tue, 10 Oct 2006 01:53:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.3
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/initng/daemon /etc/initng/net /etc/initng/system /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo
" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.proxad.net/mirrors/ftp.gentoo.org/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/ rsync://ftp.belnet.be/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/initng-portage /usr/portage/local/layman/portage-xgl"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac alsa arts berkdb bitmap-fonts cairo cdr cjk cli crypt cups dbus divx4linux dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode esd fam firefox flac font-serve
r foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imlib initng_plugins_also initng_plugins_bash_launcher initng_plugins_chdir initng_plugins_chroot initng_plugins_conflict initng_plugins_cpout initng_plugins_critical initng_plugins_ctrlaltdel initng_plugins_daemon_clean initng_plugins_debug_commands initng_plugins_envparser initng_plugins_find initng_plugins_fmon initng_plugins_fstat initng_plugins_history initng_plugins_idleprobe initng_plugins_initctl initng_plugins_interactive initng_plugins_iparser initng_plugins_last initng_plugins_limit initng_plugins_lockfile initng_plugins_logfile initng_plugins_netdev initng_plugins_netprobe initng_plugins_ngc4 initng_plugins_ngcs initng_plugins_nge initng_plugins_pause initng_plugins_provide initng_plugins_reload initng_plugins_renice initng_plugins_rlparser initng_plugins_simple_launcher initng_plugins_stcmd initng_plugins_stdout initng_plugins_suid initng_plugins_syncron initng_plugins_syslog initng_plugins_sysreq initng_plugins_unneeded initng_plugins_usplash input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux ldap libg++ linguas_fr mad matroska mikmod mono mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa vorbis win32codecs wma x264 xine xml xmms xorg xv xvid zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS



oui j'utilise reiserfs sur /
(j'ai recompilé les progs lié à reiserfs mais ça ne change rien....)
merci d'avance.


Last edited by yesi on Wed Oct 11, 2006 4:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
didzzzz17
Tux's lil' helper
Tux's lil' helper


Joined: 08 Mar 2004
Posts: 127
Location: France - Niort / La Rochelle

PostPosted: Tue Oct 10, 2006 10:55 pm    Post subject: Reply with quote

Lorsque je me suis lancé dans XEN, j'ai utilisé les options suivantes pour la compilation :
Code:
CFLAGS="-O2 -march=athlon-xp -pipe -mno-tls-direct-seg-refs"


J'espère que cela évitera tes erreurs de compilation
_________________
Master Sécurité des Systèmes d'Informations
Back to top
View user's profile Send private message
yesi
Guru
Guru


Joined: 25 Oct 2004
Posts: 331

PostPosted: Tue Oct 10, 2006 11:09 pm    Post subject: Reply with quote

:)
c'est gentil!

mais tu remarqueras que je l'ai déjà l'option dans "emerge --info"

:)
Back to top
View user's profile Send private message
grosnours
Apprentice
Apprentice


Joined: 05 Jun 2006
Posts: 210
Location: Belgium

PostPosted: Tue Oct 10, 2006 11:12 pm    Post subject: Reply with quote

Essaie sans la var FEATURES de ton make.conf, j'ai déjà eu des problèmes avec ccache (entre autres).
_________________
grosnours
Back to top
View user's profile Send private message
yesi
Guru
Guru


Joined: 25 Oct 2004
Posts: 331

PostPosted: Wed Oct 11, 2006 12:16 am    Post subject: Reply with quote

non plus...
Back to top
View user's profile Send private message
yesi
Guru
Guru


Joined: 25 Oct 2004
Posts: 331

PostPosted: Wed Oct 11, 2006 4:29 pm    Post subject: Reply with quote

https://bugs.gentoo.org/attachment.cgi?id=94557

c'est le patch à appliquer.
et ça marche.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum