View previous topic :: View next topic |
Author |
Message |
verruckt Apprentice
Joined: 22 Sep 2003 Posts: 169 Location: missing Hörvelsingen...
|
Posted: Sun Oct 12, 2003 9:58 pm Post subject: kernel compilation error |
|
|
Trying to install again since i had time this weekend. Doing a stage 3 install on an Ultra5. After getting through menuconfig, I then compile the kernel per the doc
"make dep && make clean vmlinux modules modules_install"
It does its thing for a while, and then at the end I have these 5 lines:
Code: | make[2]: *** [ksyms.o] Error 1
make[2]: Leaving directory '/usr/src/linux-2.4.21-sparc-r1/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory '/usr/src/linux-2.4.21-sparc-r1/kernel'
make: *** [_dir_kernel] Error 2 |
And its at the prompt at this point. Checking my kernel size gives me this
Code: | ls: vmlinux: No such file or directory |
I am using an existing system (debian) to install Gentoo. I was previously able to check the kernel size (it was just at 4mb), and had to go back and trim it down a bit. That is when I started to encounter this error. Does anyone have any ideas? |
|
Back to top |
|
|
ciaranm Retired Dev
Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Sun Oct 12, 2003 11:20 pm Post subject: |
|
|
Please give us a half-dozen or so more lines of the error text. There's not enough there for us to guess which config option(s) are the problem. |
|
Back to top |
|
|
verruckt Apprentice
Joined: 22 Sep 2003 Posts: 169 Location: missing Hörvelsingen...
|
Posted: Mon Oct 13, 2003 12:13 pm Post subject: |
|
|
ciaranm wrote: | Please give us a half-dozen or so more lines of the error text. There's not enough there for us to guess which config option(s) are the problem. |
Those would be all that I see. Is there a log generated that I could copy from? |
|
Back to top |
|
|
ciaranm Retired Dev
Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Mon Oct 13, 2003 6:49 pm Post subject: |
|
|
verruckt wrote: | Those would be all that I see. Is there a log generated that I could copy from? |
Unfortunately not. You have a few options... Shift+PageUp may or may not scroll up a page. You could use 'script' to generate a log of the session... Or you could use redirects and / or 'tee'... |
|
Back to top |
|
|
Wedge n00b
Joined: 28 Oct 2003 Posts: 14 Location: Illinois
|
Posted: Tue Oct 28, 2003 5:03 am Post subject: |
|
|
I have the same errors but here is the last oh 50 lines of output.
Code: | /usr/src/linux-2.4.20-gentoo-r8/include/linux/modules/ksyms.ver:596:1: warning:
"del_timer_sync" redefined
In file included from /usr/src/linux-2.4.20-gentoo-r8/include/linux/ext3_fs_sb.h:20,
from /usr/src/linux-2.4.20-gentoo-r8/include/linux/fs.h:692,
from /usr/src/linux-2.4.20-gentoo-r8/include/linux/capability.h:17,
from /usr/src/linux-2.4.20-gentoo-r8/include/linux/binfmts.h:6,
from /usr/src/linux-2.4.20-gentoo-r8/include/linux/sched.h:9,
from /usr/src/linux-2.4.20-gentoo-r8/include/linux/mm.h:22,
from /usr/src/linux-2.4.20-gentoo-r8/include/linux/slab.h:14,
from ksyms.c:13:
/usr/src/linux-2.4.20-gentoo-r8/include/linux/timer.h:30:1: warning: this is the location of
the previous definition
In file included from /usr/src/linux-2.4.20-gentoo-r8/include/linux/modversions.h:167,
from /usr/src/linux-2.4.20-gentoo-r8/include/linux/module.h:21,
from ksyms.c:14:
/usr/src/linux-2.4.20-gentoo-r8/include/linux/modules/ksyms.ver:688:1: warning:
"set_cpus_allowed" redefined
In file included from /usr/src/linux-2.4.20-gentoo-r8/include/linux/mm.h:22,
from /usr/src/linux-2.4.20-gentoo-r8/include/linux/slab.h:14,
from ksyms.c:13:
/usr/src/linux-2.4.20-gentoo-r8/include/linux/sched.h:539:1: warning: this is the location
of the previous definition
In file included from ksyms.c:17:
/usr/src/linux-2.4.20-gentoo-r8/include/linux/kernel_stat.h: In function `kstat_irqs':
/usr/src/linux-2.4.20-gentoo-r8/include/linux/kernel_stat.h:58: `smp_num_cpus'
undeclared (first use in this function)
/usr/src/linux-2.4.20-gentoo-r8/include/linux/kernel_stat.h:58: (Each undeclared
identifier is reported only once
/usr/src/linux-2.4.20-gentoo-r8/include/linux/kernel_stat.h:58: for each function it
appears in.)
In file included from /usr/src/linux-2.4.20-gentoo-r8/include/linux/interrupt.h:45,
from ksyms.c:21:
/usr/src/linux-2.4.20-gentoo-r8/include/asm/hardirq.h:41:1: warning: "synchronize_irq"
redefined
In file included from /usr/src/linux-2.4.20-gentoo-r8/include/linux/modversions.h:137,
from /usr/src/linux-2.4.20-gentoo-r8/include/linux/module.h:21,
from ksyms.c:14:
/usr/src/linux-2.4.20-gentoo-r8/include/linux/modules/i386_ksyms.ver:94:1: warning:
this is the location of the previous definition
make[2]: *** [ksyms.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r8/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r8/kernel'
make: *** [_dir_kernel] Error 2 |
I hope this helps with a suggestion. Thanks! Wedge
wedge@ageek.net _________________ Geeks need love'n too! |
|
Back to top |
|
|
|