| To: | kernprof@xxxxxxxxxxx |
|---|---|
| Subject: | How to patch the 2.6.15 kernel? |
| From: | Jack <purejack.tw@xxxxxxxxxxxx> |
| Date: | Mon, 29 May 2006 23:50:20 +0800 (CST) |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.tw; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=dLalNJqDqVXePY2nsHS044BpyEBeCOeeeHaaBNvVlfjfd+H8pUf558bqm0u7hEloLbj80alX4Mrg8Bn4C71jvdD9METys6SQFv27pBLxiEV+I/fLXP+QmsLfKcs3f05n5J05U751RjrIeZBoa82tQd91oO1ehEWqt86HdW0DWng= ; |
| Sender: | kernprof-bounce@xxxxxxxxxxx |
|
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/ |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Next by Date: | Re: How to patch the 2.6.15 kernel?, John Hawkes |
|---|---|
| Next by Thread: | Re: How to patch the 2.6.15 kernel?, John Hawkes |
| Indexes: | [Date] [Thread] [Top] [All Lists] |