[Momonga-devel.ja:02887] [momongaja:00091] kernel24 can not build
- From: bugs-admin@xxxxxxxxxxxxxxxxx
- Date: Fri, 12 Nov 2004 12:48:12 +0900
tab@xxxxxxxxxxxxxxxxx wrote:
trunk環境で kernel24がbuildできない.
以下logから抜粋
In file included from /opt/momonga/pkgs/kernel24/BUILD/linux-
2.4.27/include/linux/sched.h:23,
from /opt/momonga/pkgs/kernel24/BUILD/linux-2.4.27/include/linux/mm.h:4,
from /opt/momonga/pkgs/kernel24/BUILD/linux-2.4.27/include/linux/slab.h:14,
from /opt/momonga/pkgs/kernel24/BUILD/linux-2.4.27/include/linux/proc_fs.h:5,
from init/main.c:15:
/opt/momonga/pkgs/kernel24/BUILD/linux-2.4.27/include/linux/smp.h:29: error: conflicting types for 'smp_send_reschedule'
/opt/momonga/pkgs/kernel24/BUILD/linux-2.4.27/include/asm/smp.h:42: error: previous declaration of 'smp_send_reschedule' was here
/opt/momonga/pkgs/kernel24/BUILD/linux-2.4.27/include/linux/smp.h:29: error: conflicting types for 'smp_send_reschedule'
/opt/momonga/pkgs/kernel24/BUILD/linux-2.4.27/include/asm/smp.h:42: error: previous declaration of 'smp_send_reschedule' was here
In file included from /opt/momonga/pkgs/kernel24/BUILD/linux-
2.4.27/include/linux/unistd.h:9,
from init/main.c:17:
/opt/momonga/pkgs/kernel24/BUILD/linux-2.4.27/include/asm/unistd.h:375: warning: conflicting types for built-in function '_exit'
make: *** [init/main.o] Error 1
. scripts/mkversion > .tmpversion
gcc -D__KERNEL__ -I/opt/momonga/pkgs/kernel24/BUILD/linux-
2.4.27/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fn o-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -fno-optimize-sibling-calls -DUTS_MACHINE='"i386"' -DKBUILD_BASE
NAME=version -c -o init/version.o init/version.c
gcc -D__KERNEL__ -I/opt/momonga/pkgs/kernel24/BUILD/linux-
2.4.27/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fn o-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -fno-optimize-sibling-calls -DKBUILD_BASENAME=do_mounts -c -o init/do_mounts.o init/do_mounts.c
In file included from /opt/momonga/pkgs/kernel24/BUILD/linux-
2.4.27/include/linux/sched.h:23,
from /opt/momonga/pkgs/kernel24/BUILD/linux-2.4.27/include/linux/mm.h:4,
from /opt/momonga/pkgs/kernel24/BUILD/linux-2.4.27/include/linux/slab.h:14,
from init/do_mounts.c:3:
/opt/momonga/pkgs/kernel24/BUILD/linux-2.4.27/include/linux/smp.h:29: error: conflicting types for 'smp_send_reschedule'
/opt/momonga/pkgs/kernel24/BUILD/linux-2.4.27/include/asm/smp.h:42: error: previous declaration of 'smp_send_reschedule' was here
/opt/momonga/pkgs/kernel24/BUILD/linux-2.4.27/include/linux/smp.h:29: error: conflicting types for 'smp_send_reschedule'
/opt/momonga/pkgs/kernel24/BUILD/linux-2.4.27/include/asm/smp.h:42: error: previous declaration of 'smp_send_reschedule' was here
In file included from /opt/momonga/pkgs/kernel24/BUILD/linux-
2.4.27/include/linux/unistd.h:9,
from init/do_mounts.c:5:
/opt/momonga/pkgs/kernel24/BUILD/linux-2.4.27/include/asm/unistd.h:375:
warning: conflicting types for built-in function '_exit'
make: *** [init/do_mounts.o] Error 1
ここまで書いてて気づいたが
$ rpm -qf /usr/include/asm/unistd.h
glibc-kernheaders-2.6.9-2m
$
と header file が kerenl 2.6 の内容なので
conflictしていると思う.
== このレポートの詳細は以下の通りです ==
レポート ID : 91
レポート URL : http://developer.momonga-linux.org/kagemai/guest.cgi?project=momongaja&action=view_report&id=91
状態 : 新規
処理方法 : 未処理
バージョン : HEAD
優先度 : 中
重要度 : 普通
担当者 : 未定
# あなたが、このようなメッセージに無関係である場合には、
# 管理者 <bugs-admin@xxxxxxxxxxxxxxxxx> までご連絡ください。
--
Bug Tracking System 影舞 0.8.4.
http://www.daifukuya.com/kagemai/