PolAR
Зарегистрирован: 01.11.2004 Сообщения: 133
|
Добавлено: Вт Янв 24 2006 15:39 Заголовок сообщения: Сборка ядра 2.2.х |
|
|
Надо собрать вышеуказанное ядро.
При компиляции выдаются такие ошибки:
Код: |
`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
cc1: warning: -malign-loops is obsolete, use -falign-loops
cc1: warning: -malign-jumps is obsolete, use -falign-jumps
cc1: warning: -malign-functions is obsolete, use -falign-functions
In file included from /usr/src/linux-2.2.26/include/linux/string.h:37,
from /usr/src/linux-2.2.26/include/linux/signal.h:64,
from /usr/src/linux-2.2.26/include/linux/sched.h:23,
from /usr/src/linux-2.2.26/include/linux/mm.h:4,
from /usr/src/linux-2.2.26/include/linux/slab.h:14,
from /usr/src/linux-2.2.26/include/linux/malloc.h:4,
from /usr/src/linux-2.2.26/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.2.26/include/asm/string.h:476:17: missing terminating " character
In file included from /usr/src/linux-2.2.26/include/linux/string.h:37,
from /usr/src/linux-2.2.26/include/linux/signal.h:64,
from /usr/src/linux-2.2.26/include/linux/sched.h:23,
from /usr/src/linux-2.2.26/include/linux/mm.h:4,
from /usr/src/linux-2.2.26/include/linux/slab.h:14,
from /usr/src/linux-2.2.26/include/linux/malloc.h:4,
from /usr/src/linux-2.2.26/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.2.26/include/asm/string.h: In function `memscan':
/usr/src/linux-2.2.26/include/asm/string.h:477: error: syntax error before "repnz"
/usr/src/linux-2.2.26/include/asm/string.h:478: error: `scasb' undeclared (first use in this function)
/usr/src/linux-2.2.26/include/asm/string.h:478: error: (Each undeclared identifier is reported only once
/usr/src/linux-2.2.26/include/asm/string.h:478: error: for each function it appears in.)
/usr/src/linux-2.2.26/include/asm/string.h:478:21: invalid suffix "f" on integer constant
/usr/src/linux-2.2.26/include/asm/string.h:480:17: missing terminating " character
In file included from /usr/src/linux-2.2.26/include/linux/sched.h:23,
from /usr/src/linux-2.2.26/include/linux/mm.h:4,
from /usr/src/linux-2.2.26/include/linux/slab.h:14,
from /usr/src/linux-2.2.26/include/linux/malloc.h:4,
from /usr/src/linux-2.2.26/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.2.26/include/linux/signal.h: In function `siginitset':
/usr/src/linux-2.2.26/include/linux/signal.h:193: warning: deprecated use of label at end of compound statement
/usr/src/linux-2.2.26/include/linux/signal.h: In function `siginitsetinv':
/usr/src/linux-2.2.26/include/linux/signal.h:205: warning: deprecated use of label at end of compound statement
In file included from /usr/src/linux-2.2.26/include/linux/blkdev.h:6,
from /usr/src/linux-2.2.26/include/linux/blk.h:4,
from init/main.c:23:
/usr/src/linux-2.2.26/include/linux/genhd.h: In function `ptype':
/usr/src/linux-2.2.26/include/linux/genhd.h:83: warning: deprecated use of label at end of compound statement
init/main.c:251:8: warning: extra tokens at end of #endif directive
init/main.c:255:8: warning: extra tokens at end of #endif directive
[b]( и таких строк штук 20)[/b]
|
Может из-за того что новая версия gcc не поддерживает старые стандарты, если так, то как это обойти.
Версии:
make - 3.80
gcc - 3.3.5
ядро - 2.2.26 ( из лога впринципе видать ) _________________ Come Together!! Right Now.... |
|