Find the answer to your Linux question:
Results 1 to 5 of 5
I did an apt-get on kernel-image-2.6.3-1-686 and set up LILO, but when I reboot, all I got was a blank screen after the LILO screen. I then rebooted under the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2004
    Posts
    2

    Problems with kernel 2.6.3 (Debian)


    I did an apt-get on kernel-image-2.6.3-1-686 and set up LILO, but when I reboot, all I got was a blank screen after the LILO screen. I then rebooted under the older version (2.4.21) and then installed 2.4.25 with the same method as for 2.6.3 and everything worked. I just found that odd.

    So I decided to try to do my first kernel compilation. Downloaded the source for 2.6.3 (from debian) and all the requisite stuff. But when I did a 'make menuconfig' I got errors. I have no problem sticking with 2.4.25, but I would like to try the new kernel. I feel like I should at least do bug-testing to be involved with the community and upgraded my system to debian unstable.

    ##############################
    Errors from compilation:
    HOSTCC scripts/lxdialog/checklist.o
    In file included from scripts/lxdialog/checklist.c:24:
    scripts/lxdialog/dialog.h:29:20: curses.h: No such file or directory
    In file included from scripts/lxdialog/checklist.c:24:
    scripts/lxdialog/dialog.h:127: error: parse error before "use_colors"
    scripts/lxdialog/dialog.h:127: warning: type defaults to `int' in declaration of `use_colors'
    scripts/lxdialog/dialog.h:127: warning: data definition has no type or storage class
    scripts/lxdialog/dialog.h:128: error: parse error before "use_shadow"
    scripts/lxdialog/dialog.h:128: warning: type defaults to `int' in declaration of `use_shadow'
    scripts/lxdialog/dialog.h:128: warning: data definition has no type or storage class
    scripts/lxdialog/dialog.h:130: error: parse error before "attributes"
    scripts/lxdialog/dialog.h:130: warning: type defaults to `int' in declaration of `attributes'
    scripts/lxdialog/dialog.h:130: warning: data definition has no type or storage class
    scripts/lxdialog/dialog.h:143: error: parse error before '*' token
    scripts/lxdialog/dialog.h:143: warning: function declaration isn't a prototype
    scripts/lxdialog/dialog.h:146: error: parse error before '*' token
    scripts/lxdialog/dialog.h:146: warning: function declaration isn't a prototype
    scripts/lxdialog/dialog.h:147: error: parse error before '*' token
    scripts/lxdialog/dialog.h:147: warning: function declaration isn't a prototype
    scripts/lxdialog/dialog.h:148: error: parse error before '*' token
    scripts/lxdialog/dialog.h:149: warning: function declaration isn't a prototype
    scripts/lxdialog/dialog.h:150: error: parse error before '*' token
    scripts/lxdialog/dialog.h:150: warning: function declaration isn't a prototype
    scripts/lxdialog/checklist.c:32: error: parse error before '*' token
    scripts/lxdialog/checklist.c:34: warning: function declaration isn't a prototype
    scripts/lxdialog/checklist.c: In function `print_item':
    scripts/lxdialog/checklist.c:38: warning: implicit declaration of function `wattrset'
    scripts/lxdialog/checklist.c:38: error: `win' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:38: error: (Each undeclared identifier is reported only once
    scripts/lxdialog/checklist.c:38: error: for each function it appears in.)
    scripts/lxdialog/checklist.c:39: warning: implicit declaration of function `wmove'
    scripts/lxdialog/checklist.c:39: error: `choice' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:41: warning: implicit declaration of function `waddch'
    scripts/lxdialog/checklist.c:44: error: `selected' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:46: warning: implicit declaration of function `wprintw'
    scripts/lxdialog/checklist.c:46: error: `status' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:51: warning: implicit declaration of function `mvwaddch'
    scripts/lxdialog/checklist.c:51: error: `item' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:53: warning: implicit declaration of function `waddstr'
    scripts/lxdialog/checklist.c:56: warning: implicit declaration of function `wrefresh'
    scripts/lxdialog/checklist.c: At top level:
    scripts/lxdialog/checklist.c:64: error: parse error before '*' token
    scripts/lxdialog/checklist.c:66: warning: function declaration isn't a prototype
    scripts/lxdialog/checklist.c: In function `print_arrows':
    scripts/lxdialog/checklist.c:67: error: `win' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:67: error: `y' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:67: error: `x' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:69: error: `scroll' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:82: error: `height' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:85: error: `item_no' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:85: error: `choice' undeclared (first use in this function)
    scripts/lxdialog/checklist.c: At top level:
    scripts/lxdialog/checklist.c:103: error: parse error before '*' token
    scripts/lxdialog/checklist.c:104: warning: function declaration isn't a prototype
    scripts/lxdialog/checklist.c: In function `print_buttons':
    scripts/lxdialog/checklist.c:105: error: `width' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:106: error: `height' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:108: error: `dialog' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:108: error: `selected' undeclared (first use in this function)
    scripts/lxdialog/checklist.c: In function `dialog_checklist':
    scripts/lxdialog/checklist.c:126: error: `WINDOW' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:126: error: `dialog' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:126: error: `list' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:126: warning: left-hand operand of comma expression has no effect
    scripts/lxdialog/checklist.c:132: warning: implicit declaration of function `endwin'
    scripts/lxdialog/checklist.c:133: warning: implicit declaration of function `fprintf'
    scripts/lxdialog/checklist.c:133: error: `stderr' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:150: error: `COLS' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:151: error: `LINES' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:153: error: `stdscr' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:155: warning: implicit declaration of function `newwin'
    scripts/lxdialog/checklist.c:156: warning: implicit declaration of function `keypad'
    scripts/lxdialog/checklist.c:156: error: `TRUE' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:189: warning: implicit declaration of function `subwin'
    scripts/lxdialog/checklist.c:221: warning: implicit declaration of function `wnoutrefresh'
    scripts/lxdialog/checklist.c:223: warning: implicit declaration of function `doupdate'
    scripts/lxdialog/checklist.c:226: warning: implicit declaration of function `wgetch'
    scripts/lxdialog/checklist.c:233: error: `KEY_UP' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:233: error: `KEY_DOWN' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:243: error: `FALSE' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:244: warning: implicit declaration of function `scrollok'
    scripts/lxdialog/checklist.c:245: warning: implicit declaration of function `wscrl'
    scripts/lxdialog/checklist.c:272: error: called object is not a function
    scripts/lxdialog/checklist.c:308: warning: implicit declaration of function `delwin'
    scripts/lxdialog/checklist.c:312: error: `KEY_LEFT' undeclared (first use in this function)
    scripts/lxdialog/checklist.c:313: error: `KEY_RIGHT' undeclared (first use in this function)
    scripts/lxdialog/checklist.c: At top level:
    scripts/lxdialog/dialog.h:130: warning: array `attributes' assumed to have one element
    make[2]: *** [scripts/lxdialog/checklist.o] Error 1
    make[1]: *** [menuconfig] Error 2
    make: *** [menuconfig] Error 2

    ##############################
    System info:
    Dell Inspiron 4150
    ATI mobility radeon 7500
    1.7 GHz
    512 MB
    30 GB
    Base system from Morphix KDE HD install

  2. #2
    Just Joined!
    Join Date
    Mar 2004
    Posts
    2

    one problem solved

    well, the reason the kernel wasn't booting was because I had "vga=791" in the lilo.conf and didn't consider that being the problem. I tried "vga=normal" yesterday and that didn't work So leaving the line out did the trick. Well, at least I can use the new kernel now but it's working too fast or it changed my settings because my mouse is zipping across the screen

    But I still can't compile. And I need that (I beilieve) to set up my wireless through NdisWrapper. Damn Broadcom and their lack of Linux support

  3. #3
    Just Joined!
    Join Date
    Mar 2004
    Posts
    1
    Try using 'make config' instead of 'make menuconfig'. It is pure line by line text mode, but at least you can get a kernel compiled.

    After you go through the config just run:

    make
    make modules_install

    make install

    Have fun!

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    config takes to long you need the ncurses lib's do use menuconfig so apt-get install ncurses-dev should work.

  6. #5
    Just Joined!
    Join Date
    Mar 2008
    Posts
    1
    Quote Originally Posted by Giro View Post
    config takes to long you need the ncurses lib's do use menuconfig so apt-get install ncurses-dev should work.


    Worked for me, thanks.

Posting Permissions

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