TweakTown

   
  Home
Shopping   
              Audio Reviews Casing & Cooling Reviews CPU & Chipset Reviews Digital Lounge Guides Memory Reviews Mobile Reviews Motherboard Reviews Networking Reviews Software Reviews Storage Reviews Visual Reviews




Old 01-30-2004, 12:06 PM   #1 (permalink)
Member
 
Join Date: Jun 2003
Posts: 135
Default

ok, i followed this to the T http://www.poulpetersen.dk/linux/ukkl2214.htm

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
mjmnam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-30-2004, 12:58 PM   #2 (permalink)
Senior Member
 
Join Date: Feb 2003
Posts: 346
Default

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:
theyneverknew is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-30-2004, 01:43 PM   #3 (permalink)
Member
 
Join Date: Jun 2003
Posts: 135
Default

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
mjmnam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-31-2004, 02:43 AM   #4 (permalink)
Senior Member
 
Join Date: Feb 2003
Posts: 346
Default

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:
theyneverknew is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-31-2004, 03:05 AM   #5 (permalink)
Member
 
Join Date: Jun 2003
Posts: 135
Default

yea, i opted to do 'make oldconfig'

and went through that, then built the modules. but when i got to 'make modules_install' it wouldn't do it 0_o
__________________
rig changes too much
dual boot: WinXP SP1, Mandrake 9.2
mjmnam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-31-2004, 05:16 AM   #6 (permalink)
Senior Member
 
Join Date: Feb 2003
Posts: 346
Default

hmm the only problem i can see with doing make modules_install is not being root while your doing it?
theyneverknew is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-31-2004, 05:49 AM   #7 (permalink)
SPENT, time to move on
 
Join Date: Dec 2002
Posts: 4,246
Default

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!
minibubba is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-04-2004, 07:42 PM   #8 (permalink)
Moderator
 
Join Date: Nov 2001
Location: Brisvegas
Posts: 832
Send a message via ICQ to Bern
Default

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.
__________________
p-two.net
Bern is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-05-2004, 01:30 AM   #9 (permalink)
Member
 
Join Date: Jun 2003
Posts: 135
Default

i think i'm just too new to linux to be compiling my own kernel yet. i'll give it another go once i've had more experience.
__________________
rig changes too much
dual boot: WinXP SP1, Mandrake 9.2
mjmnam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-06-2004, 10:49 AM   #10 (permalink)
Junior Member
 
Join Date: Jul 2003
Posts: 1
Default

For building the 2.6 kernel

Take and read the following:

http://www.linux.org.uk/~davej/docs/...loween-2.6.txt

You need to get the module-init-tools.

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.
__________________
Debian user
ghostwalker is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +8. The time now is 05:27 PM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0