LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-04-2005, 11:29 AM   #1
nesor
LQ Newbie
 
Registered: Jul 2005
Location: New York City, USA
Distribution: Ubuntu, Slackware
Posts: 23

Rep: Reputation: 15
can't compile ipw2200


I'm having trouble with the ipw2200 module. I had no problems with make, but when I try make install, I get many errors. After the make install, when I try to load the module, it is not found. Here is as much of the output of make install that LQ will allow me to post:
Code:
/usr/src/ipw2200-1.0.8/ipw2200.c:11172: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.8/ipw2200.c:11172: error: (near initialization for `ipw_geos[13]')
/usr/src/ipw2200-1.0.8/ipw2200.c:11172: error: `IEEE80211_CH_PASSIVE_ONLY' undeclared here (not in a function)
/usr/src/ipw2200-1.0.8/ipw2200.c:11173: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.8/ipw2200.c:11173: error: (near initialization for `ipw_geos[13]')
/usr/src/ipw2200-1.0.8/ipw2200.c:11173: error: `IEEE80211_CH_PASSIVE_ONLY' undeclared here (not in a function)
/usr/src/ipw2200-1.0.8/ipw2200.c:11174: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.8/ipw2200.c:11174: error: (near initialization for `ipw_geos[13]')
/usr/src/ipw2200-1.0.8/ipw2200.c:11174: error: `IEEE80211_CH_PASSIVE_ONLY' undeclared here (not in a function)
/usr/src/ipw2200-1.0.8/ipw2200.c:11175: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.8/ipw2200.c:11175: error: (near initialization for `ipw_geos[13]')
/usr/src/ipw2200-1.0.8/ipw2200.c:11175: error: `IEEE80211_CH_PASSIVE_ONLY' undeclared here (not in a function)
/usr/src/ipw2200-1.0.8/ipw2200.c:11176: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.8/ipw2200.c:11176: error: (near initialization for `ipw_geos[13]')
/usr/src/ipw2200-1.0.8/ipw2200.c:11176: error: `IEEE80211_CH_PASSIVE_ONLY' undeclared here (not in a function)
/usr/src/ipw2200-1.0.8/ipw2200.c:11176: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.8/ipw2200.c:11176: warning: (near initialization for `ipw_geos[13]')
/usr/src/ipw2200-1.0.8/ipw2200.c: In function `ipw_is_valid_channel':
/usr/src/ipw2200-1.0.8/ipw2200.c:11187: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11187: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11189: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11189: error: `IEEE80211_24GHZ_BAND' undeclared (first use in this function)
/usr/src/ipw2200-1.0.8/ipw2200.c:11190: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11194: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11195: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11195: error: `IEEE_G' undeclared (first use in this function)
/usr/src/ipw2200-1.0.8/ipw2200.c:11196: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11196: error: `IEEE80211_CH_B_ONLY' undeclared (first use in this function)
/usr/src/ipw2200-1.0.8/ipw2200.c:11199: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11199: error: `IEEE80211_52GHZ_BAND' undeclared (first use in this function)
/usr/src/ipw2200-1.0.8/ipw2200.c:11200: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11201: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c: In function `ipw_channel_to_index':
/usr/src/ipw2200-1.0.8/ipw2200.c:11213: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11213: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11215: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11215: error: `IEEE80211_24GHZ_BAND' undeclared (first use in this function)
/usr/src/ipw2200-1.0.8/ipw2200.c:11216: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11217: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11220: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11220: error: `IEEE80211_52GHZ_BAND' undeclared (first use in this function)
/usr/src/ipw2200-1.0.8/ipw2200.c:11221: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11222: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c: In function `ipw_freq_to_channel':
/usr/src/ipw2200-1.0.8/ipw2200.c:11234: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11234: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11238: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11238: error: `IEEE80211_24GHZ_BAND' undeclared (first use in this function)
/usr/src/ipw2200-1.0.8/ipw2200.c:11239: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11240: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11241: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11243: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11243: error: `IEEE80211_52GHZ_BAND' undeclared (first use in this function)
/usr/src/ipw2200-1.0.8/ipw2200.c:11244: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11245: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11246: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c: At top level:
/usr/src/ipw2200-1.0.8/ipw2200.c:11253: error: conflicting types for `ipw_set_geo'
/usr/src/ipw2200-1.0.8/ipw2200.c:156: error: previous declaration of `ipw_set_geo'
/usr/src/ipw2200-1.0.8/ipw2200.c: In function `ipw_set_geo':
/usr/src/ipw2200-1.0.8/ipw2200.c:11254: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11254: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11254: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11254: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11255: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11256: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11256: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11257: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11257: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11258: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11258: error: invalid application of `sizeof' to an incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11258: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11258: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11258: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11258: error: invalid application of `sizeof' to an incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11258: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11258: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11258: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11258: error: invalid application of `sizeof' to an incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11260: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11260: error: invalid application of `sizeof' to an incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11260: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11260: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11260: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11260: error: invalid application of `sizeof' to an incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11260: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11260: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11260: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11260: error: invalid application of `sizeof' to an incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c: In function `ipw_get_geo':
/usr/src/ipw2200-1.0.8/ipw2200.c:11267: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c: In function `ipw_up':
/usr/src/ipw2200-1.0.8/ipw2200.c:11304: error: invalid application of `sizeof' to an incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11304: error: invalid use of undefined type `struct ieee80211_geo'
/usr/src/ipw2200-1.0.8/ipw2200.c:11306: error: invalid use of undefined type `struct ieee80211_geo'
/usr/src/ipw2200-1.0.8/ipw2200.c:11309: error: invalid application of `sizeof' to an incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11309: error: invalid use of undefined type `struct ieee80211_geo'
/usr/src/ipw2200-1.0.8/ipw2200.c:11316: error: invalid use of undefined type `struct ieee80211_geo'
/usr/src/ipw2200-1.0.8/ipw2200.c:11321: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c: In function `ipw_net_init':
/usr/src/ipw2200-1.0.8/ipw2200.c:11463: warning: initialization makes pointer from integer without a cast
/usr/src/ipw2200-1.0.8/ipw2200.c: In function `ipw_pci_probe':
/usr/src/ipw2200-1.0.8/ipw2200.c:11543: warning: implicit declaration of function `alloc_ieee80211'
/usr/src/ipw2200-1.0.8/ipw2200.c:11543: warning: assignment makes pointer from integer without a cast
/usr/src/ipw2200-1.0.8/ipw2200.c:11549: warning: assignment makes pointer from integer without a cast
/usr/src/ipw2200-1.0.8/ipw2200.c:11621: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11622: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11623: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11626: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11627: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11628: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11631: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11632: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:11691: warning: implicit declaration of function `free_ieee80211'
/usr/src/ipw2200-1.0.8/ipw2200.c: In function `ipw_rx_notification':
/usr/src/ipw2200-1.0.8/ipw2200.c:4430: error: break statement not within loop or switch
/usr/src/ipw2200-1.0.8/ipw2200.c: At top level:
/usr/src/ipw2200-1.0.8/ipw2200.c:69: error: storage size of `def_qos_parameters_OFDM' isn't known
/usr/src/ipw2200-1.0.8/ipw2200.c:80: error: storage size of `def_qos_parameters_CCK' isn't known
/usr/src/ipw2200-1.0.8/ipw2200.c:91: error: storage size of `def_parameters_OFDM' isn't known
/usr/src/ipw2200-1.0.8/ipw2200.c:102: error: storage size of `def_parameters_CCK' isn't known
/usr/src/ipw2200-1.0.8/ipw2200.c:113: error: storage size of `qos_oui' isn't known
/usr/src/ipw2200-1.0.8/ipw2200.c:10101: error: storage size of `ipw_wx_handler_def' isn't known
/usr/src/ipw2200-1.0.8/ipw2200.c:113: warning: `qos_oui' defined but not used
make[2]: *** [/usr/src/ipw2200-1.0.8/ipw2200.o] Error 1
make[1]: *** [_module_/usr/src/ipw2200-1.0.8] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.13'
make: *** [modules] Error 2
If anyone could help I would be most appreciative.
 
Old 11-05-2005, 09:25 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
we need the first few lines where everything started to go bad.
(that looks like make output not make install output)
also kernel version. There are some issues and patches or easy fixes with some kernel versions.
and of course check out this
http://www.ubuntuforums.org/showthre...227#post130227
 
Old 11-08-2005, 11:06 AM   #3
nesor
LQ Newbie
 
Registered: Jul 2005
Location: New York City, USA
Distribution: Ubuntu, Slackware
Posts: 23

Original Poster
Rep: Reputation: 15
Hi, thanks for the response. Sorry I didn't provide more info. I'm running kernel 2.6.13, the one included on the second Slackware CD.
That actually was output from make install, here is the output of make:
Code:
# make IEEE80211_INC=/usr/src/ieee80211-1.1.6
mkdir -p /usr/src/ipw2200-1.0.8/tmp/.tmp_versions
cp /usr/src/ieee80211-1.1.6/*.mod /usr/src/ipw2200-1.0.8/tmp/.tmp_versions
make -C /lib/modules/2.6.13/build M=/usr/src/ipw2200-1.0.8 MODVERDIR=/usr/src/ipw2200-1.0.8/tmp/.tmp_versions modules
make[1]: Entering directory `/usr/src/linux-2.6.13'

  WARNING: Symbol version dump /usr/src/linux-2.6.13/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /usr/src/ipw2200-1.0.8/ipw2200.o

  Building modules, stage 2.
  MODPOST
  LD [M]  /usr/src/ipw2200-1.0.8/ipw2200.ko
make[1]: Leaving directory `/usr/src/linux-2.6.13'
Here is the begining of make install:
Code:
# make install
mkdir -p /usr/src/ipw2200-1.0.8/tmp/.tmp_versions
cp /lib/modules/2.6.13/net/ieee80211/.tmp_versions/*.mod /usr/src/ipw2200-1.0.8/tmp/.tmp_versions
cp: cannot stat `/lib/modules/2.6.13/net/ieee80211/.tmp_versions/*.mod': No such file or directory
make: [modules] Error 1 (ignored)
make -C /lib/modules/2.6.13/build M=/usr/src/ipw2200-1.0.8 MODVERDIR=/usr/src/ipw2200-1.0.8/tmp/.tmp_versions modules
make[1]: Entering directory `/usr/src/linux-2.6.13'

  WARNING: Symbol version dump /usr/src/linux-2.6.13/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /usr/src/ipw2200-1.0.8/ipw2200.o
In file included from /usr/src/ipw2200-1.0.8/ipw2200.c:33:
/usr/src/ipw2200-1.0.8/ipw2200.h:52:27: net/ieee80211.h: No such file or directory
/usr/src/ipw2200-1.0.8/ipw2200.h:53:36: net/ieee80211_radiotap.h: No such file or directory
In file included from /usr/src/ipw2200-1.0.8/ipw2200.c:33:
/usr/src/ipw2200-1.0.8/ipw2200.h:1905: warning: `struct ieee80211_hdr_4addr' declared inside parameter list
/usr/src/ipw2200-1.0.8/ipw2200.h:1905: warning: its scope is only this definition or declaration, which is probably not what you want
/usr/src/ipw2200-1.0.8/ipw2200.h: In function `frame_hdr_len':
/usr/src/ipw2200-1.0.8/ipw2200.h:1910: error: invalid application of `sizeof' to an incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.h:1911: error: dereferencing pointer to incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.h:1922: error: `IEEE80211_FCTL_TODS' undeclared (first use in this function)
/usr/src/ipw2200-1.0.8/ipw2200.h:1922: error: (Each undeclared identifier is reported only once
/usr/src/ipw2200-1.0.8/ipw2200.h:1922: error: for each function it appears in.)
/usr/src/ipw2200-1.0.8/ipw2200.h:1922: error: `IEEE80211_FCTL_FROMDS' undeclared (first use in this function)
/usr/src/ipw2200-1.0.8/ipw2200.c: At top level:
/usr/src/ipw2200-1.0.8/ipw2200.c:69: error: variable `def_qos_parameters_OFDM' has initializer but incomplete type
/usr/src/ipw2200-1.0.8/ipw2200.c:70: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.8/ipw2200.c:70: error: (near initialization for `def_qos_parameters_OFDM')
/usr/src/ipw2200-1.0.8/ipw2200.c:71: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.8/ipw2200.c:71: warning: (near initialization for `def_qos_parameters_OFDM')
/usr/src/ipw2200-1.0.8/ipw2200.c:72: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.8/ipw2200.c:72: error: (near initialization for `def_qos_parameters_OFDM')
/usr/src/ipw2200-1.0.8/ipw2200.c:73: warning: excess elements in struct initializer
/usr/src/ipw2200-1.0.8/ipw2200.c:73: warning: (near initialization for `def_qos_parameters_OFDM')
/usr/src/ipw2200-1.0.8/ipw2200.c:74: error: extra brace group at end of initializer
/usr/src/ipw2200-1.0.8/ipw2200.c:74: error: (near initialization for `def_qos_parameters_OFDM')
/usr/src/ipw2200-1.0.8/ipw2200.c:74: error: `QOS_AIFSN_MIN_VALUE' undeclared here (not in a function)
/usr/src/ipw2200-1.0.8/ipw2200.c:74: error: `QOS_AIFSN_MIN_VALUE' undeclared here (not in a function)
/usr/src/ipw2200-1.0.8/ipw2200.c:74: error: `QOS_AIFSN_MIN_VALUE' undeclared here (not in a function)
/usr/src/ipw2200-1.0.8/ipw2200.c:74: error: `QOS_AIFSN_MIN_VALUE' undeclared here (not in a function)
And that sort of error goes on for 1000+ lines.
 
Old 11-08-2005, 11:42 AM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
You need the ieee80211 stack module installed. There's a link on the ipw2200 driver webpage...it also says in the instructions that you need the stack! If you don't already have it, you'll need the firmware package installed too...all the information is on the website http://ipw2200.sf.net
 
Old 11-08-2005, 02:16 PM   #5
nesor
LQ Newbie
 
Registered: Jul 2005
Location: New York City, USA
Distribution: Ubuntu, Slackware
Posts: 23

Original Poster
Rep: Reputation: 15
I have the firmware installed. I thought I had installed the stack, but I must have done something wrong. I built it again, and now I'm having no trouble with ipw2200.

Thanks!
 
  


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
ipw2200 failes to compile at create_workqueue Avenger Linux - Wireless Networking 0 09-05-2005 02:39 PM
ipw2200 bird603568 Slackware 7 07-14-2005 10:07 AM
Returned to Slack: ipw2200 & Compile kernel svarreby Slackware 1 05-27-2005 12:07 PM
ipw2200 jp_ Slackware 5 03-23-2005 05:41 PM
IPW2200 Help slitscan Slackware 6 02-18-2005 12:14 AM

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

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