View previous topic :: View next topic |
Author |
Message |
spawnferkel n00b
Joined: 28 Jul 2004 Posts: 69 Location: Osnabrooklyn
|
Posted: Wed Jul 28, 2004 1:02 pm Post subject: I can't compile a kernel - please help me |
|
|
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 |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Wed Jul 28, 2004 1:27 pm Post subject: |
|
|
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 |
|
|
spawnferkel n00b
Joined: 28 Jul 2004 Posts: 69 Location: Osnabrooklyn
|
Posted: Wed Jul 28, 2004 2:10 pm Post subject: the problem is |
|
|
That I must typewrite the errors from the display
How can I get a ssh account on my gentoo-maschine. |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Wed Jul 28, 2004 2:26 pm Post subject: |
|
|
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 |
|
|
spawnferkel n00b
Joined: 28 Jul 2004 Posts: 69 Location: Osnabrooklyn
|
Posted: Wed Jul 28, 2004 2:44 pm Post subject: grr |
|
|
ohhh i'm going crazy:
/sbin/rc-update: /etc/init.d/sshd not found; aborting
grrrrrr....... |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Wed Jul 28, 2004 2:54 pm Post subject: |
|
|
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 |
|
|
dfbreyes n00b
Joined: 10 Jun 2004 Posts: 10 Location: Philippines
|
Posted: Thu Jul 29, 2004 2:06 pm Post subject: |
|
|
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 |
|
|
|