Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26222 - Kernel compile fails on "make dep" Something to do with autoconf.h
Summary: Kernel compile fails on "make dep" Something to do with autoconf.h
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-08 11:12 UTC by Fong Chih
Modified: 2003-09-07 08:13 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 Fong Chih 2003-08-08 11:12:08 UTC
root@Beast sonpansat # cd /usr/src/linux
root@Beast linux # make dep
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep scripts/
mkdep.c
make[1]: Entering directory `/usr/src/linux-2.4.20-gentoo-r5/arch/i386/boot'
make[1]: Nothing to be done for `dep'.
make[1]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r5/arch/i386/boot'
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.20-gentoo-r5/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o tkparse.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkcond.o tkcond.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkgen.o tkgen.c
gcc -o tkparse tkparse.o tkcond.o tkgen.o
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk
echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk
echo "set ARCH \"i386\"" >> kconfig.tk
cat tail.tk >> kconfig.tk
chmod 755 kconfig.tk
make[1]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r5/scripts'
scripts/mkdep -- init/*.c > .depend
scripts/mkdep -- `find /usr/src/linux-2.4.20-gentoo-r5/include/asm /usr/src/linu
x-2.4.20-gentoo-r5/include/linux /usr/src/linux-2.4.20-gentoo-r5/include/scsi /u
sr/src/linux-2.4.20-gentoo-r5/include/net /usr/src/linux-2.4.20-gentoo-r5/includ
e/math-emu \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name m
odversions.h -print` > .hdepend
make _sfdep_kernel _sfdep_drivers _sfdep_mm _sfdep_fs _sfdep_net _sfdep_ipc _sfd
ep_lib _sfdep_grsecurity _sfdep_crypto _sfdep_arch/i386/kernel _sfdep_arch/i386/
mm _sfdep_arch/i386/lib _FASTDEP_ALL_SUB_DIRS="kernel drivers mm fs net ipc lib
grsecurity crypto arch/i386/kernel arch/i386/mm arch/i386/lib"
make[1]: Entering directory `/usr/src/linux-2.4.20-gentoo-r5'
make -C kernel fastdep
make[2]: Entering directory `/usr/src/linux-2.4.20-gentoo-r5/kernel'
make[2]: *** No rule to make target `/usr/src/linux-2.4.20-gentoo-r5/include/lin
ux/autoconf.h', needed by `/usr/src/linux-2.4.20-gentoo-r5/include/linux/modules
/signal.ver'.  Stop.
make[2]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r5/kernel'
make[1]: *** [_sfdep_kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r5'
make: *** [dep-files] Error 2

I'm using autoconf version 2.57-r1  Doing an "emerge -p autoconf" doesn't reveal
any dependant packages that I need to install.

Reproducible: Always
Steps to Reproduce:
1.Go to /usr/src/linux
2.type "make dep"

Actual Results:  
See Details.

make[1]: Entering directory `/usr/src/linux-2.4.20-gentoo-r5/arch/i386/boot'
make[1]: Nothing to be done for `dep'.
make[1]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r5/arch/i386/boot'
scripts/mkdep -- init/*.c > .depend
scripts/mkdep -- `find /usr/src/linux-2.4.20-gentoo-r5/include/asm
/usr/src/linux-2.4.20-gentoo-r5/include/linux
/usr/src/linux-2.4.20-gentoo-r5/include/scsi
/usr/src/linux-2.4.20-gentoo-r5/include/net
/usr/src/linux-2.4.20-gentoo-r5/include/math-emu \( -name SCCS -o -name .svn \)
-prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend
make _sfdep_kernel _sfdep_drivers _sfdep_mm _sfdep_fs _sfdep_net _sfdep_ipc
_sfdep_lib _sfdep_grsecurity _sfdep_crypto _sfdep_arch/i386/kernel
_sfdep_arch/i386/mm _sfdep_arch/i386/lib _FASTDEP_ALL_SUB_DIRS="kernel drivers
mm fs net ipc lib grsecurity crypto arch/i386/kernel arch/i386/mm arch/i386/lib"
make[1]: Entering directory `/usr/src/linux-2.4.20-gentoo-r5'
make -C kernel fastdep
make[2]: Entering directory `/usr/src/linux-2.4.20-gentoo-r5/kernel'
make[2]: *** No rule to make target
`/usr/src/linux-2.4.20-gentoo-r5/include/linux/autoconf.h', needed by
`/usr/src/linux-2.4.20-gentoo-r5/include/linux/modules/signal.ver'.  Stop.
make[2]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r5/kernel'
make[1]: *** [_sfdep_kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r5'
make: *** [dep-files] Error 2


Expected Results:  
Made everything without any bugs, exact output unknown.

root@Beast linux # emerge info
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 3dnow apm avi crypt cups encode foomaticdb gif gpm jpeg libg++ libwww
mad mikmod mmx mpeg ncurses nls pdflib png quicktime slang spell truetype xml2
xmms xv zlib gtkhtml alsa gdbm berkdb readline arts svga ggi java X sdl tcpd pam
ssl python esd imlib oggvorbis gtk motif opengl mozilla -kde -qt acl bonobo
canna cdr cjk doc dvd emace ethereal evo freewnn gnome imap jikes junit mbox mpi
mule mysql odbc oss perl pnp tcltk tiff"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 SpanKY gentoo-dev 2003-08-08 22:24:34 UTC
did you `make menuconfig` first ? 
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2003-08-10 16:16:56 UTC
Try doing a 'make mrproper'. If this still happens, try remerging the kernel ebuild.
Comment 3 Jay Pfeifer (RETIRED) gentoo-dev 2003-09-07 08:13:45 UTC
this is because a make {menu|old|x}config was not ran prior to make dep..

invalid.