 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

28th June 2005, 07:07 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: Edinburgh
Age: 31
Posts: 75

|
|
Error when Installing Wireless Card driver
How'ya folks...
I've been trying to install a driver for my wireless card so I can connect to the Internet using my Linux box... When running the "make install" command (as the installation instructions says) I recieve the following error:
[root@localhost linux-wlan-ng-0.1.6]# make install
set -e; for d in src doc man etc ; do make -C $d install ; done
make[1]: Entering directory `/tmp/linux-wlan-ng-0.1.6/src'
set -e; for d in am930 p80211 prism2 shared wlanctl wland nwepgen skeleton mkmeta `cat *.addon`; do make -C $d install ; done
cat: *.addon: No such file or directory
make[2]: Entering directory `/tmp/linux-wlan-ng-0.1.6/src/am930'
Nothing to do...
make[2]: Leaving directory `/tmp/linux-wlan-ng-0.1.6/src/am930'
make[2]: Entering directory `/tmp/linux-wlan-ng-0.1.6/src/p80211'
cc -O2 -Wall -Wstrict-prototypes -Winline -fomit-frame-pointer -pipe -D__LINUX_WLAN__ -D__KERNEL__ -DMODULE=1 -I../include -I/usr/src/linux/include -c -o p80211conv.o p80211conv.c
In file included from ../include/wlan/wlan_compat.h:461,
from p80211conv.c:58:
/usr/include/linux/modversions.h:1:2: error: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: error: #error but rather headers from the appropriate kernel package.
/usr/include/linux/modversions.h:3:2: error: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: error: #error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: error: #error to build against the currently-running kernel.
In file included from /usr/src/linux/include/asm/processor.h:18,
from /usr/src/linux/include/asm/thread_info.h:17,
from /usr/src/linux/include/linux/thread_info.h:21,
from /usr/src/linux/include/linux/spinlock.h:12,
from /usr/src/linux/include/linux/capability.h:45,
from /usr/src/linux/include/linux/sched.h:7,
from /usr/src/linux/include/linux/module.h:10,
from p80211conv.c:61:
/usr/src/linux/include/asm/system.h: In function ‘__set_64bit_var’:
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from /usr/src/linux/include/linux/irq.h:21,
from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from /usr/src/linux/include/asm/highmem.h:24,
from /usr/src/linux/include/linux/highmem.h:12,
from /usr/src/linux/include/linux/skbuff.h:27,
from p80211conv.c:65:
/usr/src/linux/include/asm/irq.h:16:25: error: irq_vectors.h: No such file or directory
In file included from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from /usr/src/linux/include/asm/highmem.h:24,
from /usr/src/linux/include/linux/highmem.h:12,
from /usr/src/linux/include/linux/skbuff.h:27,
from p80211conv.c:65:
/usr/src/linux/include/linux/irq.h: At top level:
/usr/src/linux/include/linux/irq.h:72: error: ‘NR_IRQS’ undeclared here (not in a function)
In file included from /usr/src/linux/include/linux/irq.h:74,
from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from /usr/src/linux/include/asm/highmem.h:24,
from /usr/src/linux/include/linux/highmem.h:12,
from /usr/src/linux/include/linux/skbuff.h:27,
from p80211conv.c:65:
/usr/src/linux/include/asm/hw_irq.h:28: error: ‘NR_IRQ_VECTORS’ undeclared here (not in a function)
In file included from p80211conv.c:65:
/usr/src/linux/include/linux/skbuff.h: In function ‘skb_add_data’:
/usr/src/linux/include/linux/skbuff.h:1067: warning: pointer targets in passing argument 1 of ‘csum_and_copy_from_user’ differ in signedness
p80211conv.c:66:26: error: linux/malloc.h: No such file or directory
p80211conv.c: In function ‘p80211pb_ether_to_p80211’:
p80211conv.c:231: error: ‘struct device’ has no member named ‘dev_addr’
p80211conv.c:237: error: ‘struct device’ has no member named ‘dev_addr’
p80211conv.c: In function ‘p80211pb_kfree_s’:
p80211conv.c:529: warning: implicit declaration of function ‘kfree_s’
make[2]: *** [p80211conv.o] Error 1
make[2]: Leaving directory `/tmp/linux-wlan-ng-0.1.6/src/p80211'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/tmp/linux-wlan-ng-0.1.6/src'
make: *** [install] Error 2
Can anyone **PLEASE** help me with one as I haven't got a clue  as to what I should be doing (I am relatively new to Fedora)...
Thanks
CICA
|

28th June 2005, 09:02 PM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 3,855

|
|
|
Give us a link to the driver you are trying to compile. And what version of fedora are your using? FC3? FC4? Are you using a 64 bit version?
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
|

28th June 2005, 09:24 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: Edinburgh
Age: 31
Posts: 75

|
|
|
Hi Tashirosgt,
I am using FC4 and the driver is called linux-wlan-ng-0.1.6. This is the URL I used to download the driver (can be found half way down the page as a .tar file)
Thanks for the reply
Rgds
CICA
|

28th June 2005, 09:25 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: Edinburgh
Age: 31
Posts: 75

|
|
|
|

28th June 2005, 11:29 PM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 3,855

|
|
|
I got the driver. Where do I get the pcmcia source?
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
|

29th June 2005, 04:55 AM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: Edinburgh
Age: 31
Posts: 75

|
|
How'ya friend...
Sorry but I ain't quite sure what u mean by "pcmcia source". Like I said I'm a total newbie to FC4 and the likes!
CICA
PS: I'll hazard a guess and say you're looking for the card source/brand, well its a RangeLAN-DS. Please let me know if this is not what you meant...
Rgds
CICA
|

29th June 2005, 02:33 PM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 3,855

|
|
|
When I do the command
make config
I am asked for the kernel source and then asked for:
pcmcia-cs source dir [/usr/src/pcmcia-cs-3.2.7]: \c
So I assume one needs the source for pcmcia-cs-3.2.7
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
|

29th June 2005, 09:10 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: Edinburgh
Age: 31
Posts: 75

|
|
Hi
This may well have been were the problem was as I didn't have a source specified for pcmcia-cs.
But I have now downloaded this package and installed it in /usr/src...
Incidently the version I have is pcmcia-cs-3.2.8 (if that makes any difference)
So I take it I have to run the make config command again in the /usr/src/linux-wlan-ng dir???
Thanks for the help with this...
CICA
|

30th June 2005, 02:38 PM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 3,855

|
|
|
Yes, you should do the make config again. Where did you get the pcmcia-cs source?
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
|

30th June 2005, 03:24 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: Edinburgh
Age: 31
Posts: 75

|
|
Found the source here: http://www.rocklinux.net/packages/pcmcia-cs.html
I have now made the config again. Can you please advise of the next step...
Thanks
CICA
|

30th June 2005, 05:54 PM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 3,855

|
|
|
I can't download the file from the sourceforge link on that page. The error says "page cannot be read".
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
|

30th June 2005, 06:38 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: Edinburgh
Age: 31
Posts: 75

|
|
|
Funny you should say that because I had quite a bit of difficulty locating the package too.
I tried several different sites but to no avail, I kept trying that one I sent you the URL of, and eventually it came up with the download page. You could keep trying it, or if it's not too big I could mail it to you, but I'd need to check the size of it first...
What ya think??
Thanks
CICA
|

1st July 2005, 12:17 AM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 3,855

|
|
|
ok, I have the source for pcmcia-cs. I ran the wlan's make config and got errors similar to yours. (My kernel source code was installed in /usr/src/kernels/2.6.11-1.1369_FC4-i686. Did you make a link from /usr/src/linux to that directory?)
I think the first fatal error is the one about not finding irq_vectors.h. As I read the Makefiles (for example in linux-wlan-ng-0.1.6/src/nwepgen/Makefile ) they want to look for *.h files in "$(LINUX_SRC)/include", but to find irq_vectors.h, I think they would have to look also in places like $(LINUX_SRC)/include/asm-i386/mach_default, which is where I find a file name irq_vectors.h.
I don't have any more time to look at this today, but I will look at it again tommorrow. The solution may involve editing the Makefiles to add another compile option like -I $(LINUX_SRC)/include/asm-xen/asm-i386/mach_default, which tells the compiler another path to use in looking for *.h files. But that would be alot of work!
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
|

1st July 2005, 03:00 AM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: Edinburgh
Age: 31
Posts: 75

|
|
Yeah I made a symlink from /usr/src/kernels/2.6.11-1.1369_FC4-i686 to /usr/src/linux...
Yeah I see what your saying about the irq_vectors, but I wouldn't be sure about the editing that would be required in the Makefiles...
Thanks for taking time to help with this, the saga continues...
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 05:51 (Saturday, 25-05-2013)
|
|
 |
 |
 |
 |
|
|