Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21611 Discussions

Linux Kernel Compile Problem

Altera_Forum
Honored Contributor II
1,179 Views

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
0 Kudos
0 Replies
Reply