Author Topic: make menuconfig wont work?  (Read 3084 times)

Offline newbi462

  • Hero Member
  • *****
  • Posts: 629
make menuconfig wont work?
« on: August 24, 2009, 07:57:34 PM »
I am trying to start the proses of getting to know linux better and begin to build a custom distro..

I have downloaded the latest kernel and trying to follow the tutorials on how to compile a kernel?


but when I use the "make menuconfig" in terminal I get goop...


[pclinos@localhost linux-2.6.30.5]$ make menuconfig
Makefile:312: warning: overriding commands for target `/home/pclinos/Desktop/Linux'
Makefile:112: warning: ignoring old commands for target `/home/pclinos/Desktop/Linux'
Makefile:313: /home/pclinos/Desktop/Linux: No such file or directory
Makefile:313: source/linux-2.6.30.5/linux-2.6.30.5/scripts/Kbuild.include: No such file or directory
Makefile:452: /home/pclinos/Desktop/Linux: No such file or directory
Makefile:452: source/linux-2.6.30.5/linux-2.6.30.5/arch/x86/Makefile: No such file or directory
make: *** No rule to make target `source/linux-2.6.30.5/linux-2.6.30.5/arch/x86/Makefile'.  Stop.
[pclinos@localhost linux-2.6.30.5]$

does any one know how I fix this error?


.......

to all here I am sure I sound like a broken record at this point...

but I don't think wanting to know how to compile and build a Linux OS from the ground up is a bad thing to want to learn how to do.

and all the instructions to do so say to do one of the following as part of the pre config steps:

 - Alternate configuration commands are:
   "make config"      Plain text interface.
   "make menuconfig"  Text based color menus, radiolists & dialogs.
   "make xconfig"     X windows (Qt) based configuration tool.
   "make gconfig"     X windows (Gtk) based configuration tool.
   "make oldconfig"   Default all questions based on the contents of
            your existing ./.config file and asking about
            new config symbols.
   "make silentoldconfig"
            Like above, but avoids cluttering the screen
            with questions already answered.
   "make defconfig"   Create a ./.config file by using the default
            symbol values from arch/$ARCH/defconfig.
   "make allyesconfig"
            Create a ./.config file by setting symbol
            values to 'y' as much as possible.
   "make allmodconfig"
            Create a ./.config file by setting symbol
            values to 'm' as much as possible.
   "make allnoconfig" Create a ./.config file by setting symbol
            values to 'n' as much as possible.
   "make randconfig"  Create a ./.config file by setting symbol
            values to random values.

however nun of them work when I try them so something is wrong here? and if I cant config so I can compile the kernel I can even get started?

Please correct me if I am wrong but I don't think searching for another tutorial is going to change the commands I am supposed to use to do this step....

.......

I really hope some has an idea why nun of these commands are working when I try and do this in PCLinux




« Last Edit: August 24, 2009, 08:31:45 PM by newbi462 »

Offline newbi462

  • Hero Member
  • *****
  • Posts: 629
Re: make menuconfig wont work?
« Reply #1 on: October 11, 2009, 07:20:38 PM »
tryed to run menuconfig on the /usr/src/linux dir but it still dose not work but at least gerated some error(s)

any one have any ideas?

HOSTCC  scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:157,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i586-manbo-linux-gnu/4.4.1/include/limits.h:122,
                 from /usr/lib/gcc/i586-manbo-linux-gnu/4.4.1/include/syslimits.h:7,
                 from /usr/lib/gcc/i586-manbo-linux-gnu/4.4.1/include/limits.h:11,
                 from scripts/basic/fixdep.c:115:
/usr/include/bits/local_lim.h:39:26: error: linux/limits.h: No such file or directory
In file included from /usr/include/sys/socket.h:40,
                 from /usr/include/netinet/in.h:25,
                 from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:117:
/usr/include/bits/socket.h:366:24: error: asm/socket.h: No such file or directory
scripts/basic/fixdep.c: In function ‘use_config’:
scripts/basic/fixdep.c:206: error: ‘PATH_MAX’ undeclared (first use in this function)
scripts/basic/fixdep.c:206: error: (Each undeclared identifier is reported only once
scripts/basic/fixdep.c:206: error: for each function it appears in.)
scripts/basic/fixdep.c:206: warning: unused variable ‘s’
scripts/basic/fixdep.c: In function ‘parse_dep_file’:
scripts/basic/fixdep.c:306: error: ‘PATH_MAX’ undeclared (first use in this function)
scripts/basic/fixdep.c:306: warning: unused variable ‘s’
scripts/basic/fixdep.c: In function ‘traps’:
scripts/basic/fixdep.c:377: warning: dereferencing type-punned pointer will break strict-aliasing rules
scripts/basic/fixdep.c:379: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2


Duke

  • Guest
Re: make menuconfig wont work?
« Reply #2 on: October 22, 2009, 11:09:56 PM »
Do you have   glibc-headers-devel  installed from synaptic?  Then try again.
« Last Edit: October 22, 2009, 11:14:20 PM by Duke »