LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-26-2004, 07:22 AM   #1
Hotfeet
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 39

Rep: Reputation: 15
trying to install drivers...


I've been trying off and on to get my wireless card to work in Linux, but without much luck since I don't know much of anything about it. I'm using Mandrake 9.1, just installed it this morning. I have the Belkin F5D6001, and I found the drivers, but I can't seem to get them to compile. I did the soft link, but when I go to compile it I get this:

gcc -D__KERNEL__ -DMODULE -Wall -Wstrict-prototypes -O2 -I/usr/src/linux-2.4/inc
lude -fomit-frame-pointer -fno-strict-aliasing -Wno-trigraphs -fno-common -pipe
-mpreferred-stack-boundary=2 -march=i386 -c adm8211.c
In file included from /usr/include/linux/prefetch.h:13,
from /usr/include/linux/list.h:6,
from /usr/include/linux/timer.h:4,
from adm8211.c:7:
/usr/include/asm/processor.h:55: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (no
t in a function)
/usr/include/asm/processor.h:55: requested alignment is not a constant
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:46,
from adm8211.c:11:
/usr/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in
a function)
/usr/include/linux/irq.h:65: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:46,
from adm8211.c:11:
/usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not
in a function)
/usr/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from adm8211.c:11:
/usr/include/linux/interrupt.h:129: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here
(not in a function)
/usr/include/linux/interrupt.h:129: requested alignment is not a constant
In file included from adm8211.c:13:
/usr/include/linux/netdevice.h:165: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here
(not in a function)
/usr/include/linux/netdevice.h:165: requested alignment is not a constant
In file included from adm8211.c:13:
/usr/include/linux/netdevice.h:507: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here
(not in a function)
/usr/include/linux/netdevice.h:507: requested alignment is not a constant
In file included from /usr/include/linux/module.h:297,
from adm8211.c:31:
/usr/include/linux/version.h:2:2: #error "======================================
================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l
inux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of
kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro
m a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended
by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may
not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should
only be"
/usr/include/linux/version.h:10:2: #error "included via other system header file
s - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include
<linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the
following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exis
ts and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directo
ry"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t
o"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/incl
ude/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use t he following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/in clude"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordi ngly."
/usr/include/linux/version.h:35:2: #error "===================================== =================="
In file included from adm8211.c:31:
/usr/include/linux/module.h:299: parse error before "UTS_RELEASE"
adm8211.c: In function `adm8211_init_one':
adm8211.c:211: warning: implicit declaration of function `pci_request_regions'
adm8211.c: In function `adm8201_remove':
adm8211.c:1080: warning: implicit declaration of function `pci_release_regions'
make: *** [adm8211.o] Error 1

Last edited by Hotfeet; 01-26-2004 at 07:31 AM.
 
Old 01-26-2004, 07:38 AM   #2
Hotfeet
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 39

Original Poster
Rep: Reputation: 15
Just to clarify, I do have the Version 2 of that Belkin card, which uses the ADMTek chip instead of the Prism2.
 
Old 01-27-2004, 08:52 PM   #3
Hotfeet
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 39

Original Poster
Rep: Reputation: 15
anybody have a clue? anything at all?
 
Old 01-27-2004, 11:25 PM   #4
Hotfeet
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 39

Original Poster
Rep: Reputation: 15
searched around some more and found some drivers compiled for the 2.4.19 kernel and used insmod -f to get it installed.

But I rather don't know where to go from there ^^;;

How do I get connected to my WAP?
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install drivers -- boot install file Halsafar Linux - General 3 09-25-2005 05:05 AM
On a Fresh install of 10.1, the Nforce drivers refuse to install.. K@rl` Slackware 2 02-25-2005 02:55 AM
configure hardware before install OR install elo touchscreen drivers ahnree General 2 06-28-2004 08:17 PM
Drivers... Do I need them? How to install? etc... Utah Linux - Newbie 15 04-26-2004 12:00 AM
Transferring drivers between KNPX cd install to hd install...... stakhous Linux - Software 1 01-14-2004 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:21 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration