Messages in this thread | | | From | Kelledin <> | Subject | Re: Missing files in 2.4.19-rc1 | Date | Fri, 12 Jul 2002 05:13:48 -0500 |
| |
On Friday 12 July 2002 04:47 am, Martin MOKREJŠ wrote: > Hi, > I'm getting while `make dep` > > gcc -D__KERNEL__ -I/usr/src/linux-2.4.19-rc1/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 > -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include -E -D__GENKSYMS__ > au1000_gpio.c > > | /sbin/genksyms -p smp_ -k 2.4.19 > > | /usr/src/linux-2.4.19-rc1/include/linux/modules/au1000_gpio.ver.tmp > (snip) > via-pmu.c:40: asm/prom.h: No such file or directory > via-pmu.c:41: asm/machdep.h: No such file or directory > via-pmu.c:45: asm/sections.h: No such file or directory > via-pmu.c:48: asm/pmac_feature.h: No such file or directory > via-pmu.c:51: asm/sections.h: No such file or directory > via-pmu.c:52: asm/cputable.h: No such file or directory > via-pmu.c:53: asm/time.h: No such file or directory (snip) > amd7930.c:95: asm/openprom.h: No such file or directory > amd7930.c:96: asm/oplib.h: No such file or directory > amd7930.c:100: asm/sbus.h: No such file or directory > amd7930.c:102: asm/audioio.h: No such file or directory (snip) > dbri.c:53: asm/openprom.h: No such file or directory > dbri.c:54: asm/oplib.h: No such file or directory > dbri.c:58: asm/sbus.h: No such file or directory > dbri.c:61: asm/audioio.h: No such file or directory (snip) > su.c:78: asm/oplib.h: No such file or directory > su.c:80: asm/ebus.h: No such file or directory (snip) > bbc_i2c.c:16: asm/oplib.h: No such file or directory > bbc_i2c.c:17: asm/ebus.h: No such file or directory > bbc_i2c.c:18: asm/spitfire.h: No such file or directory > bbc_i2c.c:19: asm/bbc.h: No such file or directory
Dumb question: Did you do a make menuconfig/config/xconfig, or just copy over your .config file from an old kernel? Was a make mrproper done at any time?
When you first untar a stock kernel source tree, the "include/asm" directory does not exist in the tree. When you make config/menuconfig/xconfig, an "include/asm" symlink gets created (among other things), linking to an architecture specific asm header directory like include/asm-i386 or the like. "make mrproper" destroys this symlink as part of the source tree cleanup.
So if you fail to do the make *config, or you do a make mrproper after your most recent make *config, you lose that symlink. Thus a possible cause for the errors you're getting.
-- Kelledin "If a server crashes in a server farm and no one pings it, does it still cost four figures to fix?"
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |