LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-17-2004, 04:48 PM   #1
Middie
LQ Newbie
 
Registered: Apr 2004
Location: Ohio
Distribution: Red Hat 9.0
Posts: 1

Rep: Reputation: 0
Cool Red Hat 9.0 + Linksys wusb11


I have Red Hat Linux 9.0 installed on my system, kernel 2.4. I also have the correct belios driver, at76c503a.berlios.de (the site seems to be down at the moment) but it won't compile correctly. I have the latest version of gcc installed, but i'm not sure if there are any additional components that need installed that involve gcc (i have the c++, c, java, etc packages installed). When i tell the driver to compile, i get an error file over 100 kb, mainly of parse errors and dereferencing points. It seems to compile correctly on everyone else's machine, but not on mine. I know a little bit about linux, but I'm definitly not an expert.

Here is the first few lines of code:

-------------------------------------------------------------------------------------

gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common -Wno-sign-compare -Wno-unused -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DDRIVER_VERSION=\"v0.11\" -I/lib/modules/2.4.20-8/build/include -c at76c503.c
In file included from /usr/include/linux/fs.h:23,
from /usr/include/linux/capability.h:17,
from /usr/include/linux/binfmts.h:5,
from /usr/include/linux/sched.h:9,
from at76c503.c:79:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/sched.h:14,
from at76c503.c:79:
/usr/include/linux/timex.h:173: field `time' has incomplete type
In file included from /usr/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /usr/include/linux/sched.h:16,
from at76c503.c:79:
/usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in userspace: atomicity not guaranteed
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from at76c503.c:79:
/usr/include/asm/signal.h:107: parse error before "sigset_t"
/usr/include/asm/signal.h:110: parse error before '}' token
In file included from /usr/include/linux/sched.h:81,
from at76c503.c:79:
/usr/include/linux/timer.h:45: parse error before "spinlock_t"
/usr/include/linux/timer.h:53: parse error before '}' token
/usr/include/linux/timer.h:67: parse error before "tvec_base_t"
/usr/include/linux/timer.h:101: parse error before "tvec_bases"
/usr/include/linux/timer.h: In function `init_timer':
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:106: dereferencing pointer to incomplete type
/usr/include/linux/timer.h: In function `timer_pending':
/usr/include/linux/timer.h:121: dereferencing pointer to incomplete type
In file included from /usr/include/linux/module.h:20,
from at76c503.c:86:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include

--------------------------------------------------------------------------------------------

and it keeps going on like that. I know it is something that I am doing wrong or something that i haven't installed is causing the error. Any help is greatly appreciated.

 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LinkSys WUSB11 Network Adapter - Red Hat 9 Osiris0290 Linux - Wireless Networking 5 06-18-2004 01:33 PM
Using Linksys WUSB11 Wireless USB Adapter with Red Hat bostoniman Linux - Wireless Networking 2 04-12-2004 07:28 PM
WUSB11 version 2.6 and Red Hat Linux 9 tjmcafe Linux - Networking 2 10-05-2003 09:36 AM
WUSB11 2.5 and Red Hat 9 kernel error fbmichael13 Linux - Networking 0 06-15-2003 05:26 PM
Linksys WUSB11 V2.6 and Red Hat 7.3. Install Guide. oudent Linux - Networking 4 03-25-2003 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:28 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