LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 10-26-2003, 11:49 PM   #1
krackerroot
Member
 
Registered: Sep 2003
Location: Shreveport Louisiana
Distribution: Slackware 9.0
Posts: 67

Rep: Reputation: 15
Kernel compiling errors


I used the "Kernel compiling for newbies" thread to do my first kernel compile and upon me using the make install command, it came up w/ these errors..
make[2]: Leaving directory `/home/ashness/usr/src/linux-2.4.22/arch/i386/boot/compressed'
objcopy -O binary -R .note -R .comment -S compressed/bvmlinux compressed/bvmlinux.out
tools/build -b bbootsect bsetup compressed/bvmlinux.out CURRENT > bzImage
Root device is (3, 5)
Boot sector 512 bytes.
Setup is 4770 bytes.
System is 1198 kB
warning: kernel is too big for standalone boot from floppy
sh -x ./install.sh 2.4.22 bzImage /home/ashness/usr/src/linux-2.4.22/System.map ""
+ '[' -x /home/ashness/bin/installkernel ']'
+ '[' -x /sbin/installkernel ']'
+ '[' -f /vmlinuz ']'
+ '[' -f /System.map ']'
+ cat bzImage
./install.sh: line 37: /vmlinuz: Permission denied
+ cp /home/ashness/usr/src/linux-2.4.22/System.map /System.map
cp: cannot create regular file `/System.map': Permission denied
+ '[' -x /sbin/lilo ']'
+ /sbin/lilo
/etc/lilo.conf: Permission denied
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/ashness/usr/src/linux-2.4.22/arch/i386/boot'
make: *** [install] Error 2



Also upon me using the make modules, it comes up w/ these errors..
gcc -D__KERNEL__ -I/home/ashness/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i486 -DMODULE -nostdinc -iwithprefix include -DKBUILD_BASENAME=bttv_driver -c -o bttv-driver.o bttv-driver.c
bttv-driver.c: In function `make_clip_tab':
bttv-driver.c:1151: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [bttv-driver.o] Error 1
make[3]: Leaving directory `/home/ashness/usr/src/linux-2.4.22/drivers/media/video'
make[2]: *** [_modsubdir_video] Error 2
make[2]: Leaving directory `/home/ashness/usr/src/linux-2.4.22/drivers/media'
make[1]: *** [_modsubdir_media] Error 2
make[1]: Leaving directory `/home/ashness/usr/src/linux-2.4.22/drivers'
make: *** [_mod_drivers] Error 2

Is there ways of fixing this or does it matter..? Any help is appreciated,

Ash
 
Old 10-27-2003, 12:15 AM   #2
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Try compiling your kernel as root.
 
Old 10-27-2003, 12:28 AM   #3
krackerroot
Member
 
Registered: Sep 2003
Location: Shreveport Louisiana
Distribution: Slackware 9.0
Posts: 67

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Azmeen
Try compiling your kernel as root.
How do I make it to where I boot from lilo instead of a boot disk?

Ash
 
Old 10-27-2003, 12:53 AM   #4
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Quote:
Originally posted by krackerroot
How do I make it to where I boot from lilo instead of a boot disk?

Ash
I mean, compile your kernel as root, the user, not boot.

Basically it's the same as what you've done... but before you actually do anything, just type su and enter the root password.

I assume you know that root is the super-user/admin in a Linux system, right?
 
Old 10-27-2003, 01:33 AM   #5
krackerroot
Member
 
Registered: Sep 2003
Location: Shreveport Louisiana
Distribution: Slackware 9.0
Posts: 67

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Azmeen
I mean, compile your kernel as root, the user, not boot.

Basically it's the same as what you've done... but before you actually do anything, just type su and enter the root password.

I assume you know that root is the super-user/admin in a Linux system, right?
Yes I realize.. I was asking a different question though.. could you help me with that?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Errors Compiling the 2.6.12.4 kernel zeroslack Linux - General 2 08-10-2005 10:02 AM
Errors when compiling kernel bornhj Slackware 18 04-14-2005 01:50 AM
Errors Compiling 2.6.10 Kernel! Please Help! Jonescity Slackware 12 02-26-2005 07:01 PM
Errors compiling kernel linuxgamer09483 Linux - Software 9 02-16-2004 10:58 AM
Errors Compiling Kernel naesyllek Linux - General 2 07-26-2003 08:06 PM


All times are GMT -5. The time now is 02:06 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration