Notes for installing drcom from Ubuntu source code later than version 8.04. I have already installed drcom. To make it easier to remember, copy other users to install drcom from the source code, make reports an error. Both 9.10 and 10.04 have this problem. /Tmp/drcom. c: Infunction 'build _ ack_skb':/tmp/drcom. c: 686: error: 'sk SK _ buff'
Notes for installing drcom from Ubuntu source code later than version 8.04. I have already installed drcom. To make it easier to remember, copy other users to install drcom from the source code, make reports an error. Both 9.10 and 10.04 have this problem.
/Tmp/drcom. c: In function 'build _ ack_skb ':
/Tmp/drcom. c: 686: error: 'struct sk_buff 'has no member named 'dst'
/Tmp/drcom. c: In function 'build _ auth_skb ':
/Tmp/drcom. c: 723: error: 'struct sk_buff 'has no member named 'dst'
Make [3]: *** [/tmp/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!
Solution:
Edit/kmod/drcom. c
Search for _ ip_select_ident (iph, skb-> dst, 0 );
Change to _ ip_select_ident (iph, skb_dst (skb), 0 );
Tip: There are two changes to be made. We recommend that you install the dkms package, sudo apt-get install dkms, so you do not need to manually compile drcom after each kernel update.