LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   make missing while making menuconfig (https://www.linuxquestions.org/questions/linux-newbie-8/make-missing-while-making-menuconfig-4175488389/)

rohanshrestha 12-18-2013 12:54 AM

make missing while making menuconfig
 
Makefile:302: warning: overriding recipe for target `/run/media/rohan/tutorials/kernel'
Makefile:104: warning: ignoring old recipe for target `/run/media/rohan/tutorials/kernel'
Makefile:302: warning: overriding recipe for target `compiling'
Makefile:104: warning: ignoring old recipe for target `compiling'
Makefile:302: warning: overriding recipe for target `tutuorials/files_4_kernel_compilatiom/Kernel'
Makefile:104: warning: ignoring old recipe for target `tutuorials/files_4_kernel_compilatiom/Kernel'
Makefile:303: /run/media/rohan/tutorials/kernel: No such file or directory
Makefile:303: compiling: No such file or directory
Makefile:303: tutuorials/files_4_kernel_compilatiom/Kernel: No such file or directory
Makefile:303: build/linux-2.6.31.12/scripts/Kbuild.include: No such file or directory
Makefile:444: /run/media/rohan/tutorials/kernel: No such file or directory
Makefile:444: compiling: No such file or directory
Makefile:444: tutuorials/files_4_kernel_compilatiom/Kernel: No such file or directory
Makefile:444: build/linux-2.6.31.12/arch/x86/Makefile: No such file or directory
make: *** No rule to make target `build/linux-2.6.31.12/arch/x86/Makefile'. Stop.


give me some ideas

evo2 12-18-2013 01:22 AM

Hi,

would be a good idea to tell us *exactly* what you were doing and on what system.

Cheers,

Evo2.

rohanshrestha 12-22-2013 12:20 AM

I have a fedora installed in my pc.
when i try to compile with make for eg:
make menu config throught the root
then following error occurred
Makefile:302: warning: overriding recipe for target `/run/media/rohan/multimedia/test'
Makefile:104: warning: ignoring old recipe for target `/run/media/rohan/multimedia/test'
Makefile:303: /run/media/rohan/multimedia/test: No such file or directory
Makefile:303: test/linux-2.6.31.12/scripts/Kbuild.include: No such file or directory
Makefile:444: /run/media/rohan/multimedia/test: No such file or directory
Makefile:444: test/linux-2.6.31.12/arch/x86/Makefile: No such file or directory
make: *** No rule to make target `test/linux-2.6.31.12/arch/x86/Makefile'. Stop.





Give me some ideas to solve it??

gdejonge 12-22-2013 05:28 AM

As Evo2 asked, what system are you precisely using. You say you are using fedora and are referring to kernel 2.6.31. This would indicate that you are using Fedora 12, which is from 2009 and completely out of date.

As for your make command. It is 'make menuconfig' single word.

Could you also tell us how you installed the kernel sources.

Cheers

rohanshrestha 12-23-2013 12:51 AM

I have used linux 2.6.31.12
my pc info:
architecture=i686
my cpu configuration is 2gb ram
32-bit os
Intel dual core processor T6750 @ 2.10 GHZ
:
I tried to configure linux 2.6.31.2 with make installing ncurses-devel, Development Tools
,gblic-devel using yum install ncurses-devel,yum groupinstall 'Development Tools',yum install gblic-devel

and I did followings:


[root@localhost linux-2.6.31.12]# make menuconfig
Makefile:302: warning: overriding recipe for target `/media/test'
Makefile:104: warning: ignoring old recipe for target `/media/test'
Makefile:303: /media/test: No such file or directory
Makefile:303: test/linux-2.6.31.12/scripts/Kbuild.include: No such file or directory
Makefile:444: /media/test: No such file or directory
Makefile:444: test/linux-2.6.31.12/arch/x86/Makefile: No such file or directory
make: *** No rule to make target `test/linux-2.6.31.12/arch/x86/Makefile'. Stop.
[root@localhost linux-2.6.31.12]#

Please do reply this.
I am new to kernel configuration.
Thanks

evo2 12-23-2013 09:45 PM

Hi,

you seem to be missing some package, I'm not sure which. So, again, please tell us what version of Fedora you are using. The output of the following command should provide this:
Code:

lsb_release --all
Also if possible let us know what instructions you are following or steps you are taking to compile this kernel. Include a link to the instructions if possible or detail exactly what you did. Eg how did you download the kernel source etc.

Finally, it may help to tell us about the bigger picture. Ie what problem are you trying to solve by compiling this kernel. There may be a simpler/better solution.

Evo2.


All times are GMT -5. The time now is 04:51 PM.