日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

drcom linux最新版,Ubuntu高于8.04版本的源码安装drcom

發布時間:2024/1/8 linux 36 豆豆
生活随笔 收集整理的這篇文章主要介紹了 drcom linux最新版,Ubuntu高于8.04版本的源码安装drcom 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

Ubuntu高于8.04版本的源碼安裝drcom注意點,這里借用別個的,我的早安裝好了,為了方便記憶,把別人的copy過來,方便找用源碼安裝drcom時候,make報錯,9.10和10.04都此問題。

/tmp/drcom/drcom.c: In function ‘build_ack_skb’:

/tmp/drcom/drcom.c:686: error: ‘struct sk_buff’ has no member named ‘dst’

/tmp/drcom/drcom.c: In function ‘build_auth_skb’:

/tmp/drcom/drcom.c:723: error: ‘struct sk_buff’ has no member named ‘dst’

make[3]: *** [/tmp/drcom/drcom.o] Error 1

make[2]: *** [_module_/tmp/drcom] Error 2

make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-14-generic’

make[1]: *** [default] Error 2

make[1]: Leaving directory `/tmp/drcom’

Compile drcom kernel module failed!

解決方案:

編輯/kmod/drcom.c

查找__ip_select_ident(iph, skb->dst, 0);

改為 __ip_select_ident(iph, skb_dst(skb), 0);

Tip:一共有兩處需要修改,建議額外安裝dkms軟件包,sudo apt-get install dkms,這樣就不用每次更新內核后再手動編譯drcom了

總結

以上是生活随笔為你收集整理的drcom linux最新版,Ubuntu高于8.04版本的源码安装drcom的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。