dgiagio/ipheth — Issue #14: Compilation troubles in 3.2.0.15
Author: captn3m0
Created: 2012-02-19 04:07:24+00:00
State: open

I was trying to recompile the module for my iPad 2 (wifi+3g). However, I'm facing the following troubles while compiling..

make -C /lib/modules/3.2.0-15-generic/build M=/home/nemo/projects/ubuntu_packages/ipheth/ipheth-driver modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-15-generic'
CC [M] /home/nemo/projects/ubuntu_packages/ipheth/ipheth-driver/ipheth.o
/home/nemo/projects/ubuntu_packages/ipheth/ipheth-driver/ipheth.c: In function ‘ipheth_probe’:
/home/nemo/projects/ubuntu_packages/ipheth/ipheth-driver/ipheth.c:480:8: error: ‘struct net_device’ has no member named ‘open’
/home/nemo/projects/ubuntu_packages/ipheth/ipheth-driver/ipheth.c:481:8: error: ‘struct net_device’ has no member named ‘stop’
/home/nemo/projects/ubuntu_packages/ipheth/ipheth-driver/ipheth.c:482:8: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/nemo/projects/ubuntu_packages/ipheth/ipheth-driver/ipheth.c:483:8: error: ‘struct net_device’ has no member named ‘tx_timeout’
/home/nemo/projects/ubuntu_packages/ipheth/ipheth-driver/ipheth.c:484:8: error: ‘struct net_device’ has no member named ‘get_stats’
make[2]: *** [/home/nemo/projects/ubuntu_packages/ipheth/ipheth-driver/ipheth.o] Error 1
make[1]: *** [_module_/home/nemo/projects/ubuntu_packages/ipheth/ipheth-driver] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-15-generic'
make: *** [all] Error 2

I've installed the required header files, and even tried to get the source package from ubuntu and compile it, but I'm hit by the same error.