重新编译一下内核就好,也可以到网上下载

2008/5/23 <[email protected]>

> 声明:我不是作者。你安装错误是因为没有某些模块没有安装的原因
> 你是在xen上面安装的还是在本机上安装的呢?
> 建议你把出错的信息google下
>  如果找不到答案就把喝内核相关的包都安装了
>
>
>
>
> --
> [image: 祈福灾民,天佑中华!] <http://mail.163.com/hd/all/redirect/sos.htm>
>
> 在2008-05-23,Xti9er <[email protected]> 写道:
>
> 楼上是作者吗?谢谢
>
> 我之前是在2.6.23 的系统上的,今天在我本机的2.6.23 as5 系统上编译又有新的错误提示
> make: *** lib/modules/2.6.18-8.e15xen/build:No such file or directory.
> Stop.
> make: *** [default] Error 2
>
> 麻烦作者改进一下,谢谢,希望能得到改进后的代码。
>
> On 5月22日, 下午7時20分, jinsdb <[email protected]> wrote:
> > On 5月22日, 下午5时49分, [email protected] wrote:
> >
> >
> >
> >
> >
> > >  你的内核的版本是2.26.23的吗?
> > > 我的是2.6.18的内核
> > > 能不能把你的运行环境详细介绍下
> >
> > > 我可不想猜你的环境
> >
> > > --
> >
> > > 在2008-05-22,Xti9er <[email protected]> 写道:
> >
> > >  [01;31mk3 [01;34m ng # [00m make
> >
> > > +--------------------------------------------------------------+
> > >                         WNPS Is Not Poc Shell
> > >                         Version 0.26  by wzt
> > >                        http://www.xsec.org
> > >                         Hacking Your Kernel
> > > +--------------------------------------------------------------+
> > > make -C /lib/modules/2.6.23/build M=/home/ module
> > > s
> > > make[1]: Entering directory `/usr/src/linux-2.6.23'
> > >   CC [M]  /home//kshell.o
> > > /home//kshell.c: In function 'hook_func':
> > > /home//kshell.c:404: error: 'struct sk_buff' has
> > > no member named 'nh'
> > > /home//kshell.c:416: error: 'struct sk_buff' has
> > > no member named 'nh'
> > > /home//kshell.c:452: error: 'struct sk_buff' has
> > > no member named 'nh'
> > > /home//kshell.c:472: error: 'struct sk_buff' has
> > > no member named 'nh'
> > > /home//kshell.c:478: error: 'struct sk_buff' has
> > > no member named 'nh'
> > > /home//kshell.c:478: error: 'struct sk_buff' has
> > > no member named 'nh'
> > > /home//kshell.c:488: error: 'struct sk_buff' has
> > > no member named 'nh'
> > > /home//kshell.c:507: warning: control reaches end
> > >  of non-void function
> > > make[2]: *** [/home//kshell.o] Error 1
> > > make[1]: *** [_module_/home/] Error 2
> > > make[1]: Leaving directory `/usr/src/linux-2.6.23'
> > > make: *** [default] Error 2
> > >  [01;31mk3 [01;34m ng # [00m id
> > > uid=0(root) gid=0(root) groups=81(apache)
> >
> > > On 5月22日, 下午2时39分, [email protected] wrote:
> >
> > > >  什么出错信息
> >
> > > > --
> >
> > > > 在2008-05-22,Xti9er <[email protected]> 写道:
> >
> > > >http://www.xfocus.net/tools/200710/1233.html
> >
> > > > 这个东西,我编译的时候出错。也有人问过作者。作者说是高版本的内核参数不同造成的。
> >
> > > >    可我对内核不熟悉。-_-!
> >
> > > >     各位老大,帮帮忙!谢谢!- 隐藏被引用文字 -
> >
> > > - 显示引用的文字 -
> >
> > 这个错误是由于2.6.23以上版本的sk_buff结构发生变化导致,改一下相关的字段即可,
> > 我该过的代码在公司,没有办法cp出来,等有时间做个patch。- 隱藏被引用文字 -
> >
> > - 顯示被引用文字 -
>
>
>
>
> ------------------------------
> 中 国 最 强 网 游 --- 网 易 梦 幻 西 游 ,166 万 玩 家 同 时 在 线>
>  <http://event.mail.163.com/chanel/click.htm?from=NO_26&domain=126>

--~--~---------~--~----~------------~-------~--~----~
 要向邮件组发送邮件,请发到 [email protected]
 要退订此邮件,请发邮件至 [email protected]
-~----------~----~----~----~------~----~------~--~---

回复