PDA

View Full Version : ndiswrapper compiling error


glerm
30th August 2004, 06:58 AM
Hello

I have downloaded ndisswrapper 0.9 from sourceforge, and have been trying in vain
compling it.

It reports errors in the kernel header files.

I am using fedora core 1 with 2.4.22-1.2115.nptl along with ndiswrapper 0.9.


I have searched your forum for solutions but have been any wiser.

Any help would be greatly appreciated.

imdeemvp
30th August 2004, 09:31 AM
can you post the error so the other guys can help you.....without seeing the error there is no way to tell what's wrong!

foolish
30th August 2004, 02:07 PM

have a look at this guide: http://fedoranews.org/contributors/e_a_graham_jr/ndis/

glerm
5th September 2004, 10:30 AM
Hello Guys

Here is the output of my attempt to make install ndiswrapper. I apologize for the length of the post.

kernel used is 2.4.22-1.2115.nptlsmp
ndiswrapper used is ndiswrapper-0.10

This post is not complete due to limitation of number of chars (about 90000)

Thanks



make -C driver install
make[1]: Entering directory `/download/ndiswrapper/ndiswrapper-0.10/driver'
cc -DNDISWRAPPER_VERSION=\"0.10\" -DEXTRA_VERSION=\"\" -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.22-1.2115.nptlsmp/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c -o wrapper.o wrapper.c
make[1]: Leaving directory `/download/ndiswrapper/ndiswrapper-0.10/driver'
make -C driver install
make[1]: Entering directory `/download/ndiswrapper/ndiswrapper-0.10/driver'
cc -DNDISWRAPPER_VERSION=\"0.10\" -DEXTRA_VERSION=\"\" -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.22-1.2115.nptlsmp/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c -o wrapper.o wrapper.c
make[1]: Leaving directory `/download/ndiswrapper/ndiswrapper-0.10/driver'


/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:572: error: dereferencing pointer to incomplete type
In file included from /lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/vmalloc.h:4,
from wrapper.c:18:
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:579:25: asm/current.h: No such file or directory
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h: At top level:
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:622: error: syntax error before '*' token
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:622: warning: function declaration isn't a prototype
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:624: error: syntax error before "sigset_t"
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:624: warning: function declaration isn't a prototype
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h: In function `signal_pending':
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:643: error: dereferencing pointer to incomplete type
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h: At top level:
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:650: error: syntax error before '*' token
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:651: warning: function declaration isn't a prototype
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h: In function `has_pending_signals':
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:655: error: `_NSIG_WORDS' undeclared (first use in this function)
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:657: warning: left-hand operand of comma expression has no effect
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:658: error: `signal' undeclared (first use in this function)
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:658: error: `blocked' undeclared (first use in this function)
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h: In function `recalc_sigpending':
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:682: error: dereferencing pointer to incomplete type
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:682: error: dereferencing pointer to incomplete type
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:682: error: dereferencing pointer to incomplete type
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h: In function `on_sig_stack':
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:689: error: `current' undeclared (first use in this function)
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h: In function `sas_ss_flags':
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:694: error: `current' undeclared (first use in this function)
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h: In function `suser':
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:719: error: `current' undeclared (first use in this function)
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h: In function `fsuser':
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:728: error: `current' undeclared (first use in this function)
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h: In function `capable':
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:744: error: `current' undeclared (first use in this function)
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h: In function `mmdrop':
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:767: error: dereferencing pointer to incomplete type
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h: At top level:
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h:805: error: conflicting types for `kernel_thread'
/usr/include/asm/processor.h:435: error: previous declaration of `kernel_thread'
/lib/modules/2.4.22-1.2115.nptlsmp/build/include/linux/sched.h: In function `del_from_runqueue':