TQ2440 problem

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Mon Jul 12 04:14:23 EDT 2010


Hello,

On Sat, Jul 10, 2010 at 02:01:19PM +0800, CoffBeta wrote:
> CHK     include/linux/compile.h
>   GEN     .version
>   CHK     include/linux/compile.h
>   UPD     include/linux/compile.h
>   CC      init/version.o
>   LD      init/built-in.o
>   LD      .tmp_vmlinux1
> init/built-in.o: In function `do_one_initcall':
> /home/ymcheng/linux-2.6.27/init/main.c:704: undefined reference to
> `__gnu_mcount_nc'
> init/built-in.o: In function `init_post':
> /home/ymcheng/linux-2.6.27/init/main.c:796: undefined reference to
> `__gnu_mcount_nc'
> init/built-in.o: In function `name_to_dev_t':
> /home/ymcheng/linux-2.6.27/init/do_mounts.c:76: undefined reference to
> `__gnu_mcount_nc'
> init/built-in.o: In function `set_reset_devices':
> /home/ymcheng/linux-2.6.27/init/main.c:183: undefined reference to
> `__gnu_mcount_nc'
> init/built-in.o: In function `debug_kernel':
> /home/ymcheng/linux-2.6.27/init/main.c:234: undefined reference to
> `__gnu_mcount_nc'
> init/built-in.o:/home/ymcheng/linux-2.6.27/init/main.c:240: more undefined
> references to `__gnu_mcount_nc' follow
> make: *** [.tmp_vmlinux1] 错误 1
> 
> why????how can I do it? thanks

Your toolchain is too new for a kernel that old.  You need a kernel
having 181f817eaaca4c1f8a9c265d339d2b96de8b245d.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list