سلام مشکل در کامپایل هسته
ببینید من میخوام هستم رو با پچ open mosix کامپایل کنم
کاملا درست پچ اپن ماسیکس ۲.۴.۲۶-۱ رو به هسته ی ۲.۴.۲۶ اضافه کردم با دستور
پچ بعد اومدم تنظیمات فعلی هسته ی لینوکسمو رو تو فایل سورس هسته ریختم
cp /boot/config-`uname -r` ./.config
بعد این خطوط رو به ./.config اضافه کردم
# openMosix
#
CONFIG_MOSIX=y
CONFIG_MOSIX_TOPOLOGY=y
CONFIG_MOSIX_MAXTOPOLOGY=4
CONFIG_MOSIX_SECUREPORTS=y
CONFIG_MOSIX_DISCLOSURE=1
CONFIG_MOSIX_PIPE_EXCEPTIONS=y
# CONFIG_MOSIX_NO_OOM is not set
# CONFIG_MOSIX_EXT_LOCALTIME is not set
که این کارم مشکلی نداره بعد ذخیرش کردم بعد
#make-kpkg clean
اینکه تموم شد
# make-kpkg kernel_image
چند تا سوال پرسید همشو با m یا y جواب دادم
کامپایل رو ادامه داد اما خطا داشته کسی میدونه باید چکار کنم فوری لازمش دارم اگه میتونید بگید کجاست
دستیم که کامپایل رو انجام دادم یعنی همه چی رو خودم انتخاب کردم خطا داد
منتظرم ممنون
make[4]: Leaving directory `/usr/src/linux-2.4.26/arch/i386/kernel'
/usr/bin/make -C arch/i386/mm fastdep
make[4]: Entering directory `/usr/src/linux-2.4.26/arch/i386/mm'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.26/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix include -E -D__GENKSYMS__ pageattr.c
| /sbin/genksyms -p smp_ -k 2.4.26 > /usr/src/linux-2.4.26/include/linux/modules/pageattr.ver.tmp
/bin/sh: /sbin/genksyms: not found
mv /usr/src/linux-2.4.26/include/linux/modules/pageattr.ver.tmp /usr/src/linux-2.4.26/include/linux/modules/pageattr.ver
/usr/src/linux-2.4.26/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.26/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix include -- extable.c fault.c init.c ioremap.c pageattr.c > .depend
make[4]: Leaving directory `/usr/src/linux-2.4.26/arch/i386/mm'
/usr/bin/make -C arch/i386/lib fastdep
make[4]: Entering directory `/usr/src/linux-2.4.26/arch/i386/lib'
/usr/src/linux-2.4.26/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.26/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix include -- checksum.S dec_and_lock.c delay.c getuser.S iodebug.c memcpy.c mmx.c old-checksum.c strstr.c usercopy.c > .depend
make[4]: Leaving directory `/usr/src/linux-2.4.26/arch/i386/lib'
make[3]: Leaving directory `/usr/src/linux-2.4.26'
/usr/bin/make update-modverfile
make[3]: Entering directory `/usr/src/linux-2.4.26'
/usr/src/linux-2.4.26/include/linux/modversions.h was updated
make[3]: Leaving directory `/usr/src/linux-2.4.26'
scripts/mkdep -- `find /usr/src/linux-2.4.26/include/asm /usr/src/linux-2.4.26/include/linux /usr/src/linux-2.4.26/include/scsi /usr/src/linux-2.4.26/include/net /usr/src/linux-2.4.26/include/math-emu \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend
scripts/mkdep -- init/*.c > .depend
make[2]: Leaving directory `/usr/src/linux-2.4.26'
make[1]: Leaving directory `/usr/src/linux-2.4.26'
/usr/bin/make \
ARCH=i386 clean
make[1]: Entering directory `/usr/src/linux-2.4.26'
make[2]: Entering directory `/usr/src/linux-2.4.26/arch/i386/boot'
rm -f tools/build
rm -f setup bootsect zImage compressed/vmlinux.out
rm -f bsetup bbootsect bzImage compressed/bvmlinux.out
make[3]: Entering directory `/usr/src/linux-2.4.26/arch/i386/boot/compressed'
rm -f vmlinux bvmlinux _tmp_*
make[3]: Leaving directory `/usr/src/linux-2.4.26/arch/i386/boot/compressed'
make[2]: Leaving directory `/usr/src/linux-2.4.26/arch/i386/boot'
find . \( -name '*.[oas]' -o -name core -o -name '.*.flags' \) -type f -print \
| grep -v lxdialog/ | xargs rm -f
rm -f kernel/ksyms.lst include/linux/compile.h vmlinux System.map .tmp* drivers/char/consolemap_deftbl.c drivers/video/promcon_tbl.c drivers/char/conmakehash drivers/char/drm/*-mod.c drivers/pci/devlist.h drivers/pci/classlist.h drivers/pci/gen-devlist drivers/zorro/devlist.h drivers/zorro/gen-devlist drivers/sound/bin2hex drivers/sound/hex2hex drivers/atm/fore200e_mkfirm drivers/atm/{pca,sba}*{.bin,.bin1,.bin2} drivers/scsi/aic7xxx/aicasm/aicasm drivers/scsi/aic7xxx/aicasm/aicasm_gram.c drivers/scsi/aic7xxx/aicasm/aicasm_gram.h drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.c drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.h drivers/scsi/aic7xxx/aicasm/aicasm_macro_scan.c drivers/scsi/aic7xxx/aicasm/aicasm_scan.c drivers/scsi/aic7xxx/aicasm/aicdb.h drivers/scsi/aic7xxx/aicasm/y.tab.h drivers/scsi/53c700_d.h drivers/tc/lk201-map.c net/khttpd/make_times_h net/khttpd/times.h submenu* drivers/ieee1394/oui.c arch/i386/kernel/mosasm.H arch/i386/kernel/offset hpc/auto_syscalls.c hpc/mkdefcalls hpc/alternate.c vmlinux.symtab
rm -rf modules
/usr/bin/make -C Documentation/DocBook clean
make[2]: Entering directory `/usr/src/linux-2.4.26/Documentation/DocBook'
rm -f core *~
rm -f wanbook.sgml z8530book.sgml mcabook.sgml videobook.sgml kernel-api.sgml parportbook.sgml kernel-hacking.sgml kernel-locking.sgml via-audio.sgml mousedrivers.sgml sis900.sgml deviceiobook.sgml procfs-guide.sgml tulip-user.sgml journal-api.sgml
rm -f wanbook.dvi z8530book.dvi mcabook.dvi videobook.dvi kernel-api.dvi parportbook.dvi kernel-hacking.dvi kernel-locking.dvi via-audio.dvi mousedrivers.dvi sis900.dvi deviceiobook.dvi procfs-guide.dvi tulip-user.dvi journal-api.dvi wanbook.aux z8530book.aux mcabook.aux videobook.aux kernel-api.aux parportbook.aux kernel-hacking.aux kernel-locking.aux via-audio.aux mousedrivers.aux sis900.aux deviceiobook.aux procfs-guide.aux tulip-user.aux journal-api.aux wanbook.tex z8530book.tex mcabook.tex videobook.tex kernel-api.tex parportbook.tex kernel-hacking.tex kernel-locking.tex via-audio.tex mousedrivers.tex sis900.tex deviceiobook.tex procfs-guide.tex tulip-user.tex journal-api.tex wanbook.log z8530book.log mcabook.log videobook.log kernel-api.log parportbook.log kernel-hacking.log kernel-locking.log via-audio.log mousedrivers.log sis900.log deviceiobook.log procfs-guide.log tulip-user.log journal-api.log wanbook.out z8530book.out mcabook.out videobook.out kernel-api.out parportbook.out kernel-hacking.out kernel-locking.out via-audio.out mousedrivers.out sis900.out deviceiobook.out procfs-guide.out tulip-user.out journal-api.out
rm -f parport-share.png parport-multi.png parport-structure.png parport-share.eps parport-multi.eps parport-structure.eps
rm -f procfs_example.sgml
make[2]: Leaving directory `/usr/src/linux-2.4.26/Documentation/DocBook'
make[1]: Leaving directory `/usr/src/linux-2.4.26'
echo done > debian/stamp-kernel-conf
====== making target CONFIG-indep [new prereqs: conf.vars stamp-kernel-conf]======
This is kernel package version 11.001-0.1.
====== making target CONFIG/linux-source-2.4.26-om1 [new prereqs: CONFIG-indep]======
====== making target CONFIG/linux-doc-2.4.26-om1 [new prereqs: CONFIG-indep]======
====== making target CONFIG/linux-manual-2.4.26-om1 [new prereqs: CONFIG-indep]======
====== making target stamp-configure-indep [new prereqs: linux-source-2.4.26-om1 linux-doc-2.4.26-om1 linux-manual-2.4.26-om1]======
====== making target configure-indep [new prereqs: stamp-configure-indep]======
====== making target stamp-configure [new prereqs: configure-arch configure-indep]======
====== making target debian/stamp-build-kernel [new prereqs: sanity_check stamp-kernel-conf]======
This is kernel package version 11.001-0.1.
/usr/bin/make ARCH=i386 \
bzImage
make[1]: Entering directory `/usr/src/linux-2.4.26'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
scripts/split-include.c: In function ‘main’:
scripts/split-include.c:133: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/usr/src/linux-2.4.26/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
In file included from /usr/src/linux-2.4.26/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.26/include/linux/list.h:6,
from /usr/src/linux-2.4.26/include/linux/wait.h:14,
from /usr/src/linux-2.4.26/include/linux/fs.h:12,
from /usr/src/linux-2.4.26/include/linux/capability.h:17,
from /usr/src/linux-2.4.26/include/linux/binfmts.h:5,
from /usr/src/linux-2.4.26/include/linux/sched.h:9,
from /usr/src/linux-2.4.26/include/linux/mm.h:4,
from /usr/src/linux-2.4.26/include/linux/slab.h:14,
from /usr/src/linux-2.4.26/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.4.26/include/asm/processor.h:75: error: array type has incomplete element type
In file included from /usr/src/linux-2.4.26/include/linux/fs.h:323,
from /usr/src/linux-2.4.26/include/linux/capability.h:17,
from /usr/src/linux-2.4.26/include/linux/binfmts.h:5,
from /usr/src/linux-2.4.26/include/linux/sched.h:9,
from /usr/src/linux-2.4.26/include/linux/mm.h:4,
from /usr/src/linux-2.4.26/include/linux/slab.h:14,
from /usr/src/linux-2.4.26/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.4.26/include/linux/ncp_fs_i.h:26: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux-2.4.26/include/linux/ncp_fs_i.h:27: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’
In file included from /usr/src/linux-2.4.26/include/linux/ncp_mount.h:12,
from /usr/src/linux-2.4.26/include/linux/ncp_fs_sb.h:12,
from /usr/src/linux-2.4.26/include/linux/fs.h:745,
from /usr/src/linux-2.4.26/include/linux/capability.h:17,
from /usr/src/linux-2.4.26/include/linux/binfmts.h:5,
from /usr/src/linux-2.4.26/include/linux/sched.h:9,
from /usr/src/linux-2.4.26/include/linux/mm.h:4,
from /usr/src/linux-2.4.26/include/linux/slab.h:14,
from /usr/src/linux-2.4.26/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.4.26/include/linux/ncp.h:24: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux-2.4.26/include/linux/ncp.h:25: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux-2.4.26/include/linux/ncp.h:26: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux-2.4.26/include/linux/ncp.h:27: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux-2.4.26/include/linux/ncp.h:28: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux-2.4.26/include/linux/ncp.h:29: warning: ‘packed’ attribute ignored for field of type ‘__u8[]’
/usr/src/linux-2.4.26/include/linux/ncp.h:37: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux-2.4.26/include/linux/ncp.h:38: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux-2.4.26/include/linux/ncp.h:39: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux-2.4.26/include/linux/ncp.h:40: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux-2.4.26/include/linux/ncp.h:41: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux-2.4.26/include/linux/ncp.h:42: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux-2.4.26/include/linux/ncp.h:43: warning: ‘packed’ attribute ignored for field of type ‘__u8[]’
/usr/src/linux-2.4.26/include/linux/ncp.h:137: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux-2.4.26/include/linux/ncp.h:138: warning: ‘packed’ attribute ignored for field of type ‘__u8[256]’
/usr/src/linux-2.4.26/include/linux/ncp.h:174: warning: ‘packed’ attribute ignored for field of type ‘__u8’
In file included from /usr/src/linux-2.4.26/include/asm/smp.h:17,
from /usr/src/linux-2.4.26/include/linux/smp.h:14,
from /usr/src/linux-2.4.26/include/linux/sched.h:23,
from /usr/src/linux-2.4.26/include/linux/mm.h:4,
from /usr/src/linux-2.4.26/include/linux/slab.h:14,
from /usr/src/linux-2.4.26/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.4.26/include/asm/mpspec.h:87: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[6]’
In file included from /usr/src/linux-2.4.26/include/linux/sched.h:23,
from /usr/src/linux-2.4.26/include/linux/mm.h:4,
from /usr/src/linux-2.4.26/include/linux/slab.h:14,
from /usr/src/linux-2.4.26/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.4.26/include/linux/smp.h:29: error: conflicting types for ‘smp_send_reschedule’
/usr/src/linux-2.4.26/include/asm/smp.h:42: error: previous declaration of ‘smp_send_reschedule’ was here
In file included from /usr/src/linux-2.4.26/include/hpc/hpctask.h:13,
from /usr/src/linux-2.4.26/include/linux/sched.h:33,
from /usr/src/linux-2.4.26/include/linux/mm.h:4,
from /usr/src/linux-2.4.26/include/linux/slab.h:14,
from /usr/src/linux-2.4.26/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.4.26/include/hpc/defs.h:86: error: array type has incomplete element type
In file included from /usr/src/linux-2.4.26/include/linux/unistd.h:9,
from init/main.c:17:
/usr/src/linux-2.4.26/include/asm/unistd.h:375: warning: conflicting types for built-in function ‘_exit’
In file included from /usr/src/linux-2.4.26/include/linux/smp_lock.h:21,
from init/main.c:24:
/usr/src/linux-2.4.26/include/asm/smplock.h: In function ‘lock_mosix’:
/usr/src/linux-2.4.26/include/asm/smplock.h:91: warning: ‘get_current’ is static but used in inline function ‘lock_mosix’ which is not static
/usr/src/linux-2.4.26/include/asm/smplock.h:92: warning: ‘spin_lock’ is static but used in inline function ‘lock_mosix’ which is not static
/usr/src/linux-2.4.26/include/asm/smplock.h: In function ‘unlock_mosix’:
/usr/src/linux-2.4.26/include/asm/smplock.h:97: warning: ‘get_current’ is static but used in inline function ‘unlock_mosix’ which is not static
/usr/src/linux-2.4.26/include/asm/smplock.h:99: warning: ‘get_current’ is static but used in inline function ‘unlock_mosix’ which is not static
/usr/src/linux-2.4.26/include/asm/smplock.h:100: warning: ‘spin_unlock’ is static but used in inline function ‘unlock_mosix’ which is not static
init/main.c: In function ‘start_kernel’:
init/main.c:366: warning: format not a string literal and no format arguments
make[1]: *** [init/main.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.26'
make: *** [debian/stamp-build-kernel] Error 2
root@ali-desktop:/usr/src/linux#
اینم پخش خطا سیستمم اوبنتو ۸.۱۰ هستش
هسته ی مورد تست ۲.۴.۲۶ و پچ اپن ماسیکس ۲.۴.۲۶-۱
چکار کنم