ibookg4 /usr/src/linux # genkernel --oldconfig all * Gentoo Linux Genkernel; Version 3.3.10 * Running with options: --oldconfig all * Linux Kernel 2.6.15 for ppc... * config: >> Running oldconfig... * config: --no-clean is enabled; leaving the .config alone. * >> Compiling 2.6.15 vmlinux... * >> Compiling 2.6.15 modules... * Copying config for successful build to /etc/kernels/kernel-config-ppc-2.6.15 Applying hack to workaround 2.6.14+ PPC header breakages... Inserting byteswap.h into klibc * klibc: >> Compiling... * ERROR: Failed to compile the "" target... * -- Grepping log... -- SCSI media changer support (CHR_DEV_SCH) [N/m/?] n * * Some SCSI devices (e.g. CD jukebox) support multiple LUNs * Probe all LUNs on each SCSI device (SCSI_MULTI_LUN) [N/y/?] n Verbose SCSI error reporting (kernel size +=12K) (SCSI_CONSTANTS) [N/y/?] n -- make[1]: Leaving directory `/var/tmp/genkernel/26271.17757.16726.13431/klibc-1.1.1/klibc' make: *** [all] Fehler 2 * Gentoo Linux Genkernel; Version 3.3.10 * Running with options: --oldconfig all * ERROR: Failed to compile the "" target... * -- End log... -- from /var/log/genkernel.log: gcc -Wp,-MT,wait.o,-MD,./.wait.o.d -Os -D__KLIBC__=1 -D__KLIBC_MINOR__=1 -nostdlib -nostdinc -iwith prefix include -I../include/arch/ppc -I../include/bits32 -I../include -I../linux/include -I../linux/ include2 -I../linux/include -I../linux/arch/ppc/include -I./zlib -I./zlib -DWITH_ERRLIST -W -Wall -W pointer-arith -Wwrite-strings -Wstrict-prototypes -Winline -DDYNAMIC_CRC_TABLE -c -o wait.o wait.c In file included from ../include/signal.h:13, from fork.c:9: ../linux/arch/ppc/include/asm/signal.h:14: Fehler:
ibookg4 /usr/src/linux # genkernel --oldconfig all * Gentoo Linux Genkernel; Version 3.3.10 * Running with options: --oldconfig all * Linux Kernel 2.6.15 for ppc... * config: >> Running oldconfig... * config: --no-clean is enabled; leaving the .config alone. * >> Compiling 2.6.15 vmlinux... * >> Compiling 2.6.15 modules... * Copying config for successful build to /etc/kernels/kernel-config-ppc-2.6.15 Applying hack to workaround 2.6.14+ PPC header breakages... Inserting byteswap.h into klibc * klibc: >> Compiling... * ERROR: Failed to compile the "" target... * -- Grepping log... -- SCSI media changer support (CHR_DEV_SCH) [N/m/?] n * * Some SCSI devices (e.g. CD jukebox) support multiple LUNs * Probe all LUNs on each SCSI device (SCSI_MULTI_LUN) [N/y/?] n Verbose SCSI error reporting (kernel size +=12K) (SCSI_CONSTANTS) [N/y/?] n -- make[1]: Leaving directory `/var/tmp/genkernel/26271.17757.16726.13431/klibc-1.1.1/klibc' make: *** [all] Fehler 2 * Gentoo Linux Genkernel; Version 3.3.10 * Running with options: --oldconfig all * ERROR: Failed to compile the "" target... * -- End log... -- from /var/log/genkernel.log: gcc -Wp,-MT,wait.o,-MD,./.wait.o.d -Os -D__KLIBC__=1 -D__KLIBC_MINOR__=1 -nostdlib -nostdinc -iwith prefix include -I../include/arch/ppc -I../include/bits32 -I../include -I../linux/include -I../linux/ include2 -I../linux/include -I../linux/arch/ppc/include -I./zlib -I./zlib -DWITH_ERRLIST -W -Wall -W pointer-arith -Wwrite-strings -Wstrict-prototypes -Winline -DDYNAMIC_CRC_TABLE -c -o wait.o wait.c In file included from ../include/signal.h:13, from fork.c:9: ../linux/arch/ppc/include/asm/signal.h:14: Fehler: »BITS_PER_LONG« ist hier nicht deklariert (nicht in einer Funktion) make[1]: *** [fork.o] Fehler 1 make[1]: *** Warte auf noch nicht beendete Prozesse... make[1]: Leaving directory `/var/tmp/genkernel/26271.17757.16726.13431/klibc-1.1.1/klibc' make: *** [all] Fehler 2 * Gentoo Linux Genkernel; Version 3.3.10 * Running with options: --oldconfig all * ERROR: Failed to compile the "" target... * -- Grepping log... -- * -- End log... -- The kernel is a vanilla 2.6.15 Gentoo Base System version 1.6.14
emerge info please...
ibookg4 /usr/src/linux # emerge info Portage 2.0.54 (default-linux/ppc/2005.1/ppc/G4, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15 ppc) ================================================================= System uname: 2.6.15 ppc 7447A, altivec supported Gentoo Base System version 1.6.14 distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 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-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://213.186.33.38/gentoo-distfiles/ ftp://gentoo.inode.at/source/ ftp://ftp.nyx.hu/gentoo ftp://213.186.33.37/gentoo-distfiles/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.heanet.ie/pub/gentoo/" LC_ALL="de_DE.UTF-8" LINGUAS="de en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc X alsa altivec apache2 audiofile bash-completion berkdb bitmap-fonts bluetooth bonobo bzip2 cdparanoia cdr crypt cups curl divx4linux dri dvd eds emboss encode esd exif expat fam fbcon ffmpeg flac flash gd gif gimp glut gmp gpm gstreamer gtk gtk2 guile idn imagemagick imlib java jpeg kde lcms ldap libwww mad mng motif mp3 mpeg mplayer mysql ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl php png python qt quicktime radeon readline recode samba scanner sdl spell ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb utf8 vorbis wifi xml xml2 xmms xv zlib linguas_de linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS
What if you try genkernel 3.3.11?
I updated to 3.3.11 and now it works :-)
Cool...