Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате
Форум программистов > *NIX системы: Общие вопросы > Не компилируется ядро для IXDP425


Автор: VKlim 7.8.2007, 11:40
Скачал с сайта https://linuxlink.timesys.com дистрибутив ядра timesys-armv5b-ixp435-basic-vanilla--std-9-install.tgz; 
пишу так 
make ARCH=arm CROSS_COMPILE=armv5b-linux- ixp42x_defconfig
make ARCH=arm CROSS_COMPILE=armv5b-linux- zImage

получаю вот такую ошибку:

.....
include/linux/mm.h:516: error: `CONFIG_PAGE_OFFSET' undeclared (first use in this function)
include/linux/mm.h: At top level:
include/linux/mm.h:759: warning: `regparm' attribute directive ignored
include/linux/mm.h:790: warning: `regparm' attribute directive ignored
In file included from arch/arm/kernel/asm-offsets.c:17:
/opt/timesys/toolchains/armv5b-linux/lib/gcc/armv5b-linux/3.4.1/include/asm/memory.h:82:5: missing binary operator before token "long"
In file included from arch/arm/kernel/asm-offsets.c:17:
/opt/timesys/toolchains/armv5b-linux/lib/gcc/armv5b-linux/3.4.1/include/asm/memory.h: In function `virt_to_phys':
/opt/timesys/toolchains/armv5b-linux/lib/gcc/armv5b-linux/3.4.1/include/asm/memory.h:127: error: `CONFIG_PAGE_OFFSET' undeclared (first use in this function)
.....

Если кто с таким сталкивался, подскажите как решить.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)