compile problem

hostap at web.expr42.net hostap
Thu Apr 15 11:33:59 PDT 2004


when i try to do 'make pccard'
i get an entire list of errors one of which that it can't find
modversions.h
i'm running kernel 2.6.5
and try to compile hostap-driver-0.1.3

is this a common problem (i'm thinking i'm forgetting something stupid but can't find what)
anyone that can help me out with this?

TIA

webmind

ps, i've added the output from the compile as attachement


-- 
email      : webmind at expr42.net
           : webmind at code.is
           : webmind at bofh.is
public info: http://web.expr42.net/
whitepaper : http://www.goertzel.org/papers/SingularityPath.htm
gpg key    : http://web.expr42.net/gpg/webmind.asc.gpg
-------------- next part --------------
gcc -I/usr/src/linux-2.6.5/include -include driver/modules/hostap.ver  -O2 -D__KERNEL__ -DMODULE -Wall -g -c  -DMODVERSIONS -include /usr/src/linux-2.6.5/include/linux/modversions.h -o driver/modules/hostap_cs.o driver/modules/hostap_cs.c
<command line>:8:1: /usr/src/linux-2.6.5/include/linux/modversions.h: No such file or directory
In file included from /usr/src/linux-2.6.5/include/asm/processor.h:18,
                 from /usr/src/linux-2.6.5/include/asm/thread_info.h:13,
                 from /usr/src/linux-2.6.5/include/linux/thread_info.h:21,
                 from /usr/src/linux-2.6.5/include/linux/spinlock.h:12,
                 from /usr/src/linux-2.6.5/include/linux/capability.h:45,
                 from /usr/src/linux-2.6.5/include/linux/sched.h:7,
                 from /usr/src/linux-2.6.5/include/linux/module.h:10,
                 from driver/modules/hostap_cs.c:8:
/usr/src/linux-2.6.5/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux-2.6.5/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/linux-2.6.5/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from /usr/src/linux-2.6.5/include/linux/irq.h:20,
                 from /usr/src/linux-2.6.5/include/asm/hardirq.h:6,
                 from /usr/src/linux-2.6.5/include/linux/interrupt.h:11,
                 from /usr/src/linux-2.6.5/include/linux/netdevice.h:507,
                 from driver/modules/hostap_cs.c:14:
/usr/src/linux-2.6.5/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/src/linux-2.6.5/include/asm/hardirq.h:6,
                 from /usr/src/linux-2.6.5/include/linux/interrupt.h:11,
                 from /usr/src/linux-2.6.5/include/linux/netdevice.h:507,
                 from driver/modules/hostap_cs.c:14:
/usr/src/linux-2.6.5/include/linux/irq.h: At top level:
/usr/src/linux-2.6.5/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/src/linux-2.6.5/include/linux/irq.h:72,
                 from /usr/src/linux-2.6.5/include/asm/hardirq.h:6,
                 from /usr/src/linux-2.6.5/include/linux/interrupt.h:11,
                 from /usr/src/linux-2.6.5/include/linux/netdevice.h:507,
                 from driver/modules/hostap_cs.c:14:
/usr/src/linux-2.6.5/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/usr/src/linux-2.6.5/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
In file included from driver/modules/hostap_wlan.h:8,
                 from driver/modules/hostap_cs.c:31:
driver/modules/hostap_crypt.h:35: error: `_set_ver' declared as function returning a function
driver/modules/hostap_crypt.h:35: warning: parameter names (without types) in function declaration
driver/modules/hostap_crypt.h:36: error: `_set_ver' declared as function returning a function
driver/modules/hostap_crypt.h:36: warning: parameter names (without types) in function declaration
driver/modules/hostap_crypt.h:37: error: `_set_ver' declared as function returning a function
driver/modules/hostap_crypt.h:37: warning: parameter names (without types) in function declaration
In file included from driver/modules/hostap_hw.c:53,
                 from driver/modules/hostap_cs.c:207:
driver/modules/hostap_80211.h:28: error: `_set_ver' declared as function returning a function
driver/modules/hostap_80211.h:28: warning: parameter names (without types) in function declaration
driver/modules/hostap_80211.h:40: error: `_set_ver' declared as function returning a function
driver/modules/hostap_80211.h:40: warning: parameter names (without types) in function declaration
In file included from driver/modules/hostap_hw.c:54,
                 from driver/modules/hostap_cs.c:207:
driver/modules/hostap.h:6: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:6: error: conflicting types for `_set_ver'
driver/modules/hostap_80211.h:40: error: previous declaration of `_set_ver'
driver/modules/hostap.h:12: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:12: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:12: error: conflicting types for `_set_ver'
driver/modules/hostap.h:6: error: previous declaration of `_set_ver'
driver/modules/hostap.h:13: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:13: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:14: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:14: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:15: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:15: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:16: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:16: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:17: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:17: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:18: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:18: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:20: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:20: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:22: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:22: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:23: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:23: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:24: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:24: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:25: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:25: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:26: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:26: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:27: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:27: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:28: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:28: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:30: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:30: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:31: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:31: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:32: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:32: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:37: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:37: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:39: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:39: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:44: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:44: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:45: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:45: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:50: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:50: warning: parameter names (without types) in function declaration
driver/modules/hostap.h:51: error: `_set_ver' declared as function returning a function
driver/modules/hostap.h:51: warning: parameter names (without types) in function declaration
In file included from driver/modules/hostap_hw.c:55,
                 from driver/modules/hostap_cs.c:207:
driver/modules/hostap_ap.h:228: error: `_set_ver' declared as function returning a function
driver/modules/hostap_ap.h:228: warning: parameter names (without types) in function declaration
driver/modules/hostap_ap.h:229: error: `_set_ver' declared as function returning a function
driver/modules/hostap_ap.h:229: warning: parameter names (without types) in function declaration
driver/modules/hostap_ap.h:230: error: `_set_ver' declared as function returning a function
driver/modules/hostap_ap.h:230: warning: parameter names (without types) in function declaration
driver/modules/hostap_ap.h:240: error: `_set_ver' declared as function returning a function
driver/modules/hostap_ap.h:240: warning: parameter names (without types) in function declaration
driver/modules/hostap_ap.h:241: error: `_set_ver' declared as function returning a function
driver/modules/hostap_ap.h:241: warning: parameter names (without types) in function declaration
driver/modules/hostap_ap.h:243: error: `_set_ver' declared as function returning a function
driver/modules/hostap_ap.h:243: warning: parameter names (without types) in function declaration
driver/modules/hostap_ap.h:245: error: `_set_ver' declared as function returning a function
driver/modules/hostap_ap.h:245: warning: parameter names (without types) in function declaration
driver/modules/hostap_ap.h:252: error: `_set_ver' declared as function returning a function
driver/modules/hostap_ap.h:252: warning: parameter names (without types) in function declaration
driver/modules/hostap_ap.h:256: error: `_set_ver' declared as function returning a function
driver/modules/hostap_ap.h:256: warning: parameter names (without types) in function declaration
driver/modules/hostap_ap.h:257: error: `_set_ver' declared as function returning a function
driver/modules/hostap_ap.h:257: warning: parameter names (without types) in function declaration
driver/modules/hostap_ap.h:261: error: `_set_ver' declared as function returning a function
driver/modules/hostap_ap.h:261: warning: parameter names (without types) in function declaration
driver/modules/hostap_ap.h:262: error: `_set_ver' declared as function returning a function
driver/modules/hostap_ap.h:262: warning: parameter names (without types) in function declaration
driver/modules/hostap_ap.h:263: error: `_set_ver' declared as function returning a function
driver/modules/hostap_ap.h:263: warning: parameter names (without types) in function declaration
driver/modules/hostap_ap.h:269: error: `_set_ver' declared as function returning a function
driver/modules/hostap_ap.h:269: warning: parameter names (without types) in function declaration
In file included from driver/modules/hostap_cs.c:207:
driver/modules/hostap_hw.c: In function `prism2_reset_port':
driver/modules/hostap_hw.c:851: error: `hostap_set_word' undeclared (first use in this function)
driver/modules/hostap_hw.c:851: error: (Each undeclared identifier is reported only once
driver/modules/hostap_hw.c:851: error: for each function it appears in.)
driver/modules/hostap_hw.c:852: error: called object is not a function
driver/modules/hostap_hw.c: In function `prism2_setup_rids':
driver/modules/hostap_hw.c:886: error: `hostap_set_word' undeclared (first use in this function)
driver/modules/hostap_hw.c:886: error: called object is not a function
driver/modules/hostap_hw.c:889: error: `hostap_get_porttype' undeclared (first use in this function)
driver/modules/hostap_hw.c:889: error: called object is not a function
driver/modules/hostap_hw.c:890: error: called object is not a function
driver/modules/hostap_hw.c:901: error: `hostap_set_string' undeclared (first use in this function)
driver/modules/hostap_hw.c:902: error: called object is not a function
driver/modules/hostap_hw.c:910: error: called object is not a function
driver/modules/hostap_hw.c:932: error: called object is not a function
driver/modules/hostap_hw.c:940: error: called object is not a function
driver/modules/hostap_hw.c:950: error: called object is not a function
driver/modules/hostap_hw.c:960: error: called object is not a function
driver/modules/hostap_hw.c:967: error: called object is not a function
driver/modules/hostap_hw.c:989: error: called object is not a function
driver/modules/hostap_hw.c:997: error: called object is not a function
driver/modules/hostap_hw.c:1004: error: called object is not a function
driver/modules/hostap_hw.c:1010: error: called object is not a function
driver/modules/hostap_hw.c:1019: error: called object is not a function
driver/modules/hostap_hw.c:1021: error: `hostap_set_encryption' undeclared (first use in this function)
driver/modules/hostap_hw.c:1021: error: called object is not a function
driver/modules/hostap_hw.c:1026: error: `hostap_set_antsel' undeclared (first use in this function)
driver/modules/hostap_hw.c:1026: error: called object is not a function
driver/modules/hostap_hw.c:1028: error: `hostap_set_roaming' undeclared (first use in this function)
driver/modules/hostap_hw.c:1028: error: called object is not a function
driver/modules/hostap_hw.c:1034: error: called object is not a function
driver/modules/hostap_hw.c:1045: error: called object is not a function
driver/modules/hostap_hw.c:1054: error: `hostap_set_auth_algs' undeclared (first use in this function)
driver/modules/hostap_hw.c:1054: error: called object is not a function
driver/modules/hostap_hw.c:1057: error: called object is not a function
driver/modules/hostap_hw.c:1063: error: called object is not a function
driver/modules/hostap_hw.c:1070: error: called object is not a function
driver/modules/hostap_hw.c: In function `prism2_hw_enable':
driver/modules/hostap_hw.c:1271: error: `hostap_netif_wake_queues' undeclared (first use in this function)
driver/modules/hostap_hw.c:1271: error: called object is not a function
driver/modules/hostap_hw.c: In function `handle_reset_queue':
driver/modules/hostap_hw.c:1428: error: `hostap_netif_wake_queues' undeclared (first use in this function)
driver/modules/hostap_hw.c:1428: error: called object is not a function
driver/modules/hostap_hw.c: In function `prism2_transmit_cb':
driver/modules/hostap_hw.c:1513: error: `hostap_netif_wake_queues' undeclared (first use in this function)
driver/modules/hostap_hw.c:1513: error: called object is not a function
driver/modules/hostap_hw.c:1544: error: `hostap_netif_stop_queues' undeclared (first use in this function)
driver/modules/hostap_hw.c:1544: error: called object is not a function
driver/modules/hostap_hw.c: In function `prism2_transmit':
driver/modules/hostap_hw.c:1567: error: `hostap_netif_stop_queues' undeclared (first use in this function)
driver/modules/hostap_hw.c:1567: error: called object is not a function
driver/modules/hostap_hw.c:1580: error: `hostap_get_stats' undeclared (first use in this function)
driver/modules/hostap_hw.c:1580: error: called object is not a function
driver/modules/hostap_hw.c:1582: error: `hostap_netif_wake_queues' undeclared (first use in this function)
driver/modules/hostap_hw.c:1582: error: called object is not a function
driver/modules/hostap_hw.c: In function `prism2_tx':
driver/modules/hostap_hw.c:1717: error: `hostap_get_stats' undeclared (first use in this function)
driver/modules/hostap_hw.c:1717: error: called object is not a function
driver/modules/hostap_hw.c:1902: error: `hostap_handle_sta_tx' undeclared (first use in this function)
driver/modules/hostap_hw.c:1903: error: called object is not a function
driver/modules/hostap_hw.c:1912: error: `hostap_dump_tx_header' undeclared (first use in this function)
driver/modules/hostap_hw.c:1912: error: called object is not a function
driver/modules/hostap_hw.c:2004: error: called object is not a function
driver/modules/hostap_hw.c:2139: error: `hostap_handle_sta_release' undeclared (first use in this function)
driver/modules/hostap_hw.c:2139: error: called object is not a function
driver/modules/hostap_hw.c: In function `prism2_tx_80211':
driver/modules/hostap_hw.c:2213: error: `hostap_handle_sta_tx' undeclared (first use in this function)
driver/modules/hostap_hw.c:2213: error: called object is not a function
driver/modules/hostap_hw.c: In function `prism2_rx':
driver/modules/hostap_hw.c:2314: error: `hostap_get_stats' undeclared (first use in this function)
driver/modules/hostap_hw.c:2314: error: called object is not a function
driver/modules/hostap_hw.c:2365: error: `hostap_dump_rx_header' undeclared (first use in this function)
driver/modules/hostap_hw.c:2365: error: called object is not a function
driver/modules/hostap_hw.c: In function `hostap_rx_skb':
driver/modules/hostap_hw.c:2464: error: `hostap_dump_rx_header' undeclared (first use in this function)
driver/modules/hostap_hw.c:2464: error: called object is not a function
driver/modules/hostap_hw.c:2483: error: `hostap_80211_get_hdrlen' undeclared (first use in this function)
driver/modules/hostap_hw.c:2483: error: called object is not a function
driver/modules/hostap_hw.c:2490: error: `hostap_80211_rx' undeclared (first use in this function)
driver/modules/hostap_hw.c:2490: error: called object is not a function
driver/modules/hostap_hw.c: In function `prism2_alloc_ev':
driver/modules/hostap_hw.c:2544: error: `hostap_netif_wake_queues' undeclared (first use in this function)
driver/modules/hostap_hw.c:2544: error: called object is not a function
driver/modules/hostap_hw.c: In function `hostap_tx_callback':
driver/modules/hostap_hw.c:2602: error: `hostap_80211_get_hdrlen' undeclared (first use in this function)
driver/modules/hostap_hw.c:2602: error: called object is not a function
driver/modules/hostap_hw.c: In function `hostap_sta_tx_exc_tasklet':
driver/modules/hostap_hw.c:2709: error: `hostap_handle_sta_tx_exc' undeclared (first use in this function)
driver/modules/hostap_hw.c:2709: error: called object is not a function
driver/modules/hostap_hw.c: In function `hostap_info_tasklet':
driver/modules/hostap_hw.c:2804: error: `hostap_info_process' undeclared (first use in this function)
driver/modules/hostap_hw.c:2804: error: called object is not a function
driver/modules/hostap_hw.c: In function `prism2_check_sta_fw_version':
driver/modules/hostap_hw.c:3210: error: `hostap_check_sta_fw_version' undeclared (first use in this function)
driver/modules/hostap_hw.c:3210: error: called object is not a function
driver/modules/hostap_hw.c: In function `prism2_init_local_data':
driver/modules/hostap_hw.c:3510: error: `hostap_set_multicast_list_queue' undeclared (first use in this function)
driver/modules/hostap_hw.c:3510: warning: assignment makes pointer from integer without a cast
driver/modules/hostap_hw.c:3520: error: `hostap_info_init' undeclared (first use in this function)
driver/modules/hostap_hw.c:3520: error: called object is not a function
driver/modules/hostap_hw.c:3547: error: `hostap_setup_dev' undeclared (first use in this function)
driver/modules/hostap_hw.c:3547: error: called object is not a function
driver/modules/hostap_hw.c: In function `prism2_init_dev':
driver/modules/hostap_hw.c:3586: error: `hostap_init_proc' undeclared (first use in this function)
driver/modules/hostap_hw.c:3586: error: called object is not a function
driver/modules/hostap_hw.c:3591: error: `hostap_init_data' undeclared (first use in this function)
driver/modules/hostap_hw.c:3591: error: called object is not a function
driver/modules/hostap_hw.c: In function `prism2_free_local_data':
driver/modules/hostap_hw.c:3646: error: `hostap_free_data' undeclared (first use in this function)
driver/modules/hostap_hw.c:3646: error: called object is not a function
driver/modules/hostap_hw.c:3652: error: `hostap_remove_proc' undeclared (first use in this function)
driver/modules/hostap_hw.c:3652: error: called object is not a function
driver/modules/hostap_hw.c:3661: error: `hostap_set_hostapd' undeclared (first use in this function)
driver/modules/hostap_hw.c:3661: error: called object is not a function
driver/modules/hostap_hw.c:3679: error: `hostap_remove_interface' undeclared (first use in this function)
driver/modules/hostap_hw.c:3679: error: called object is not a function
driver/modules/hostap_cs.c: In function `prism2_event':
driver/modules/hostap_cs.c:763: error: `hostap_netif_stop_queues' undeclared (first use in this function)
driver/modules/hostap_cs.c:763: error: called object is not a function
driver/modules/hostap_cs.c:782: error: called object is not a function
make: *** [driver/modules/hostap_cs.o] Error 1



More information about the Hostap mailing list