PDA

View Full Version : NDIS Wrapper..



Colin-Roberts
04-01-2009, 05:36 PM
I'm trying to install ndis wrapper to use my wireless. This is on the latest ubuntu.

The error is long so i saved it to a text file.
http://www.zetolic.com/error.txt

colin@colin-desktop:~/Desktop/ndis$ make
make -C driver
make[1]: Entering directory `/home/colin/Desktop/ndis/driver'
make -C /usr/src/linux-headers-2.6.27-7-generic M=/home/colin/Desktop/ndis/driver
make[2]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
CC [M] /home/colin/Desktop/ndis/driver/iw_ndis.o
/home/colin/Desktop/ndis/driver/iw_ndis.c: In function ‘ndis_translate_scan’:
/home/colin/Desktop/ndis/driver/iw_ndis.c:1037: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1037: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1037: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/colin/Desktop/ndis/driver/iw_ndis.c:1037: error: too few arguments to function ‘iwe_stream_add_event’
/home/colin/Desktop/ndis/driver/iw_ndis.c:1047: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1047: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1047: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1047: error: too few arguments to function ‘iwe_stream_add_point’
/home/colin/Desktop/ndis/driver/iw_ndis.c:1053: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1053: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1053: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/colin/Desktop/ndis/driver/iw_ndis.c:1053: error: too few arguments to function ‘iwe_stream_add_event’
/home/colin/Desktop/ndis/driver/iw_ndis.c:1064: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1064: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1064: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/colin/Desktop/ndis/driver/iw_ndis.c:1064: error: too few arguments to function ‘iwe_stream_add_event’
/home/colin/Desktop/ndis/driver/iw_ndis.c:1079: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1079: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1079: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/colin/Desktop/ndis/driver/iw_ndis.c:1079: error: too few arguments to function ‘iwe_stream_add_event’
/home/colin/Desktop/ndis/driver/iw_ndis.c:1093: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1093: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1093: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/colin/Desktop/ndis/driver/iw_ndis.c:1093: error: too few arguments to function ‘iwe_stream_add_event’
/home/colin/Desktop/ndis/driver/iw_ndis.c:1104: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1104: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1104: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1104: error: too few arguments to function ‘iwe_stream_add_point’
/home/colin/Desktop/ndis/driver/iw_ndis.c:1120: warning: passing argument 1 of ‘iwe_stream_add_value’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1120: warning: passing argument 4 of ‘iwe_stream_add_value’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1120: warning: passing argument 5 of ‘iwe_stream_add_value’ makes pointer from integer without a cast
/home/colin/Desktop/ndis/driver/iw_ndis.c:1120: error: too few arguments to function ‘iwe_stream_add_value’
/home/colin/Desktop/ndis/driver/iw_ndis.c:1131: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1131: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1131: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1131: error: too few arguments to function ‘iwe_stream_add_point’
/home/colin/Desktop/ndis/driver/iw_ndis.c:1137: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1137: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1137: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1137: error: too few arguments to function ‘iwe_stream_add_point’
/home/colin/Desktop/ndis/driver/iw_ndis.c:1159: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1159: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1159: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/colin/Desktop/ndis/driver/iw_ndis.c:1159: error: too few arguments to function ‘iwe_stream_add_point’
make[3]: *** [/home/colin/Desktop/ndis/driver/iw_ndis.o] Error 1
make[2]: *** [_module_/home/colin/Desktop/ndis/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/colin/Desktop/ndis/driver'
make: *** [all] Error 2

Tomm
04-01-2009, 05:41 PM
ndiswraper does not compile in kernel version 2.6.27 without the use of a patch (witch you can find here: http://www.slackware.com/~alien/slackbuilds/ndiswrapper/build/ndiswrapper_kernel_2.6.27.patch).

To use the patch download the file, copy it to your ndiswrapper directory (where you would type make from), open a terminal and CD to the directory and type:

patch -pl < ndiswrapper_kernel_2.6.27.patch

Then try to compile it.

Colin-Roberts
04-01-2009, 06:24 PM
ok, I got the drivers to work using this http://ankurs.com/2008/04/installing-ndiswrapper-on-ubuntu-804/ but:
http://www.tehupload.com/uploads/8558593d7aa81c1Screenshot2.png

Colin-Roberts
04-01-2009, 07:04 PM
tried tomm's way still same error.

Source
06-01-2009, 11:02 PM
We need more information, such as what the card is, the chipset etc.

Calon
06-01-2009, 11:37 PM
Try posting on ubuntu's support forums, you're likely to receive better advice and almost instantly, I can't remember if you need build-essential for it, or that was just my problem.

Flisker
09-01-2009, 09:05 PM
If you can use Madwifi?

Want to hide these adverts? Register an account for free!