473,408 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

make oldconfig.

77
This command is not working as am trying to install kernel-2.6.30
Expand|Select|Wrap|Line Numbers
  1. make oldconfig
  2. make: *** No rule to make target `oldconfig'.  Stop.
  3.  
i even tried
Expand|Select|Wrap|Line Numbers
  1. make -f oldconfig
  2. make: oldconfig: No such file or directory
where am i going wrong?
Feb 11 '10 #1
14 13992
gits
5,390 Expert Mod 4TB
which distro do you use?
Feb 15 '10 #2
Time
77
The linux distro used by me is:
2.6.28-18 generic
Feb 15 '10 #3
gits
5,390 Expert Mod 4TB
that's more likely the kernel version ... i mean: ubuntu or suse or what linux-distribution?
Feb 15 '10 #4
Time
77
Sorry for the earlier reply
it's ubuntu.
Feb 15 '10 #5
gits
5,390 Expert Mod 4TB
have a look here and/or here and see if that helps ...

kind regards
Feb 15 '10 #6
Time
77
Checked both the links and tried commands like
sudo apt-get install module-assistant
sudo m-a prepare
chmod -x foldername
but still getting the error as:
make: *** No rule to make target `oldconfig'. Stop.
after running;
make oldconfig.
Feb 15 '10 #7
gits
5,390 Expert Mod 4TB
from where do you run it? should be something like:

/usr/src/linux-headers-2.6.28-18-generic

?
Feb 15 '10 #8
Time
77
am doing it in /usr/src/linux
i suppose that now make oldconfig is working, as am getting this after running
make oldconfig:

sudo make oldconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:104: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:306: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -o arch/x86/Kconfig
#
# configuration written to .config
#
But make command is not working; i tried it using /linux-headers-2.6.28-18-generic also; as suggested by you.
But in both the cases am getting the same error as:
scripts/kconfig/conf -s arch/x86/Kconfig
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
make[1]: *** No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'. Stop.
make: *** [prepare0] Error 2
because of this error make install is also not working.
sh /usr/src/linux-headers-2.6.28-18-generic/arch/x86/boot/install.sh 2.6.28.10 arch/x86/boot/bzImage System.map "/boot"

*** Missing file: arch/x86/boot/bzImage
*** You need to run "make" before "make install".

make[1]: *** [install] Error 1
make: *** [install] Error 2
Feb 15 '10 #9
gits
5,390 Expert Mod 4TB
could this be of help?
Feb 16 '10 #10
Time
77
still getting this message after make command:

sh /usr/src/linux-headers-2.6.28-18-generic/arch/x86/boot/install.sh 2.6.28.10 arch/x86/boot/bzImage System.map "/boot"

*** Missing file: arch/x86/boot/bzImage
*** You need to run "make" before "make install".

make[1]: *** [install] Error 1
make: *** [install] Error 2
Feb 19 '10 #11
gits
5,390 Expert Mod 4TB
have you read the entire thread that is linked in the previous post and ensured all hints there? ... installed all linux-source files and extracted them? created a symlink to the sources, and tried as sudo -s?

kind regards
Feb 19 '10 #12
Time
77
Thanks a lot.
Am finally done with it.
Feb 23 '10 #13
gits
5,390 Expert Mod 4TB
glad to hear that :) ... would you mind to post a short hint about the solution that did help you? so that users with a similar problem might get a hint how it was solved ...

kind regards
Feb 23 '10 #14
Time
77
Yeah i was about to write it down in earlier post itself..but thought of avoiding it. The reason is; i was being really very silly,. actually i was writting the make command in my earlier version of linux ...and of course i should have written it in the latest version, the one which am installing.
I know this is way too ridiculous and i wasted lot of time and energy of many ppl coz of this stupid thing.
I really apologize for that.
Feb 23 '10 #15

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Robert Blaha | last post by:
Hi, I'm runnig Linux/Mandrake9.0-Dolphin and try to update Apache 2.0.46 and PHP 4.3.2. Apache is OK bu with PHP I've problem. I unpacked distribution, run ../configure > configure.vysl, make...
0
by: pptran | last post by:
Hi, I am pretty new to building and installing Perl. Can someone help explain the severity of the following Perl 5.8.4 build error message? ==================================================...
2
by: Glenn | last post by:
Hi, I'm using cygwin and am trying to install DBI-mSQL and am getting errors on make .. any idea how to fix this (TIA): cpan> install DBD::mSQL Running install for module DBD::mSQL Running...
9
by: Joel Rodrigues | last post by:
Hi, I get the following error when I run make on Mac OS X v 10.1.5 Any ideas ? ---------------------------------------------------------- ar: illegal option -- s usage: ar -d archive file ......
8
by: Seeker | last post by:
Hello, In using Solaris Pro Compiler to compile Pro*C code. I am getting this error: make: Fatal error in reader: parser_proc_online.mk, line 26: Badly formed macro assignment Based on other...
28
by: Steven Bethard | last post by:
Ok, I finally have a PEP number. Here's the most updated version of the "make" statement PEP. I'll be posting it shortly to python-dev. Thanks again for the previous discussion and suggestions!...
7
by: Steven Bethard | last post by:
I've updated PEP 359 with a bunch of the recent suggestions. The patch is available at: http://bugs.python.org/1472459 and I've pasted the full text below. I've tried to be more explicit about...
10
by: Johs | last post by:
I have a source file called project.c. In the same folder I have a Makefile containing: CC=gcc CFLAGS=-g project: project.c $(CC) $(CFLAGS) project.c -o project
4
by: jalqadir | last post by:
Now that I am trying to install Debian from a CD, I found that the network card was not supported, I read that some dude had found a driver for the NIC in a MSI-M662 laptot, I myself don't know...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.