LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-22-2005, 09:10 AM   #1
slinky2004
Member
 
Registered: Oct 2004
Posts: 309

Rep: Reputation: 30
cant get ieee80211 to compile


i need the ieee80211 subsystem in order to compile/install my wifi drivers, but i cant get it to compile. my compiler seems to be working fine, i just compiled a urxvt terminal emulator without problems. this is what i get when i try a make on ieee80211:
Quote:
In file included from include/linux/kmod.h:23,
from /root/ieee80211-1.1.5/ieee80211_wx.c:33:
include/linux/errno.h:4:23: asm/errno.h: No such file or directory
In file included from include/linux/module.h:10,
from /root/ieee80211-1.1.5/ieee80211_wx.c:34:
include/linux/sched.h:4:37: asm/param.h: No such file or directory
In file included from include/linux/types.h:13,
from include/linux/capability.h:16,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /root/ieee80211-1.1.5/ieee80211_wx.c:34:
include/linux/posix_types.h:47:29: asm/posix_types.h: No such file or directory
In file included from include/linux/capability.h:16,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /root/ieee80211-1.1.5/ieee80211_wx.c:34:
include/linux/types.h:14:23: asm/types.h: No such file or directory
In file included from include/linux/capability.h:16,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /root/ieee80211-1.1.5/ieee80211_wx.c:34:
include/linux/types.h:18: error: syntax error before "__kernel_dev_t"
include/linux/types.h:18: warning: type defaults to `int' in declaration of `__kernel_dev_t'
include/linux/types.h:18: warning: data definition has no type or storage class
include/linux/types.h:21: error: syntax error before "dev_t"
include/linux/types.h:21: warning: type defaults to `int' in declaration of `dev_t'
include/linux/types.h:21: warning: data definition has no type or storage class
include/linux/types.h:22: error: syntax error before "ino_t"
include/linux/types.h:22: warning: type defaults to `int' in declaration of `ino_t'
include/linux/types.h:22: warning: data definition has no type or storage class
include/linux/types.h:23: error: syntax error before "mode_t"
include/linux/types.h:23: warning: type defaults to `int' in declaration of `mode_t'
include/linux/types.h:23: warning: data definition has no type or storage class
include/linux/types.h:24: error: syntax error before "nlink_t"
include/linux/types.h:24: warning: type defaults to `int' in declaration of `nlink_t'
include/linux/types.h:24: warning: data definition has no type or storage class
include/linux/types.h:25: error: syntax error before "off_t"
include/linux/types.h:25: warning: type defaults to `int' in declaration of `off_t'
include/linux/types.h:25: warning: data definition has no type or storage class
include/linux/types.h:26: error: syntax error before "pid_t"
include/linux/types.h:26: warning: type defaults to `int' in declaration of `pid_t'
include/linux/types.h:26: warning: data definition has no type or storage class
include/linux/types.h:27: error: syntax error before "daddr_t"
include/linux/types.h:27: warning: type defaults to `int' in declaration of `daddr_t'
include/linux/types.h:27: warning: data definition has no type or storage class
include/linux/types.h:29: error: syntax error before "suseconds_t"
include/linux/types.h:29: warning: type defaults to `int' in declaration of `suseconds_t'
include/linux/types.h:29: warning: data definition has no type or storage class
include/linux/types.h:30: error: syntax error before "timer_t"
include/linux/types.h:30: warning: type defaults to `int' in declaration of `timer_t'
this is just a small portion of the errors it has, they all seem to be related to not finding some header files that it needs or my header files are corrupt or something. can anybody help me out with this? i'm using slackware 10.2 and a 2.6.10 kernel.

Last edited by slinky2004; 10-22-2005 at 09:11 AM.
 
Old 10-23-2005, 06:16 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
From what info you provided this is what I would do to fix it.

Is there a directory in /usr/src called linux?
If there is I have no ideas from here on.

Is there a directory in /usr/src called linux-2.6.10?
If this directory exist then run the command as root ' ln -s linux-2.6.10 linux '. Try the install again.

If niether exist then you need to download the source of the 2.6.10 kernel from http://www.kernel.org . Extract it in /usr/src and then run the command ' ln -s linux-2.6.10 linux '. Try the install again.

Note make sure you get the exact running kernel version. If you are using kernel 2.6.10 then you can only use 2.6.10. using anything else will not work.

Hope this helps.
Brian1
 
Old 10-23-2005, 10:39 PM   #3
slinky2004
Member
 
Registered: Oct 2004
Posts: 309

Original Poster
Rep: Reputation: 30
well, all of those directories exist and i'm using the 2.6.10 source from kernel.org. it's wierd because i was able to use ieee80211-1.0.3, but in the past two weeks, they've released two new versions and i cant compile either of them and they dont come with any install help besides an install file that basically says "make, su root, make install"
 
Old 10-23-2005, 11:53 PM   #4
slinky2004
Member
 
Registered: Oct 2004
Posts: 309

Original Poster
Rep: Reputation: 30
it seems to require a newer kernel to compile it. it compiled great with 2.6.13.4
 
  


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
installing ieee80211 subsystem errors on SUSE 10.0 rc1 fuzzymallets Linux - Networking 12 12-07-2005 09:00 AM
ipw2200, ieee80211 (Again ... :( ) havelino Linux - Networking 3 11-01-2005 10:25 AM
ieee80211 install problems FC4 pvtpilot Linux - Wireless Networking 3 10-30-2005 09:25 AM
IEEE80211 help on fedora core 4 jimmyp3016 Linux - Wireless Networking 1 10-25-2005 09:54 AM
ntop compile/post-compile problem? tjb Linux - Software 3 12-28-2004 04:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:54 PM.

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