On Thu, 13 Aug 2009, Roland Hughes wrote:
I pulled down the 2009_02_08 bz2 file from :
http://linmodems.technion.ac.il/packages/intel/Philippe.Vouters/ and
tried to compile under Karmic Koala. It appears the proc_dir_entry
structure has changed significantly and now this source won't compile.
Looks like one of my messages ;)
Your source seems old. I've got intel-536EP-537EP_2009_07_04.tar.bz2 here, and
there may be one beyond that.
make[2]: Entering directory `/usr/src/linux-headers-2.6.31-3-generic'
CC [M] /home/abc/downloads/intel-536EP-2.56.76.0/coredrv/coredrv.o
/home/abc/downloads/intel-536EP-2.56.76.0/coredrv/coredrv.c: In
function ?create_hamproc?:
/home/abc/downloads/intel-536EP-2.56.76.0/coredrv/coredrv.c:785:
error: ?struct proc_dir_entry? has no member named ?owner?
make[3]: *** [/home/abc/downloads/intel-536EP-2.56.76.0/coredrv/
coredrv.o] Error 1
make[2]: *** [_module_/home/abc/downloads/intel-536EP-2.56.76.0/
coredrv] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-3-generic'
make[1]: *** [536core_26] Error 2
make[1]: Leaving directory `/home/abc/downloads/intel-536EP-2.56.76.0/
coredrv'
2.6.31-3-generic
Failed to build driver
That looks very familiar, so this issue may be fixed already. However, it's
possible the kernel devs have been at it again since I'm not at 2.6.31.x yet.
These kernels come out so fast I can't keep up with them. I'll try it and see.
I took a look at proc_fs.h and see it now has
struct proc_dir_entry {
unsigned int low_ino;
unsigned short namelen;
const char *name;
mode_t mode;
nlink_t nlink;
uid_t uid;
gid_t gid;
loff_t size;
I'm going to power down and try my smartlink modem now.
I'd try the lastest source first. I've got several URL's for Intel modules, so
look and see:
http://vouters.dyndns.org:8080/Intel/
Supposedly the new one, but I've not visited yet:
http://x9000.fr:8088/Intel/
http://www.x9000.fr/Intel/