Results 1 to 2 of 2
Okay so I just got Linux for the first time and I'm running Ubuntu. I've been trying to get my wireless internet to work so I've been trying to install ...
- 12-11-2008 #1Just Joined!
- Join Date
- Dec 2008
- Posts
- 3
Error with makefile
Okay so I just got Linux for the first time and I'm running Ubuntu. I've been trying to get my wireless internet to work so I've been trying to install ndiswrapper, but every time I try and install it i get a whole mess of errors, same happens when i try to install the linux driver i downloaded for my specific wireless card.
I'm really hoping you guys can help out, i probably dont have something installed or a really noobish problem. Anyway thanks in advance.Code:bamrocket@bamrocket-desktop:~/Documents/ndiswrapper-1.53$ make make -C driver make[1]: Entering directory `/home/bamrocket/Documents/ndiswrapper-1.53/driver' make -C /usr/src/linux-headers-2.6.27-7-generic M=/home/bamrocket/Documents/ndiswrapper-1.53/driver make[2]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic' CC [M] /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.o /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c: In function ‘ndis_translate_scan’: /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1037: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1037: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1037: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1037: error: too few arguments to function ‘iwe_stream_add_event’ /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1047: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1047: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1047: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1047: error: too few arguments to function ‘iwe_stream_add_point’ /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1053: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1053: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1053: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1053: error: too few arguments to function ‘iwe_stream_add_event’ /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1064: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1064: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1064: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1064: error: too few arguments to function ‘iwe_stream_add_event’ /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1079: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1079: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1079: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1079: error: too few arguments to function ‘iwe_stream_add_event’ /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1093: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1093: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1093: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1093: error: too few arguments to function ‘iwe_stream_add_event’ /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1104: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1104: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1104: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1104: error: too few arguments to function ‘iwe_stream_add_point’ /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1120: warning: passing argument 1 of ‘iwe_stream_add_value’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1120: warning: passing argument 4 of ‘iwe_stream_add_value’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1120: warning: passing argument 5 of ‘iwe_stream_add_value’ makes pointer from integer without a cast /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1120: error: too few arguments to function ‘iwe_stream_add_value’ /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1131: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1131: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1131: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1131: error: too few arguments to function ‘iwe_stream_add_point’ /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1137: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1137: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1137: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1137: error: too few arguments to function ‘iwe_stream_add_point’ /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1159: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1159: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1159: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type /home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.c:1159: error: too few arguments to function ‘iwe_stream_add_point’ make[3]: *** [/home/bamrocket/Documents/ndiswrapper-1.53/driver/iw_ndis.o] Error 1 make[2]: *** [_module_/home/bamrocket/Documents/ndiswrapper-1.53/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/bamrocket/Documents/ndiswrapper-1.53/driver' make: *** [all] Error 2 bamrocket@bamrocket-desktop:~/Documents/ndiswrapper-1.53$
(And please do not refer me to Google that is all i have done for the last 5 hours or so trying to fix this)
- 12-12-2008 #2
Hello and welcome to Linux!
You've fallen into the trap a lot of new Linux users fall into. When installing new software it's best to use a package manager rather than installing from source like you are. Sometimes you will need to install from source but most of the time the software you are after is available via your package manager.
Package managers take care of all dependencies for you and will automatically install software onto your system. For instance, to install ndiswrapper in Ubuntu you use the command:
You will need an Internet connection for this to work though so if you can connect your computer to your network via an Ethernet cable you should be okay. Otherwise you will need to download the ndiswrapper package and copy it over to your computer. It is available to download from:Code:sudo apt-get install ndiswrapper-common
http://gb.archive.ubuntu.com/ubuntu/...buntu1_all.debLinux User #453176


Reply With Quote