Is there any instructions for building 2.6.15 kernel with
kernprof patch?
I've tried to build it using GCC 2.95.3 with gcc-patch
and GCC 4.1.0 without patch(since the gcc-patch is not apply to
4.1.0)
But the error message comes up
make 2.6.15 kernel using GCC 2.95.3 with
gcc-patch
LD
.tmp_vmlinux1
init/built-in.o(.text+0x14): In function
`rest_init':
/usr/src/linux-2.6.15/init/main.c: undefined reference to
`mcount'
init/built-in.o(.text+0x44): In function
`do_pre_smp_initcalls':
/usr/src/linux-2.6.15/init/main.c: undefined
reference to `mcount'
init/built-in.o(.text+0x65): In function
`run_init_process':
/usr/src/linux-2.6.15/init/main.c:636: undefined
reference to `mcount'
init/built-in.o(.text+0xa7): In function
`init':
/usr/src/linux-2.6.15/init/main.c: undefined reference to
`mcount'
init/built-in.o(.text+0x1d4): In function
`__check_printsym_format':
/usr/src/linux-2.6.15/init/main.c:49: undefined
reference to
`mcount'
init/built-in.o(.text+0x1fa):/usr/src/linux-2.6.15/init/do_mounts.c:
more undefined references to `mcount' follow
make: *** [.tmp_vmlinux1]
Error 1
make 2.6.15 kernel with GCC 4.1.0
LD
.tmp_vmlinux1
init/built-in.o(.text+0x4): In function
`rest_init':
init/main.c:393: undefined reference to
`mcount'
init/built-in.o(.text+0x29): In function
`do_pre_smp_initcalls':
init/main.c:624: undefined reference to
`mcount'
init/built-in.o(.text+0x3e): In function
`run_init_process':
init/main.c:636: undefined reference to
`mcount'
init/built-in.o(.text+0x6f): In function
`init':
init/main.c:660: undefined reference to
`mcount'
init/built-in.o(.text+0x18a): In function
`try_name':
init/do_mounts.c:56: undefined reference to
`mcount'
init/built-in.o(.text+0x30e):init/do_mounts.c:138: more undefined
references to
`mcount' follow
make: *** [.tmp_vmlinux1] Error
1
Hope someone could help me. Thanks!!
Jack
___________________________________________________ 最新版
Yahoo!奇摩即時通訊 7.0,免費網路電話任你打!
http://messenger.yahoo.com.tw/