Hi guys, I'm trying to compile the kernel using universal cd (2005.0). uname -a : Linux livecd 2.6.11-gentoo-r3 #1 SMP Fri Mar 18 21:30:04 UTC 2005 i686 AMD Athlon(tm) XP 2200+ AuthenticAMD GNU/Linux Thanks. RTC support is enabled. emerge --info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.11-gentoo-r3 i686) ================================================================= System uname: 2.6.11-gentoo-r3 i686 Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 11 2005, 00:07:42)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X apm arts avi berkdb bitmap-fonts crypt cups emboss encode f77 foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl spell ssl svga tcpd truetype truetype-fonts type1-fonts xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY Error messages: CC arch/i386/kernel/timers/timer_tsc.o arch/i386/kernel/timers/timer_tsc.c: In function `mach_countup': arch/i386/kernel/timers/timer_tsc.c:36: error: section attribute cannot be specified for local variables arch/i386/kernel/timers/timer_tsc.c:304: error: initializer element is not constant arch/i386/kernel/timers/timer_tsc.c:304: error: (near initialization for `time_cpufreq_notifier_block.notifier_call') arch/i386/kernel/timers/timer_tsc.c:317: error: initializer element is not constant arch/i386/kernel/timers/timer_tsc.c:542: error: initializer element is not constant arch/i386/kernel/timers/timer_tsc.c:542: error: (near initialization for `__setup_tsc_setup.setup_func') arch/i386/kernel/timers/timer_tsc.c:551: error: initializer element is not constant arch/i386/kernel/timers/timer_tsc.c:551: error: (near initialization for `timer_tsc.mark_offset') arch/i386/kernel/timers/timer_tsc.c:552: error: initializer element is not constant arch/i386/kernel/timers/timer_tsc.c:552: error: (near initialization for `timer_tsc.get_offset') arch/i386/kernel/timers/timer_tsc.c:553: error: initializer element is not constant arch/i386/kernel/timers/timer_tsc.c:553: error: (near initialization for `timer_tsc.monotonic_clock') arch/i386/kernel/timers/timer_tsc.c:554: error: initializer element is not constant arch/i386/kernel/timers/timer_tsc.c:554: error: (near initialization for `timer_tsc.delay') arch/i386/kernel/timers/timer_tsc.c:557: error: section attribute cannot be specified for local variables arch/i386/kernel/timers/timer_tsc.c:560: error: parse error at end of input arch/i386/kernel/timers/timer_tsc.c:557: warning: unused variable `timer_tsc_init' make[2]: *** [arch/i386/kernel/timers/timer_tsc.o] Error 1 make[1]: *** [arch/i386/kernel/timers] Error 2 make: *** [arch/i386/kernel] Error 2 Reproducible: Always Steps to Reproduce: 1.cd /usr/src/linux 2. make (compile error) 3.
please specify what kernel you were trying to compile.
Kernel: 2.6.11-gentoo-r3
Please attach the .config you are using.
Created attachment 59226 [details] config kernel file
Can't reproduce here, on both gcc versions i686-pc-linux-gnu-3.3.5-20050130 and i686-pc-linux-gnu-3.4.3-20050110, compiling gentoo-sources-2.6.11-r9 Have you modified the sources at all? Might be worth "rm -rf" and re-merge just to be sure.
See comment #5