|
我做的是加系统调用,相关表项都修改好了,在make的过程中,每次到了make bzImage就会出错,报错如下.
拜托谁帮我看看吧,万分感激~~~
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=ide_disk -c -o ide-disk.o ide-disk.c
In file included from /usr/src/linux-2.4.20-8/include/linux/pci.h:657,
from /usr/src/linux-2.4.20-8/include/linux/ide.h:20,
from ide-disk.c:65:
/usr/src/linux-2.4.20-8/include/asm/pci.h: In function `pci_map_single':
/usr/src/linux-2.4.20-8/include/asm/pci.h:79: internal error: 段错误
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make[3]: *** [ide-disk.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20-8/drivers/ide'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-8/drivers/ide'
make[1]: *** [_subdir_ide] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-8/drivers'
make: *** [_dir_drivers] Error 2 |
|