Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel compilation error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
verruckt
Apprentice
Apprentice


Joined: 22 Sep 2003
Posts: 169
Location: missing Hörvelsingen...

PostPosted: Sun Oct 12, 2003 9:58 pm    Post subject: kernel compilation error Reply with quote

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
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Sun Oct 12, 2003 11:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
verruckt
Apprentice
Apprentice


Joined: 22 Sep 2003
Posts: 169
Location: missing Hörvelsingen...

PostPosted: Mon Oct 13, 2003 12:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Mon Oct 13, 2003 6:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Wedge
n00b
n00b


Joined: 28 Oct 2003
Posts: 14
Location: Illinois

PostPosted: Tue Oct 28, 2003 5:03 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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