On 7/7/06, Peter Oberparleiter <email@example.com> wrote:
Xie Qin wrote:
> CC [M] drivers/atm/fore200e_pca_fw.o
> gcc: /mnt/hda8/study/kernel/linux-
> 2.6.16_gcovt/drivers/atm/fore200e_pca_fw.c: No such file or directory
> gcc: no input files
> make: *** [drivers/atm/fore200e_pca_fw.o] Error 1
> make: *** [drivers/atm] Error 2
> make: *** [drivers] Error 2
> make: *** [_all] Error 2
It is unlikely that this error was caused by the gcov-kernel patch. My suggestion is to try to compile the original kernel source code without the gcov-kernel patch first, and if that works, try the gcov-kernel patch afterwards.
I have tried this way before I post this email. the original kernel source code can be compiled successfully with "O" option. But, after the gcov-kernel patch is used, it will fail.
> 2.logs for patch issue
> 1 out of 6 hunks FAILED -- saving rejects to file Makefile.rej
You need to adapt this part of the patch to the source code you are using or the gcov-kernel patch won't be working as expected. Also not that the gcov-kernel patch version that you are using may not be the most stable gcov-kernel patch version. I would recommend switching to another kernel version or use a later gcov-kernel patch and adapt it to your kernel version.