Gentoo Archives: gentoo-user-fr

From: "Fly.Captain At Free.fr" <fly.captain@××××.fr>
To: gentoo-user-fr@l.g.o
Subject: [gentoo-user-fr] Erreur Compilation Noyau suite à maj GCC 3.4.4
Date: Sun, 11 Dec 2005 22:44:01
Message-Id: 002d01c5fea4$57fa99e0$0264a8c0@wsneo
1 Bonsoir,
2
3 Suite à une mise à jour de GCC de 3.3.6 à 3.4.4, je n'arrive plus à
4 recompiler le noyau. J'ai cette erreur là :
5
6 sched.c:1445: error: conflicting types for '__wake_up_sync'
7 /usr/src/linux-2.4.31-gentoo-r1/include/linux/sched.h:631: error: previous
8 declaration of '__wake_up_s
9 ync' was here
10 sched.c:1445: error: conflicting types for '__wake_up_sync'
11 /usr/src/linux-2.4.31-gentoo-r1/include/linux/sched.h:631: error: previous
12 declaration of '__wake_up_s
13 ync' was here
14 make[2]: *** [sched.o] Error 1
15 make[2]: Leaving directory `/usr/src/linux-2.4.31-gentoo-r1/kernel'
16 make[1]: *** [first_rule] Error 2
17 make[1]: Leaving directory `/usr/src/linux-2.4.31-gentoo-r1/kernel'
18 make: *** [_dir_kernel] Error 2
19
20 A priori, je n'ai pas eu d'erreur lors de la mise à jour du système. Je peux
21 recompiler un ancien noyau, le 2.4.28, ça marche.
22 J'ai effectuer un second "emerge -e system", mais j'ai toujours l'erreur.
23 Sur une autre machine, qui en 2.6.x, je n'ai eu aucun problème lors de la
24 mise à jour de GCC, mais cette machine doit rester en 2.4.x, et par
25 préférence, la dernière version, celle qui ne veut pas compiler :
26 2.4.31-gentoo-r1 (elle fonctionnait bien avec GCC 3.3.6).
27
28 Voici ce que donne un emerge --info :
29
30 Portage 2.0.51.22-r3 (default-linux/x86/no-nptl/2.4, gcc-3.4.4,
31 glibc-2.3.5-r2, 2.4.28-gentoo-r9 i686)
32 =================================================================
33 System uname: 2.4.28-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
34 Gentoo Base System version 1.6.13
35 dev-lang/python: 2.3.5-r2, 2.4.2
36 sys-apps/sandbox: 1.2.12
37 sys-devel/autoconf: 2.13, 2.59-r6
38 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
39 sys-devel/binutils: 2.16.1
40 sys-devel/libtool: 1.5.20
41 virtual/os-headers: 2.4.22-r1
42 ACCEPT_KEYWORDS="x86"
43 AUTOCLEAN="yes"
44 CBUILD="i386-pc-linux-gnu"
45 CFLAGS="-march=i686 -O2 -pipe"
46 CHOST="i386-pc-linux-gnu"
47 CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
48 /usr/share/config /var/qmail/control"
49 CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
50 CXXFLAGS="-march=i686 -O2 -pipe"
51 DISTDIR="/usr/portage/distfiles"
52 FEATURES="autoconfig distlocks sandbox sfperms strict"
53 GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/
54 http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
55 http://gentoo.math.bme.hu http://mirror.switch.ch/mirror/gentoo/"
56 PKGDIR="/usr/portage/packages"
57 PORTAGE_TMPDIR="/var/tmp"
58 PORTDIR="/usr/portage"
59 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
60 USE="x86 acl alsa apm arts avi berkdb bitmap-fonts bzip2 crypt cups eds
61 emboss encode expat foomaticdb fortran gdbm gif gpm gstreamer gtk2 imlib
62 ipv6 jpeg libg++ libwww mad mhash mikmod motif mp3 mpeg mysql ncurses nls
63 ogg oggvorbis opengl oss pam pcre pdflib perl php png postgres python
64 quicktime readline samba sdl slang snmp spell ssl tcpd tiff truetype
65 truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU
66 kernel_linux elibc_glibc"
67 Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS,
68 PORTDIR_OVERLAY
69
70 Merci de votre aide.
71
72 Fabien.
73
74 --
75 gentoo-user-fr@g.o mailing list

Replies