[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ndiswrapper for Debian using 2.4 kernels



Hi everyone,

I recently installed Debian on an old Pentium II laptop which won't run with the 2.6 kernel (which is fine).  However, I seem to have trouble trying to get the wireless card to work.  It's a Linksys Wireless-B Notebook Adapter (WPC11).  I found that I had no choice but to use ndiswrapper-0.11 as all later versions require a 2.6 kernel.  I downloaded it from ndiswrapper.sourceforge.net , untarred it but 'make install' gave me errors during compilation and I don't understand why.

I have /lib/modules/2.4.27-2-386/build -> /usr/src/kernel-source-2.4.27 as required, and the error messages i get are mostly syntax errors.  It's too long to cut/paste them all so I'll only do a few lines:

...
wrapper.c:2246: error: storage size of `put_file' isn't known
wrapper.c:2250: error: dereferencing pointer to incomplete type
wrapper.c:2268: error: dereferencing pointer to incomplete type
wrapper.c:2279: error: invalid application of `sizeof' to an incomplete type
wrapper.c:2323: error: dereferencing pointer to incomplete type
wrapper.c:2338: error: storage size of `put_setting' isn't known
wrapper.c:2340: error: invalid application of `sizeof' to an incomplete type
wrapper.c :2338: warning: unused variable `put_setting'
wrapper.c:2246: warning: unused variable `put_file'
wrapper.c: At top level:
wrapper.c:2354: error:/lib/modules/2.4.27-2-386/build/include/linux/coda.h:261: error: storage size of `va_atime' isn't known
...
/lib/modules/2.4.27-2-386/build/include/linux/coda.h:262: error: storage size of `va_mtime' isn't known
/lib/modules/2.4.27-2-386/build/include/linux/coda.h:263: error: storage size of `va_ctime' isn't known
/lib/modules/2.4.27-2-386/build/include/linux/coda.h:566: error: storage size of `attr' isn't known
/lib/modules/2.4.27-2-386/build/include/linux/quota.h:225: error: storage size of `dq_dqb' isn't known
/lib/modules/2.4.27-2-386/build/include/linux/fs.h:577: error: storage size of `f_owner' isn't known
/lib/modules/2.4.27-2-386/build/include/linux/reiserfs_fs_sb.h:264: error: storage size of `j_journal_list' isn't known
/usr/include/asm-generic/siginfo.h:53: error: storage size of `_pad' isn't known
/lib/modules/2.4.27-2-386/build/include/linux/sched.h:364: error: storage size of `times' isn't known
 variable `wrapper_fops' has initializer but incomplete type
wrapper.c:2355: error: unknown field `owner' specified in initializer
...

What am I doing wrong?  Any help is much appreciated.

Thanks,
-Glen


Reply to: