解决undefinedreferenceto`__gnu_mcount_nc'问题在linux内核编译时出现以下错误:init/built-in.o:Infunction`do_one_initcall':/linux-2.6.30.4/init/main.c:706:undefinedreferenceto`__gnu_mcount_nc'init/built-in.o:Infunction`init_post':/linux-2.6.30.4/init/main.c:804:undefinedreferenceto`__gnu_mcount_nc'init/built-in.o:Infunction`name_to_dev_t':/linux-2.6.30.4/init/do_mounts.c:78:undefinedreferenceto`__gnu_mcount_nc'init/built-in.o:Infunction`rest_init':/linux-2.6.30.4/init/main.c:453:undefinedreferenceto`__gnu_mcount_nc'init/built-in.o:Infunction`calibrate_delay':/linux-2.6.30.4/init/calibrate.c:123:undefinedreferenceto`__gnu_mcount_nc'下载资源补丁,把放到linux源码目录下#cp__gnu_mcount_nc_patch.gz../linux.2.6.30.4解压打补丁#gunzip-dc__gnu_mcount_nc_patch.patch.gz|patch-p1OK!
1