Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265381 - cant compile kernel image
Summary: cant compile kernel image
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
: 265379 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-07 21:07 UTC by muhsin
Modified: 2009-04-07 23:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description muhsin 2009-04-07 21:07:34 UTC
#cd /usr/src/linux-2.6.27-gentoo-r8/
#cp ../linux-2.6.25-gentoo-r8/.config .
#make menuconfig
Enter exit I get the new && old config merged together...now compile image
#make && make modules_install

Results....failure process wont go to the end


Reproducible: Always

Steps to Reproduce:
1.cd /usr/src/linux-2.6.27-gentoo-r8/
2.cp ../linux-2.6.25-gentoo-r8/.config .
3.make menuconfig
Exit...Save..and make && make modules_install

Results...

scripts/bin2c: line 13: `DESC: Multiple Image Networkgraphics lib (animated png's)'
  CC      kernel/configs.o
kernel/configs.c:60: error: expected ',' or ';' before 'static'
kernel/configs.c:71: error: 'ikconfig_read_current' undeclared here (not in a function)
make[1]: *** [kernel/configs.o] Error 1
make: *** [kernel] Error 2




Actual Results:  
Compile process failed showing source code errors...

scripts/bin2c: line 13: `DESC: Multiple Image Networkgraphics lib (animated png's)'
  CC      kernel/configs.o
kernel/configs.c:60: error: expected ',' or ';' before 'static'
kernel/configs.c:71: error: 'ikconfig_read_current' undeclared here (not in a function)
make[1]: *** [kernel/configs.o] Error 1
make: *** [kernel] Error 2




Expected Results:  
The compile should continue to the end
Comment 1 muhsin 2009-04-07 21:07:46 UTC
Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27.12 i686)
=================================================================
System uname: Linux-2.6.27.12-i686-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-glibc2.0
Timestamp of tree: Sat, 04 Apr 2009 09:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-diget buildpkg ccache collision-detect digest distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ http://mirror.muntinternet.net/pub/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB nl sw_TZ"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://fileserver/gentoo-portage"
USE="X acl acpi alsa apache2 berkdb bluetooth branding bzip2 cairo cdr cgraph cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran ftp gd gdbm gif giff gpm gstreamer hal iconv ipv6 isdnlog java jpeg kde ldap libnotify lm_sensors mad midi mikmod mmx mmx2 mp3 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl php png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd tiff truetype unicode usb vhosts vorbis win32codecs x86 xml xorg xulrunner xv zlib" ALSA_CARDS="snd-hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB nl sw_TZ" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Rafał Mużyło 2009-04-07 21:19:36 UTC
When you upgrade kernel like that, you should always
watch stderr right after you exit menuconfig and
recheck all the menus every once in awhile.
Comment 3 Rafał Mużyło 2009-04-07 21:21:25 UTC
*** Bug 265379 has been marked as a duplicate of this bug. ***
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-07 21:43:20 UTC
How about running "make oldconfig" after you copied the .config file into the new kernel?
Comment 5 muhsin 2009-04-07 22:53:04 UTC
(In reply to comment #4)
> How about running "make oldconfig" after you copied the .config file into the
> new kernel?
> 

make oldconfig will make go over so many questions...even I have done it that way by answering all questions, but results the same
Comment 6 muhsin 2009-04-07 23:03:18 UTC
(In reply to comment #2)
> When you upgrade kernel like that, you should always
> watch stderr right after you exit menuconfig and
> recheck all the menus every once in awhile.
> 

exit normally gives correct informations that configurations have been written to .config.

P:S
Anyways, I dont have lots of knowledge of those .c files as it normally works fine on my other boxes.