Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

Linux Kernel Compile Problem

Not sure if this is the correct location for this post but here goes anyway

I am building uClinux-dist from nios2-linux06212010

and using nios2-linux-gcc ver. 3.4.6

I am building the kernel up to the following point and then...

LD init/built-in.o

LD .tmp_vmlinux1

kernel/built-in.o(.init.text+0x54c): In function `sched_init_smp':

: undefined reference to `____ilog2_NaN'

kernel/built-in.o(.init.text+0x54c): In function `sched_init_smp':

: relocation truncated to fit: R_NIOS2_CALL26 ____ilog2_NaN

make[2]: *** [.tmp_vmlinux1] Error 1

make[1]: *** [sub-make] Error 2

make[1]: Leaving directory `/home/nick/06212010-nios2-linux/nios2-linux/linux-2.6'

make: *** [linux] Error 1

Any help greatly appreciated!

Nick

14 Replies