When using the source code to install drcom in Ubuntu, 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 'hasnomembernamed 'dst'/tmp/drcom. c: Inf
When using the source code to install drcom in Ubuntu, 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 lookup _ 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 that you do not need to manually compile drcom every time you update the kernel.