LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 06-20-2006, 03:47 AM   #1
Atreo
LQ Newbie
 
Registered: Jun 2006
Posts: 22

Rep: Reputation: 15
Problem instaling ndiswrapper


Hi there

Now that I've finished my exams I'm trying Slackware.
I'm newbie in Linux and I need some help with this problem when instaling ndiswrapper:


root@darkstar:~/ndiswrapper-1.17# make
make -C driver
make[1]:
Entering directory `/root/ndiswrapper-1.17/driver'

cc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.31/build/include/linux/modversions.h
-DUSB_DRIVER_OWNER -freg-struct-return -DDRIVER_VERSION=\"1.17\" -DLINUX -D__KERNEL__ -DMODULE
-I/lib/modules/2.4.31/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing
-pipe -O2 -mpreferred-stack-boundary=2

-c -o hal.o hal.c
In file included from ntoskernel.h:333,


from hal.c:24:
winnt_types.h:125:2:
#error "gcc 3.4 or newer should be used for compiling this module"
In file included from hal.c:24:
ntoskernel.h:689:
error: syntax error before "LONG"
ntoskernel.h:690:
error: syntax error before "LONG"
ntoskernel.h:691:
error: syntax error before "struct"
ntoskernel.h:693:
error: syntax error before "struct"
ntoskernel.h:695:
error: syntax error before "struct"
ntoskernel.h:721:
error: syntax error before "NTSTATUS"
ntoskernel.h:756:
error: syntax error before "KIRQL"
ntoskernel.h:757:
error: syntax error before "void"
ntoskernel.h:758:
error: syntax error before "KIRQL"
ntoskernel.h:759:
error: syntax error before "void"
ntoskernel.h:760:
error: syntax error before "void"
ntoskernel.h:761:
error: syntax error before "void"
ntoskernel.h:813:
error: syntax error before "LONG"
ntoskernel.h:814:
error: syntax error before "void"
hal.c:122:
error: syntax error before "KIRQL"
hal.c:132:
error: syntax error before "void"
hal.c:140:
error: syntax error before "KIRQL"
hal.c:147:
error: syntax error before "void"
hal.c:154:
error: syntax error before "void"
hal.c:166:
error: syntax error before "void"
make[1]:
*** [hal.o] Error 1
make[1]: Leaving directory `/root/ndiswrapper-1.17/driver'
make: *** [all] Error 2

How do I solve it?

Thanks in advance buddies
 
Old 06-20-2006, 04:22 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,111

Rep: Reputation: Disabled
Three options:
  1. upgrade your Slackware to Slackware 11 (soon to be released) or if you can't wait, use slackware-current
  2. Use ndiswrapper 1.14 which is the last version to compoile on a 2.4 kernel
  3. Use a 2.6 kernel with ndiswrapper 1.15

Eric
 
Old 06-20-2006, 04:46 AM   #3
Atreo
LQ Newbie
 
Registered: Jun 2006
Posts: 22

Original Poster
Rep: Reputation: 15
Hi Eric!!

Thank you so much for your answer!!

I downloaded last version of ndiswrapper because it was the only one to download, but I'll search for 1.14 one.

I'll tell you how it goes.

Thanks again.
 
Old 06-20-2006, 04:52 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,111

Rep: Reputation: Disabled
Look here (includes SlackBuild script and binary Slackware packages):
http://www.slackware.com/~alien/slac...wrapper/build/

Eric
 
Old 06-20-2006, 08:42 AM   #5
dkpw
Member
 
Registered: Sep 2003
Location: Scotland
Distribution: LinuxMint16 & Ubuntu 12.0.4 LTS
Posts: 218

Rep: Reputation: 30
Quote:
Originally Posted by Alien Bob
Look here (includes SlackBuild script and binary Slackware packages):
http://www.slackware.com/~alien/slac...wrapper/build/

Eric
Eric,

Thank you for your Ndiswrapper 1.15 package for the 2.6.x kernel. This is the first Ndiswrapper package I have had NO problems with.

Regards,

dkpw

Last edited by dkpw; 06-20-2006 at 01:17 PM.
 
Old 06-23-2006, 11:29 AM   #6
Atreo
LQ Newbie
 
Registered: Jun 2006
Posts: 22

Original Poster
Rep: Reputation: 15
Smile

Hi again!!

I've tested ndiswrapper1.14 that seems working fine, no errors when instal˝ing and executing.

BUT something is wrong because the *.inf file provided by the CD is said 'wrong driver!' by ndiswrapper.

I think it's the end of this because on *.inf file we can't do anything. Maybe it only works on windows or maybe it's not a driver made for w'XP (maybe it was released for w2000) who knows...



Thank you very much for all your answers.

 
Old 06-23-2006, 02:23 PM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,111

Rep: Reputation: Disabled
You can look up information about Windows drivers that work with your card and ndiswrapper here: http://ndiswrapper.sourceforge.net/m...index.php/List

Eric
 
Old 06-24-2006, 06:02 AM   #8
Atreo
LQ Newbie
 
Registered: Jun 2006
Posts: 22

Original Poster
Rep: Reputation: 15
Thank you!!

I'm going to take a look
 
Old 06-25-2006, 09:05 PM   #9
the1sephiroth
Member
 
Registered: Oct 2005
Location: east coast
Distribution: Ubuntu
Posts: 131

Rep: Reputation: 15
i seem to be having a wierder problem. i installed the ndiswrapper 1.14 and found the correct drivers from the disc, copied them over onto the hard drive, followed the docs step by step. it sees the access point and everything, but i still dont have internet.

is this some sort of ip problem?
 
Old 06-25-2006, 09:15 PM   #10
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,342

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
try running dhcp client (/sbin/dhcpcd) to get an IP address for that network
 
Old 06-25-2006, 10:25 PM   #11
the1sephiroth
Member
 
Registered: Oct 2005
Location: east coast
Distribution: Ubuntu
Posts: 131

Rep: Reputation: 15
ok i did that, it sat there for a minute or 2 and then it didn't say anything and gave me another prompt. i checked and my ip address was still unknown.

what now?
 
Old 06-26-2006, 01:19 AM   #12
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,342

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
have you give a parameter on it?
on my campuss, i use /sbin/dhcpcd -d -t 10 eth1 (it's centrino, so it was detected as eth1)
 
Old 06-26-2006, 06:56 PM   #13
the1sephiroth
Member
 
Registered: Oct 2005
Location: east coast
Distribution: Ubuntu
Posts: 131

Rep: Reputation: 15
woo it works. thanks! but i notice it goes down alot and i have to redo it, why is this?
 
Old 06-26-2006, 07:27 PM   #14
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,342

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
well, it depends on the quality of the AP i think, not because of your hardware
 
Old 06-26-2006, 08:08 PM   #15
the1sephiroth
Member
 
Registered: Oct 2005
Location: east coast
Distribution: Ubuntu
Posts: 131

Rep: Reputation: 15
its always done great on other distros. and even halfway decent on windows. i'm so close to running ethernet to my room. if i didn't have to go under the house i would. is it easy to set it up on the network on ethernet?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem instaling new languages roee Linux - Software 2 06-09-2006 03:36 AM
Problem instaling Mandrake 10.1 DVD edition :S shadyboy Mandriva 1 03-23-2005 05:50 PM
Problem Instaling my dial up modem branens Linux - Hardware 1 02-09-2005 06:55 AM
Problems Instaling stevencu Mandriva 12 10-25-2004 05:16 PM
instaling problem Q-Bert Linux - Software 2 07-01-2003 05:34 PM


All times are GMT -5. The time now is 01:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration