Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[root@localhost linux-2.6.10-mvl40_fp]# make vmlinux
CHK include/linux/version.h
CC scripts/mod/empty.o
mv: cannot stat `scripts/mod/.tmp_empty.o': No such file or directory
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
.................
i am new to linux..i think path settings are right.can u suggest wat might be the error .thanks in advance.
I don't able to get your problem exactly, but i think you should follow following steps
step1. Move into kernel source directory like 'cd /usr/local/src/<kernel source director>'
step2. execute 'make menuconfig' command to select your options.
step3. execute 'make' to compile the kernel
step4. execute 'make modules_install' to install modules in /lib/modules
step5. execute 'make install ' to transfer compiled kernel to /boot pertition
i am in root login only.
1.done make menuconfig and changed my settings.saved the configuration.
2.make.giving the following error. [root@localhost linux-2.6.10-mvl40_fp]# make
CHK include/linux/version.h
CC scripts/mod/empty.o
mv: cannot stat `scripts/mod/.tmp_empty.o': No such file or directory
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2 .
3.make,make modules all give the above error.
Plz suggest.
these normal steps are ok.i am clear with that.
but i am doing for MIPS board.
if u have normal kernel code u can browse through /linux/scripts/mod
please open the Makefile in that folder.
even for normal make error is coming.
CHK include/linux/version.h
CC scripts/mod/empty.o
mv: cannot stat `scripts/mod/.tmp_empty.o': No such file or directory
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.