Svein-Erik Skjelbred wrote:
Trying to compile this right out of the box gives compile error on first c file.
make: *** No rule to make target `init/main.o', needed by `init/built-in.o'. Stop.
make: *** [init] Error 2
Tried to make a distclean first and copied config from /boot, but to no help.
Even make distclean fails
# make distclean
scripts/Makefile.clean:17: /usr/src/kernels/2.6.16-1.2111_FC5-smp-i686/drivers/infiniband/ulp/srp/Makefile: No such file or directory
make: *** No rule to make target `/usr/src/kernels/2.6.16-1.2111_FC5-smp-i686/drivers/infiniband/ulp/srp/Makefile'. Stop.
make: *** [drivers/infiniband/ulp/srp] Error 2
make: *** [drivers/infiniband] Error 2
make: *** [_clean_drivers] Error 2
Someone with a clue to what I am doing wrong.
I am only wanting smbfs support in my kernel.
Quick guide for kernel-tweaking:
P.S. It's not a great idea to build things as root.