Problem with 2.4.18 kernel downloaded from kernel.org
during make modules it fails with
make[1]: Entering directory `/usr/src/linux-2.4.18-6mdk/drivers' make -C atm modules
make[2]: Entering directory /usr/src/linux-2.4.18-6mdk/drivers/atm' make[2]: *** No rule to make target /home/quintela/rpm/2418/BUILD/linux/include/linux/module.h', needed by `eni.o'. Stop.
make[2]: Leaving directory `/usr/src/linux-2.4.18-6mdk/drivers/atm' make[1]: *** [_modsubdir_atm] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.18-6mdk/drivers'
make: *** [_mod_drivers] Error 2
well as you can see there is a problem here.. The fact that quintela is not a user on my system and i believe juan quintela to be a kernel developer. I could be wrong here. anyway i decided to perform a grep -r quintela /usr/src/linux/* > output.txt it generated a 3MB txt file i'm not attaching as of yet do to its size. if you would like it let me know. Otherwise please have this hard linked directory removed from the source so i don't need to compile from that dirctory :P
Thanks
Mike Ramsey
Quoted 10 lines · Mike Ramsey
make[1]: Entering directory `/usr/src/linux-2.4.18-6mdk/drivers' make -C atm modules
make[2]: Entering directory/usr/src/linux-2.4.18-6mdk/drivers/atm' make[2]: *** No rule to make target/home/quintela/rpm/2418/BUILD/linux/include/linux/module.h', needed by `eni.o'. Stop.
make[2]: Leaving directory `/usr/src/linux-2.4.18-6mdk/drivers/atm' make[1]: *** [_modsubdir_atm] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.18-6mdk/drivers'
make: *** [_mod_drivers] Error 2
Hmmh, 2.4.18 from kernel.org would not be in a directory called linux-2.4.18-6mdk, would it?
I don't know what you did, but you seemed to have messed something up between your tree and the tree your distribution provided.
Anyway, you can probably solve your problem by running "make dep". If that does not help, try
http://www.tux.org/lkml/#s8-8
--Kai