it may be old but i assume all the same things apply.
but when i get to the 'make menuconfig' in the /usr/src/linux-2.6.0 directory i get a HUGE list of warnings and errors.
what gives? i previously installed my nvidia nforce and display drivers and did the mandrake updates. anything i'm doing wrong? sorry, i just got linux a few days ago and can't troubleshoot for myself yet.
edit: running dual boot WinXP SP1 and Mandrake 9.2
__________________
rig changes too much
dual boot: WinXP SP1, Mandrake 9.2
first off you need a new install guide many things have changed since the 2.2 series kernels were released :o Second what are the errors/warnings shown? Also try doing this as root if you aren't already, permissions problems can cause compile errors :cheers:
the error and warning list is probably as long as my arm....
this was tried as root from console within the GUI as well as outside the GUI in console.
here's the output when i type the 'make menuconfig' command.
[will@x1-6-00-26-54-0e-d5-ee linux-2.6.0]$ make menuconfig
make[1]: `scripts/fixdep' is up to date.
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: syntax 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: syntax 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: syntax 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: syntax error before '*' token
scripts/lxdialog/dialog.h:143: warning: function declaration isn't a prototype
scripts/lxdialog/dialog.h:146: error: syntax error before '*' token
scripts/lxdialog/dialog.h:146: warning: function declaration isn't a prototype
scripts/lxdialog/dialog.h:147: error: syntax error before '*' token
scripts/lxdialog/dialog.h:147: warning: function declaration isn't a prototype
scripts/lxdialog/dialog.h:148: error: syntax error before '*' token
scripts/lxdialog/dialog.h:149: warning: function declaration isn't a prototype
scripts/lxdialog/dialog.h:150: error: syntax error before '*' token
scripts/lxdialog/dialog.h:150: warning: function declaration isn't a prototype
scripts/lxdialog/checklist.c:32: error: syntax error before '*' token
scripts/lxdialog/checklist.c:34: warning: function declaration isn't a prototypescripts/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: syntax error before '*' token
scripts/lxdialog/checklist.c:66: warning: function declaration isn't a prototypescripts/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: syntax 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:148: error: `COLS' undeclared (first use in this function)
scripts/lxdialog/checklist.c:149: error: `LINES' undeclared (first use in this function)
scripts/lxdialog/checklist.c:151: error: `stdscr' undeclared (first use in this function)
scripts/lxdialog/checklist.c:153: warning: implicit declaration of function `newwin'
scripts/lxdialog/checklist.c:154: warning: implicit declaration of function `keypad'
scripts/lxdialog/checklist.c:154: error: `TRUE' undeclared (first use in this function)
scripts/lxdialog/checklist.c:187: warning: implicit declaration of function `subwin'
scripts/lxdialog/checklist.c:219: warning: implicit declaration of function `wnoutrefresh'
scripts/lxdialog/checklist.c:221: warning: implicit declaration of function `doupdate'
scripts/lxdialog/checklist.c:224: warning: implicit declaration of function `wgetch'
scripts/lxdialog/checklist.c:231: error: `KEY_UP' undeclared (first use in this function)
scripts/lxdialog/checklist.c:231: error: `KEY_DOWN' undeclared (first use in this function)
scripts/lxdialog/checklist.c:241: error: `FALSE' undeclared (first use in this function)
scripts/lxdialog/checklist.c:242: warning: implicit declaration of function `scrollok'
scripts/lxdialog/checklist.c:243: warning: implicit declaration of function `wscrl'
scripts/lxdialog/checklist.c:270: error: called object is not a function
scripts/lxdialog/checklist.c:305: warning: implicit declaration of function `delwin'
scripts/lxdialog/checklist.c:309: error: `KEY_LEFT' undeclared (first use in this function)
scripts/lxdialog/checklist.c:310: 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
cc1: Permission denied: opening dependency file scripts/lxdialog/.checklist.o.d
make[2]: *** [scripts/lxdialog/checklist.o] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [menuconfig] Error 2
i'm guessing from the length and various other things that pretty much everything goes wrong when i make an attempt to configure the new kernel
__________________
rig changes too much
dual boot: WinXP SP1, Mandrake 9.2
hmm, based on the fact that most of the errors are something being undeclared I suspect that there is an include file that is not being properly included. :confused: As a possible workaround I would suggest trying "make xconfig" instead of menuconfig, that may work :cheers:
are you going this from the gui? If so, I can't imagine that is a good thing. Try it from root and only from the cli, and no I don't mean a terminal window.
__________________
I've gone too far and need to move on!
You may have a corrupt source, from a bad or interrupted download?
Anywhoo, kernel-2.6.2 is out now and it contains much bugfixing - all guneapenguins bashing away at 2.6 are encouraged to install the latest version and see if they can break it.
cp linux-2.6.2.tar.gz /usr/src
tar jfx linux-2.6.2.tar.gz
ln -sf linux-2.6.2 linux
cd linux
Use lspci -v to help select your hardware. This will be helpful for configuring the 2.6 kernel.
make mrproper
make menuconfig
make
make modules_install
make install
Then modify you lilo.conf or grub.txt
make install installs vmlinuz into the boot directory along with System.map
It creates a symbolic link to you old vmlinuz -> vmlinuz.old and System.old
All you need to do is add entry for the old vmlinuz. I use lilo.conf
This is mine....
image=/boot/vmlinuz
label=Linux2.6
read-only
** This would be you redhat config. **
image=/boot/vmlinuz.old
vga=791
append="hdc=scsi hdd=scsi apm=power-off nomce"
label=Linux2.4
read-only
If you are using lilo, issue lilo -v or modify you menu.lst for grub.
Hope this helps. The more people use 2.6 the better.