You are not logged in.

#1 2014-07-16 00:00:47

kinkinkijkin
Member
Registered: 2014-07-15
Posts: 30

Help compiling ndiswrapper?

So, I'm completely at ends as to what I've forgotten. I've run into this exact problem before but never reported to anyone how I fixed it, and have completely forgotten how I fixed it.

So, I'm not root, of course, and I run make uninstall, as instructed, no errors, run make, and I run into this:

  CC [M]  /home/myusername/folderwhereidumpedthesource/ndiswrapper-1.59/driver/crt.o
/home/myusername/folderwhereidumpedthesource/ndiswrapper-1.59/driver/crt.c: In fucking '_win_srand':
/home/myusername/folderwhereidumpedthesource/ndiswrapper-1.59/driver/crt.c:470:2: error: implicit declaration of function 'net_srandom' [-Werror=implicit-function-declaration]
  net_srandom(seed);
  ^
cc1: some warnings being treated as errors
scripts/Makefile.build:318: recipe for target '/home/myusername/folderwhereidumpedthesource/ndiswrapper-1.59/driver/crt.o' failed
make[3]: *** [/home/myusername/folderwhereidumpedthesource/ndiswrapper-1.59/driver/crt.o] Error 1
Makefile:1310: recipe for target '_module_//home/myusername/folderwhereidumpedthesource/ndiswrapper-1.59/driver' failed
make[2]: *** [_module_/home/myusername/folderwhereidumpedthesource/ndiswrapper-1.59/driver] Error 2
make[2]: Leaving directory '/usr/lib/modules/3.15.5-1-ARCH/build'
Makefile:183: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/home/myusername/folderwhereidumpedthesource/ndiswrapper-1.59/driver'
Makefile:23: recipe for target 'driver' failed
make: *** [driver] Error 2

(that took way too long to copy)

I have base-devel (obviously), linux-headers, and ran pacman -Syu a bit before I tried this, but I still don't know what I could be doing wrong.

Also, I have no idea if this is in the right subforum, so, if it isn't, I'd love it if an admin/moderator could move it.

Offline

#2 2014-07-16 00:15:20

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Help compiling ndiswrapper?

Is there a reason you aren't using the AUR package?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-07-16 00:22:06

kinkinkijkin
Member
Registered: 2014-07-15
Posts: 30

Re: Help compiling ndiswrapper?

I tried the AUR package and that, for some reason, was successful but didn't work, so I fell back on the method I'm more experienced with.

Offline

#4 2014-07-16 00:27:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Help compiling ndiswrapper?

Well, the AUR PKGBUILD is just automating what you are trying to do above. Your effort might be better directed in troubleshooting why your card is not working with ndiswrapper, rather than why it won't compile for you.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-07-16 00:29:50

kinkinkijkin
Member
Registered: 2014-07-15
Posts: 30

Re: Help compiling ndiswrapper?

It's not that it isn't working with ndiswrapper, it's that ndiswrapper didn't seem to exist after I installed it via the AUR package.

EDIT: I feel rather stupid now, I just realized why the AUR package did nothing. I downloaded it via root and tried to install it later via my user.

Last edited by kinkinkijkin (2014-07-16 00:31:25)

Offline

#6 2014-07-16 00:33:32

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Help compiling ndiswrapper?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB