problems compiling enbd-2.4.32pre and fr1-2.16 under kernel 2.6.8.1

edward mzj <[email protected]>
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
hi
i have a few problems when compiling the
enbd-2.4.32pre and fr1-2.16, 
using the kernel source 2.6.8.1 .
1. when compiling the enbd without patching the kernel
source, i found
   a typo @ line 309, in the
./nbd-2.4.32/kernel/linux-2.6.x/Makefile. 
   this is easy to correct
   
   $(srctree)/scripts/docproc
$(srctree)/scripts/split-include : $(srctree)/)scripts
;
2. after i modified the Makefile and compiled it
again, the make said she 
   could not find
./nbd-2.4.32/kernel/linux-2.6.x/scripts/fixdep.c,
which's 
   needed to build fixdep. this time i don't know how
to fix it. 
   
   so i patched the kernel and built it, it seems ok.
   
3. when compiling the fr1 driver with raid1 robust
read enabled, i found
   a undeclared var 'rdev' in function map in raid1.c.
i checked the mailing
   list and found the solution. so it's ok.
   
4. then i rebuilt the kernel. and this time, every
thing seemed to be fine
   except there is an undefined symbole '__udivdi3' in
the md.c @ line 3692
   
   realspeed = (j - mddev->resync_mark_cnt -
atomic_read(&md_throttle[mddev->md_minor]))/2/((jiffies-mddev->resync_mark)/HZ
+1) +1;
   
   how could i get rid of that?
   
sorry for my poor english.
thank you
 
edward
[email protected]


_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://cn.rd.yahoo.com/mail_cn/tag/yisou/music/*http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://cn.rd.yahoo.com/mail_cn/tag/yisou/image/*http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.