Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I can't compile a kernel - please help me
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
spawnferkel
n00b
n00b


Joined: 28 Jul 2004
Posts: 69
Location: Osnabrooklyn

PostPosted: Wed Jul 28, 2004 1:02 pm    Post subject: I can't compile a kernel - please help me Reply with quote

Hi,
at this time I try to install gentoo but I'am very hopeless. I have straith abide by the installation guidelines. Now I'm at a point where I must compile my kernel. I decided to use the gs-sources because I want to use this computer as an server with PHP, Mysql, Samba and so on.

I tryed it with genkernel, but it shows me the following errors.
error: mempool_free_stab undeclared
error: each undeclared identifier is reporting only once

make[3] *** ERROR 1
make[2] *** ERROR 2
make[1] *** ERROR 2

...and...

Failed to compile the "bzImage" target...

I have used the minimal2004.2 Live CD for x86 and an Pentium 3 450MHZ

-------------------------------------------------------------------------------------

Then I have tried to compile the kernel without genkernel
and then it shows me the following errors:

make[2] usr/src/linux_2.4.25_pre7-g55-rg/drivers
make[1]: *** [_subdir_md] Error2
make[1]: usr/src/linux_2.4.25_pre7-g55-rg/drivers/md
make: *** [_dir_drivers] Error2


I hope that someone can help me.
Please don't laughing about my english, I'm from german and english is not my best talent.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Wed Jul 28, 2004 1:27 pm    Post subject: Reply with quote

You need to post a little more than the last 4 lines of the output - these only show that execution was stopped because of errors, which is not very informative ;-)
The actual errors are several lines above that point - possibly as much as 20-30 lines.
So please post the last entire screen (or 2) of output from make and we'll see.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
spawnferkel
n00b
n00b


Joined: 28 Jul 2004
Posts: 69
Location: Osnabrooklyn

PostPosted: Wed Jul 28, 2004 2:10 pm    Post subject: the problem is Reply with quote

That I must typewrite the errors from the display


How can I get a ssh account on my gentoo-maschine.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Wed Jul 28, 2004 2:26 pm    Post subject: Reply with quote

At any point in the install after the chroot, type the following:
Code:
rc-update add sshd default
/etc/init.d/sshd start

This will start ssh at every reboot, and right now, as well.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
spawnferkel
n00b
n00b


Joined: 28 Jul 2004
Posts: 69
Location: Osnabrooklyn

PostPosted: Wed Jul 28, 2004 2:44 pm    Post subject: grr Reply with quote

ohhh i'm going crazy:

/sbin/rc-update: /etc/init.d/sshd not found; aborting




grrrrrr.......
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Wed Jul 28, 2004 2:54 pm    Post subject: Reply with quote

Hmm okidoki, may be my fault...

If you're prepared to take a few extra steps:

- exit the chroot
- run /etc/init.d/sshd start
- connect to the box from another PC
- now you can enter the chroot again and continue installing
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
dfbreyes
n00b
n00b


Joined: 10 Jun 2004
Posts: 10
Location: Philippines

PostPosted: Thu Jul 29, 2004 2:06 pm    Post subject: Reply with quote

1) Firstly, it would be of great help to know what hardware you are using. Having the manual of your motherboard, video card, and network card would really help.
If you use Athlon processor, choose Athlon CPU support....

2) Secondly, decide whether to build monolithic kernel, or modular kernel

(if you choose monolithic kernel, when choosing the features, DONT include any 'M' <M>. Just choose <*> or build the feature into the kernel that you will boot.)


3) Kernel Building

#make menuconfig
#make dep
#make bzImage
/*******if monolithic kernel chosen, no need to build modules***********/

#make modules
#make modules_install
#cp arch/i386/boot/bzImage /boot/linux-2.4.25-gentoo-r1
#cp System.map /boot/System.map-linux-2.4.25-gentoo-r1
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum