View previous topic :: View next topic |
Author |
Message |
HSN3twork n00b
Joined: 22 Feb 2006 Posts: 3
|
Posted: Wed Feb 22, 2006 2:45 am Post subject: genkernel compiling error |
|
|
Evenin all,
I am new to the whole Linux scene and have chsoen gentoo as my virgin voyage ( following a friends strong suggestion ).
I have downloaded LiveCD and followed the relevant online guide to install Gentoo.
I get as far as compiling the kernel using genkernel all. Once I have left this to run I get an error at the end say
Quote: | ERROR: Failed to compile the "modules" target... |
My hardwware is bog standard old rubbish lol
the cpu being a celeron 500mhz with 64mb ram.
Could anyone offer any advice at all?
Cheers. |
|
Back to top |
|
|
beltazore Apprentice
Joined: 30 Oct 2003 Posts: 174 Location: Norway
|
Posted: Wed Feb 22, 2006 1:37 pm Post subject: |
|
|
Well, could you give us some more spesific errors? You can find the genkernel log in /var/log. Look for the error there, its impossible to tell you what to do without the exact error! |
|
Back to top |
|
|
essdeeay n00b
Joined: 22 Feb 2006 Posts: 60
|
Posted: Wed Feb 22, 2006 4:04 pm Post subject: |
|
|
*Exactly* what command are you typing before you receive that error?
Steve |
|
Back to top |
|
|
HSN3twork n00b
Joined: 22 Feb 2006 Posts: 3
|
Posted: Wed Feb 22, 2006 7:12 pm Post subject: |
|
|
Hi,
I am going through the motions again just to double check. I will post the results as soon as I have them and if I get any errors this is.
Just to double check, in make.conf would I use -march i686 or -mcpu i686 for a intel celeron 500mhz dated approx 1999.
Cheers. |
|
Back to top |
|
|
HSN3twork n00b
Joined: 22 Feb 2006 Posts: 3
|
Posted: Thu Feb 23, 2006 1:39 am Post subject: |
|
|
I have gotten round to attempting the install again.
To answer th latest question asked first. I used # genkernel all
The install started etc and at the end it says failed.
Below you will see as much of the install as I could get from putty
Quote: | >>> /usr/share/genkernel/ppc/
>>> /usr/share/genkernel/ppc/modules_load
>>> /usr/share/genkernel/ppc/config.sh
>>> /usr/share/genkernel/ppc/G5-SMP
>>> /usr/share/genkernel/ppc/G5
>>> /usr/share/genkernel/ppc/G4
>>> /usr/share/genkernel/ppc/2.6.3-benh2-G4-SMP.autoload
>>> /usr/share/genkernel/ppc/Pegasos
>>> /usr/share/genkernel/ppc/2.6.3-benh2-G5-SMP.autoload
>>> /usr/share/genkernel/ppc/G4-SMP
>>> /usr/share/genkernel/ppc/2.6.3-benh2-G5.autoload
>>> /usr/share/genkernel/ppc/busy-config
>>> /usr/share/genkernel/ppc/2.6.3-benh2-G4.autoload
>>> /usr/share/genkernel/ppc64/
>>> /usr/share/genkernel/ppc64/modules_load
>>> /usr/share/genkernel/ppc64/config.sh
>>> /usr/share/genkernel/ppc64/kernel-2.6-pSeries
>>> /usr/share/genkernel/ppc64/busy-config
>>> /usr/share/genkernel/ppc64/kernel-2.6.g5
>>> /usr/share/genkernel/ppc64/kernel-2.6
>>> /usr/share/genkernel/sparc/
>>> /usr/share/genkernel/sparc/modules_load
>>> /usr/share/genkernel/sparc/config.sh
>>> /usr/share/genkernel/sparc/busy-config
>>> /usr/share/genkernel/sparc/kernel-config
>>> /usr/share/genkernel/sparc64/
>>> /usr/share/genkernel/sparc64/modules_load
>>> /usr/share/genkernel/sparc64/config.sh
>>> /usr/share/genkernel/sparc64/busy-config
>>> /usr/share/genkernel/sparc64/kernel-config
>>> /usr/share/genkernel/um/
>>> /usr/share/genkernel/um/modules_load
>>> /usr/share/genkernel/um/config.sh
>>> /usr/share/genkernel/um/kernel-config-2.6
>>> /usr/share/genkernel/um/kernel-config-2.4
>>> /usr/share/genkernel/um/busy-config
>>> /usr/share/genkernel/x86/
>>> /usr/share/genkernel/x86/modules_load
>>> /usr/share/genkernel/x86/config.sh
>>> /usr/share/genkernel/x86/kernel-config-2.6
>>> /usr/share/genkernel/x86/kernel-config-2.4
>>> /usr/share/genkernel/x86/busy-config
>>> /usr/share/genkernel/x86_64/
>>> /usr/share/genkernel/x86_64/modules_load
>>> /usr/share/genkernel/x86_64/config.sh
>>> /usr/share/genkernel/x86_64/kernel-config-2.6
>>> /usr/share/genkernel/x86_64/kernel-config-2.6-emachines
>>> /usr/share/genkernel/x86_64/busy-config
>>> /usr/share/genkernel/x86_64/kernel-config-2.6-smp
>>> /usr/share/genkernel/xen0/
>>> /usr/share/genkernel/xen0/modules_load
>>> /usr/share/genkernel/xen0/config.sh
>>> /usr/share/genkernel/xen0/kernel-config-2.6
>>> /usr/share/genkernel/xen0/kernel-config-2.4
>>> /usr/share/genkernel/xen0/busy-config
>>> /usr/share/genkernel/xenU/
>>> /usr/share/genkernel/xenU/modules_load
>>> /usr/share/genkernel/xenU/config.sh
>>> /usr/share/genkernel/xenU/kernel-config-2.6
>>> /usr/share/genkernel/xenU/kernel-config-2.4
>>> /usr/share/genkernel/xenU/busy-config
--- /usr/share/doc/
>>> /usr/share/doc/genkernel-3.3.10/
>>> /usr/share/doc/genkernel-3.3.10/README.gz
--- /usr/share/man/
--- /usr/share/man/man8/
>>> /usr/share/man/man8/genkernel.8.gz
--- /usr/bin/
>>> /usr/bin/genkernel -> /usr/share/genkernel/genkernel
* Documentation is available in the genkernel manual page
* as well as the following URL:
* http://www.gentoo.org/doc/en/genkernel.xml
* This package is known to not work with reiser4. If you are running
* reiser4 and have a problem, do not file a bug. We know it does not
* work and we don't plan on fixing it since reiser4 is the one that is
* broken in this regard. Try using a sane filesystem like ext3 or
* even resier3.
>>> Regenerating /etc/ld.so.cache...
>>> sys-kernel/genkernel-3.3.10 merged.
>>> Recording sys-kernel/genkernel in "world" favorites file...
>>> clean: No packages selected for removal.
>>> Auto-cleaning packages ...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
(chroot) livecd / # zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-confi
g-2.6
(chroot) livecd / # genkernel all
* Gentoo Linux Genkernel; Version 3.3.10
* Running with options: all
* Linux Kernel 2.6.15-gentoo-r1 for x86...
* kernel: >> Running mrproper...
* config: Using config from /usr/share/genkernel/x86/kernel-config-2.6
* Previous config backed up to .config.bak
* >> Running oldconfig...
* kernel: >> Cleaning...
* kernel: >> Making dependencies...
* >> Compiling 2.6.15-gentoo-r1 bzImage...
* ERROR: Failed to compile the "bzImage" target...
* -- Grepping log... --
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -o arch/i386/Kconfig
.config:138:warning: trying to assign nonexistent symbol HAVE_DEC_LOCK
.config:153:warning: trying to assign nonexistent symbol ACPI_BOOT
.config:154:warning: trying to assign nonexistent symbol ACPI_INTERPRETER
.config:168:warning: trying to assign nonexistent symbol ACPI_BUS
.config:171:warning: trying to assign nonexistent symbol ACPI_PCI
.config:245:warning: trying to assign nonexistent symbol PCI_NAMES
.config:585:warning: trying to assign nonexistent symbol SCSI_QLOGIC_1280_1040
.config:646:warning: symbol value 'm' invalid for FUSION
.config:718:warning: trying to assign nonexistent symbol IP_TCPDIAG
.config:719:warning: trying to assign nonexistent symbol IP_TCPDIAG_IPV6
.config:785:warning: trying to assign nonexistent symbol BT_HCIUART_BCSP_TXCRC
.config:926:warning: trying to assign nonexistent symbol 2BUFF_MODE
.config:1198:warning: trying to assign nonexistent symbol SERIAL_8250_MULTIPORT
.config:1283:warning: trying to assign nonexistent symbol FB_SOFT_CURSOR
.config:1483:warning: trying to assign nonexistent symbol USB_GENESYS
.config:1484:warning: trying to assign nonexistent symbol USB_NET1080
.config:1485:warning: trying to assign nonexistent symbol USB_PL2301
.config:1486:warning: trying to assign nonexistent symbol USB_KC2190
.config:1493:warning: trying to assign nonexistent symbol USB_ZAURUS
.config:1494:warning: trying to assign nonexistent symbol USB_CDCETHER
.config:1499:warning: trying to assign nonexistent symbol USB_AX8817X
.config:1659:warning: trying to assign nonexistent symbol DEVFS_FS
.config:1660:warning: trying to assign nonexistent symbol DEVPTS_FS_XATTR
.config:1662:warning: trying to assign nonexistent symbol TMPFS_XATTR
.config:1663:warning: trying to assign nonexistent symbol TMPFS_SECURITY
--
SCSI generic support (CHR_DEV_SG) [M/n/y/?] m
SCSI media changer support (CHR_DEV_SCH) [N/m/y/?] (NEW) *
* Some SCSI devices (e.g. CD jukebox) support multiple LUNs
*
Probe all LUNs on each SCSI device (SCSI_MULTI_LUN) [N/y/?] n
Verbose SCSI error reporting (kernel size +=12K) (SCSI_CONSTANTS) [N/y/?] n
--
* kernel: >> Cleaning...
COMMAND: make -j2 CC="gcc" LD="ld" AS="as" clean
awk: cmd. line:2: fatal: cannot open file `/usr/src/linux-2.6.15-gentoo-r1/inclu
de/linux/version.h' for reading (No such file or directory)
* kernel: >> Making dependencies...
COMMAND: make -j2 CC="gcc" LD="ld" AS="as" dep
*** Warning: make dep is unnecessary now.
--
CC kernel/pid.o
CC mm/fremap.o
CC kernel/rcupdate.o
CC mm/highmem.o
CC kernel/intermodule.o
kernel/intermodule.c:178: warning: `inter_module_register' is deprecated (declar
ed at kernel/intermodule.c:3
kernel/intermodule.c:179: warning: `inter_module_unregister' is deprecated (decl
ared at kernel/intermodule.c:7
kernel/intermodule.c:181: warning: `inter_module_put' is deprecated (declared at
kernel/intermodule.c:159)
--
CC kernel/power/process.o
LD mm/built-in.o
CC fs/open.o
CC kernel/power/console.o
CC kernel/power/pm.o
kernel/power/pm.c:259: warning: `pm_register' is deprecated (declared at kernel/
power/pm.c:63)
kernel/power/pm.c:260: warning: `pm_unregister' is deprecated (declared at kerne
l/power/pm.c:86)
kernel/power/pm.c:261: warning: `pm_unregister_all' is deprecated (declared at k
ernel/power/pm.c:115)
kernel/power/pm.c:262: warning: `pm_send_all' is deprecated (declared at kernel/
power/pm.c:234)
--
LD drivers/char/pcmcia/built-in.o
CC drivers/char/speakup/speakup.o
CC fs/reiserfs/inode.o
CC drivers/char/speakup/speakup_drvcommon.o
CC fs/reiserfs/file.o
drivers/char/speakup/speakup_drvcommon.c:37: warning: `module_name' defined but
not used
--
from fs/xfs/linux-2.6/kmem.h:23,
from fs/xfs/linux-2.6/xfs_linux.h:45,
from fs/xfs/xfs.h:20,
from fs/xfs/quota/xfs_qm_bhv.c:18:
include/linux/irq.h: In function `set_irq_info':
include/linux/irq.h:189: error: syntax error before '{' token
include/linux/irq.h:190: warning: function declaration isn't a prototype
include/linux/irq.h:190: confused by earlier errors, bailing out
make[2]: *** [fs/xfs/quota/xfs_qm_bhv.o] Error 1
make[1]: *** [fs/xfs] Error 2
make: *** [fs] Error 2
--
LD drivers/video/built-in.o
LD drivers/built-in.o
* Gentoo Linux Genkernel; Version 3.3.10
* Running with options: all
* ERROR: Failed to compile the "bzImage" target...
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*
(chroot) livecd / # |
My make.conf file looks as follows
Quote: | # These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-Os -mcpu=i686 -pipe"
CHOST="i386-pc-linux-gnu"
CXXFLAGS="${CFLAGS}" |
I have even tried with the line USE="-gtk -gnome qt kde dvd alsa cdr" added under CXXFLAGS as per document, but I always seem to get an error.
Thank you. |
|
Back to top |
|
|
|