View previous topic :: View next topic |
Author |
Message |
smohamedfarouk n00b
Joined: 20 Sep 2004 Posts: 21 Location: Developer
|
Posted: Thu Mar 10, 2005 7:48 am Post subject: Installation fails- Please help |
|
|
Hello All
Unfortunately genkernel all or doing it using the manual configuration fails..............
Failed for Kernel 2.4
# make dep && make bzImage modules modules_install
Failed for For 2.6 kernel
# make && make modules_install
Really fed up think i cannot install gentoo , but te same machine had the last year version installed which i removed and tried to install the new one.
if I do genkernel for 2.6 version it came up with the bug and same for # make && make modules_install
if I do genkernel for 2.4 version it came up with the bug and same for # make dep && make bzImage modules modules_install.
when trrying to compile 2.4.26.gentoo-r9 bzImage
COMMAND: make -j2 CC =gcc LD=ld AS=as bzImage
dnsdomainname: Host Name look up failure
and gcc: internal errror: terminated prrogram cc1
make: *** [init /main.o] errrrorr 1
Gentoo linux genkernel: version 3.1.0a^[[0m
Failed to compile the bzImage Target |
|
Back to top |
|
|
TBerrang n00b
Joined: 07 Mar 2005 Posts: 45 Location: Germany
|
Posted: Thu Mar 10, 2005 8:51 am Post subject: |
|
|
a) Golden rule: never touch a running system! If you have gentoo allready running, there is no need to reinstall (like other distros) to get the "latest and greatest" version of things. Just get some Internet connection and "emerge --sync" / "emerge --update world" does the trick. Even if you did a "package"-install, you can have portage to download and install the latest packages for you...
b) I don't know what architecture you are using, but perhaps this could help:
* before you try again to compile something, do a "make clean" or "make mrpropper", just to be safe.
* take a look at your linux symlink (use: "ls -l /usr/src/linux") to make sure it point _really_ to the sources you want to get compiled.
* If you like to use genkernel, emerge your kernel and then the genkernel-script. If you have to configure your genkernel (p.e. add filesystem foo),
use "genkernel --menuconfig all" (as stated in the installation-guide, if I remember correctly).
* if this all fails, try to post as much of your gcc-output as you can here, with kernel-version and architecture. Perhaps add a short description,
_what_ you did _when_, this increases the chance that someone will be able to help you better. _________________ "They rule the world by telling lies,
dripping poison in your ear,
keeping up apparences, revelation is their fear."
-- Running Wild :: Masquerade |
|
Back to top |
|
|
smohamedfarouk n00b
Joined: 20 Sep 2004 Posts: 21 Location: Developer
|
Posted: Thu Mar 10, 2005 4:36 pm Post subject: Sorry |
|
|
before you try again to compile something, do a "make clean" or "make mrpropper", just to be safe.
1. Genkernel calls mrproper always first
2. Link for source is present correctly
3. tried genkernel --menuconfig all and after this it fails and that is the response i got from the genkernel logs
when trrying to compile 2.4.26.gentoo-r9 bzImage
COMMAND: make -j2 CC =gcc LD=ld AS=as bzImage
dnsdomainname: Host Name look up failure
and gcc: internal errror: terminated prrogram cc1
make: *** [init /main.o] errrrorr 1
Gentoo linux genkernel: version 3.1.0a^[[0m
Failed to compile the bzImage Target
I am working on x86 architecture using a 486 machine which has 4gb hard disk
using live CD i burnt and wihtout a network connection.
Please help what should i do next |
|
Back to top |
|
|
Nard` Apprentice
Joined: 23 Jan 2005 Posts: 250
|
Posted: Thu Mar 10, 2005 5:01 pm Post subject: |
|
|
Quote: | COMMAND: make -j2 CC =gcc LD=ld AS=as bzImage |
maybye just try make -j2 bzImage _________________ Programming is the process of putting bugs in.
Debugging is the process of attempting to take bugs out, doing an ugly hack, hitting your computer, then claiming insurance. |
|
Back to top |
|
|
TBerrang n00b
Joined: 07 Mar 2005 Posts: 45 Location: Germany
|
Posted: Thu Mar 10, 2005 6:07 pm Post subject: |
|
|
Yes, as Nard` says, and perhaps make sure your box has the right date / time (since this tends also to produce confusing errors).
I know this sounds silly some times, but I allready spend days on setting up a server, just to figure out I misspelled a config option. .
Quote: | dnsdomainname: Host Name look up failure |
This seems to be very suspicious to me (on a box without network and universal live-cd... confusing)... anyone an idea?
I never used genkernel myself, so I know only very _theoretically_ how it works...
Cheers,
Torsten. _________________ "They rule the world by telling lies,
dripping poison in your ear,
keeping up apparences, revelation is their fear."
-- Running Wild :: Masquerade |
|
Back to top |
|
|
smohamedfarouk n00b
Joined: 20 Sep 2004 Posts: 21 Location: Developer
|
Posted: Thu Mar 10, 2005 6:36 pm Post subject: make -j2 bzImage |
|
|
Make -j2 bzImage
it fails saying Make: *** No rule to make tarrget bzImage. Stop.
What next |
|
Back to top |
|
|
|