Find the answer to your Linux question:
Results 1 to 3 of 3
I am new to linux and to Ubuntu. For a University project i have to install a new kernel. Currently i am using Ubuntu and the kernel is '2.6.27-7-generic'. I ...
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    3

    Need help with make menuconfig

    I am new to linux and to Ubuntu. For a University project i have to install a new kernel. Currently i am using Ubuntu and the kernel is '2.6.27-7-generic'. I tried to upgrade the kernel into 'linux-2.6.4'. I downloaded the kernel from kernel.org and extracted it into /usr/src. But when i try to run the command 'make menuconfig' i get the following error. Can someone pls help me to sort this out. Thanks a lot.
    Code:
    root@hasantha-laptop:/usr/src/linux-2.6.4# make menuconfig
    make[1]: `scripts/fixdep' is up to date.
      HOSTCC  scripts/kconfig/mconf.o
    scripts/kconfig/mconf.c:91: error: static declaration of âcurrent_menuâ follows non-static declaration
    scripts/kconfig/lkc.h:63: error: previous declaration of âcurrent_menuâ was here
    scripts/kconfig/mconf.c: In function âexec_confâ:
    scripts/kconfig/mconf.c:225: warning: ignoring return value of âpipeâ, declared with attribute warn_unused_result
    scripts/kconfig/mconf.c: In function âshow_textboxâ:
    scripts/kconfig/mconf.c:553: warning: ignoring return value of âwriteâ, declared with attribute warn_unused_result
    make[1]: *** [scripts/kconfig/mconf.o] Error 1
    make: *** [menuconfig] Error 2

  2. #2
    Linux Newbie
    Join Date
    Feb 2009
    Location
    Third ring of Pergatory
    Posts
    199
    Quote Originally Posted by naleen View Post
    For a University project i have to install a new kernel.
    Normally, you have to commit some type of major felony to receive a sentence like that
    Can someone pls help me to sort this out. Thanks a lot.
    Try to 'make xconfig' or 'gconfig' if your using gnome.

  3. #3
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    Did you install build essential?
    Code:
    sudo apt-get install build-essential
    Check also for ncurses development...
    Code:
    sudo apt-get install ncurses-dev
    Linux Mint + IceWM Registered:#371367 New Members: click here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...