Problem compiling under Linux 2.4.3

Edmund Troche edmund at troche.org
Tue Apr 24 01:07:47 EDT 2001


Hi,

I just got the latest CVS code and after doing the "patchin.sh" to my source tree I
can't build. Doing a make depend also fails.
This is what I get from make depend:

make[4]: Leaving directory `/usr/src/linux-2.4.3/drivers/misc'
make -C mtd fastdep
make[4]: Entering directory `/usr/src/linux-2.4.3/drivers/mtd'
make[4]: Makefile: No such file or directory
make[4]: *** No rule to make target `Makefile'.  Stop.
make[4]: Leaving directory `/usr/src/linux-2.4.3/drivers/mtd'
make[3]: *** [_sfdep_mtd] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.3/drivers'
make[2]: *** [fastdep] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.3/drivers'
make[1]: *** [_sfdep_drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.3'
make: *** [dep-files] Error 2

I looked into the /usr/src/linux-2.4.3/drivers/mtd/Makefile file and it was empty.
This file is softlinked to /usr/src/mtd/kernel/Makefile. My /usr/src/linux
directory is actually softlinked to /usr/src/linux-2.4.3.


Running make xconfig returns the following:

[root at matrix linux]# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.3/scripts'
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk
-: 249: unable to open drivers/mtd/Config.in
make[1]: *** [kconfig.tk] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.3/scripts'
make: *** [xconfig] Error 2
[root at matrix linux]#

The file  /usr/src/mtd/kernel/Config.in, which is softlinked to
/usr/src/linux/drivers/mtd/Config.in is also empty.

I've done this before in previous kernels (2.2.X and 2.4.2) and it worker. Did I
miss something? Thanks in advance for your help.


Edmund Troche










To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org



More information about the linux-mtd mailing list