LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-21-2003, 09:25 PM   #1
lt1derful
Member
 
Registered: Jul 2003
Distribution: Slackware 9.1; Gentoo
Posts: 68

Rep: Reputation: 15
Why can I not compile a kernel!?


Trust me...I've read all the crap out there. I've read the one at the top of these forums and I've read this one:
http://www.madpenguin.org/article.php?sid=306

I've followed the instructions to a "T"...and when I type: # make menuconfig I get a MILE of friggin' errors!!!! I'll listsome of the seemingly important parts, as it is LITERALLY about a mile long all together!

Quote:
make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/linux-2.4.21/scripts/lxdialog'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LOC="<curses.h>" -c -o checklist.o checklist.c
In file included from checklist.c:24:
dialog.h:22:23: sys/types.h: No such file or directory
dialog.h:23:19: fcntl.h: No such file or directory
dialog.h:24:20: unistd.h: No such file or directory
dialog.h:25:19: ctype.h: No such file or directory
dialog.h:26:20: stdlib.h: No such file or directory
dialog.h:27:20: string.h: No such file or directory
In file included from dialog.h:29,
from checklist.c:24:

#
#
#
# A whole load of "parse error before" junk and finally this:
#
#
#
#
checklist.c: In function `dialog_checklist':
checklist.c:131: warning: implicit declaration of function `malloc'
checklist.c:131: warning: assignment makes pointer from integer without a cast
checklist.c:133: warning: implicit declaration of function `fprintf'
checklist.c:135: warning: implicit declaration of function `exit'
checklist.c:140: warning: implicit declaration of function `strcasecmp'
checklist.c:151: warning: passing arg 1 of `draw_shadow' makes pointer from integer without a cast
checklist.c:153: warning: assignment makes pointer from integer without a cast
checklist.c:164: warning: implicit declaration of function `strlen'
checklist.c:166: warning: initialization makes pointer from integer without a cast
checklist.c:167: warning: implicit declaration of function `memcpy'
checklist.c:187: warning: assignment makes pointer from integer without a cast
checklist.c:227: warning: implicit declaration of function `toupper'
checklist.c:306: warning: implicit declaration of function `free'
checklist.c: At top level:
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/curses.h:198: warning: array `acs_map' assumed to have one element
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/curses.h:392: warning: array `ttytype' assumed to have one element
make[1]: *** [checklist.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.21/scripts/lxdialog'
make: *** [menuconfig] Error 2
This is getting aggrivating!! I'm trying to upgrade my outdated Slack kernel and I can't get ANYWHERE! I've read and followed HOw-tos and read on the forums...but it's all Greek to me if there's no trouble shooting; like look for this error and try this or this error means this, etc. It's like for everyone else...it just works! Why not me?!

HELP PLEASE!!
 
Old 07-21-2003, 09:35 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Got ncurses installed?

Code:
ls /var/log/packages/*curses*
Cheers,
Tink
 
Old 07-22-2003, 07:14 AM   #3
lt1derful
Member
 
Registered: Jul 2003
Distribution: Slackware 9.1; Gentoo
Posts: 68

Original Poster
Rep: Reputation: 15
Well, I don't have CRAP right now, lol. I followed those darn madpenguin instructions and now that I go back (on my darn Windows machine) and look them over; I deleted my WORKING kernel. I guess the assumption by their instructions is that the compile will always work...eh. Well...after 3 attempts of reinstalling Slackware...I get nothing but a black screen full of 99s and followed by Hit F1 to retry or F2 for setup.

What a pain!

I'm still confused as to why it won't install from scratch!! Everything was going so smooth and now I'm without Linux and I miss is SOOO bad!!

Damn Windows!
 
Old 07-22-2003, 05:39 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
The 9's come from Lilo ... presumably because it
can't find the kernel it originally installed...

If you put lilo back into the mbr during the re-install
it should be fine.

Cheers,
Tink
 
Old 07-23-2003, 03:29 PM   #5
lt1derful
Member
 
Registered: Jul 2003
Distribution: Slackware 9.1; Gentoo
Posts: 68

Original Poster
Rep: Reputation: 15
ALL RIGHT!!! Well, weird thing...anytime I tried to re-install and manually config Lilo; I'd get the 99s...but, I finally decided, hell, let's let it auto-config...it worked. Got brave and decided to manual config...it works! Strange...but nonetheless, I'm happy.

On top of that...I compiled my first kernel!!! MAN...I feel like a million bucks, lol.

Got my dropline reinstalled...now, just gotta grab and reinstall everything else...hopefully Mplayer will be happy this time around...
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 02:37 PM
I want to compile 2.6 kernel and keep everything from 2.4 intact (dual kernel system) sina_kish Linux - Software 7 02-02-2005 09:01 AM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 06:02 AM
can i compile just one kernel module whithout recompiling the whole kernel? edman007 Linux - Software 3 02-17-2004 03:05 PM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration