Mandrake 9.1 compile errors
entwisi
entwisi
Thu Apr 10 06:44:21 PDT 2003
Hi,
I have been using the hostapp drivers under MDK9.0 for some time now. I
decided (foolishly) to upgrade to MDK9.1. The upgrade screwed up so I
did a clean install. MDK now recognised my Prism 2.5 PCI card(Actiontec)
and installed the orinoco drivers. However my client PCs can no longer
connect. So I would like to return to the hostap drivers but when trying
to compile them I get lots of errors as below. Any help greatly
appreciated.
Ian
output from 'make pci'
gcc -I/usr/src/linux/include -O2 -D__KERNEL__ -DMODULE -Wall -g -c
-I/usr/src/linux/arch/i386/mach-generic
-I/usr/src/linux/include/asm/mach-default -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h -E -D__GENKSYMS__
driver/modules/hostap.c | \
/sbin/genksyms -k 2.4.21 > driver/modules/hostap.ver
<command line>:134671887:256:
/usr/src/linux/include/linux/modversions.h: No such file or directory
gcc -I/usr/src/linux/include -O2 -D__KERNEL__ -DMODULE -Wall -g -c
-I/usr/src/linux/arch/i386/mach-generic
-I/usr/src/linux/include/asm/mach-default -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h -E -D__GENKSYMS__
driver/modules/hostap_crypt.c | \
/sbin/genksyms -k 2.4.21 > driver/modules/hostap_crypt.ver
<command line>:134671887:256:
/usr/src/linux/include/linux/modversions.h: No such file or directory
gcc -I/usr/src/linux/include -include driver/modules/hostap_crypt.ver
-include driver/modules/hostap.ver -O2 -D__KERNEL__ -DMODULE -Wall -g
-c -I/usr/src/linux/arch/i386/mach-generic
-I/usr/src/linux/include/asm/mach-default -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h -o
driver/modules/hostap_pci.o driver/modules/hostap_pci.c
<command line>:3:1: /usr/src/linux/include/linux/modversions.h: No such
file or directory
In file included from driver/modules/hostap_wlan.h:8,
from driver/modules/hostap_pci.c:24:
driver/modules/hostap_crypt.h:40: `_set_ver' declared as function
returning a function
driver/modules/hostap_crypt.h:40: warning: parameter names (without
types) in function declaration
driver/modules/hostap_crypt.h:41: `_set_ver' declared as function
returning a function
driver/modules/hostap_crypt.h:41: warning: parameter names (without
types) in function declaration
driver/modules/hostap_crypt.h:42: `_set_ver' declared as function
returning a function
driver/modules/hostap_crypt.h:42: warning: parameter names (without
types) in function declaration
In file included from driver/modules/hostap_hw.c:57,
from driver/modules/hostap_pci.c:164:
driver/modules/hostap.h:6: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:6: conflicting types for `_set_ver'
driver/modules/hostap_crypt.h:42: previous declaration of `_set_ver'
driver/modules/hostap.h:12: `_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: conflicting types for `_set_ver'
driver/modules/hostap.h:6: previous declaration of `_set_ver'
driver/modules/hostap.h:13: `_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: `_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: `_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: `_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:18: `_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: `_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:21: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:21: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:22: `_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: `_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: `_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: `_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: `_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:28: `_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:29: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:29: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:34: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:34: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:35: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:35: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:40: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:40: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:41: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:41: warning: parameter names (without types) in
function declaration
In file included from driver/modules/hostap_hw.c:58,
from driver/modules/hostap_pci.c:164:
driver/modules/hostap_ap.h:208: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:208: warning: parameter names (without types)
in function declaration
driver/modules/hostap_ap.h:209: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:209: warning: parameter names (without types)
in function declaration
driver/modules/hostap_ap.h:210: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:210: warning: parameter names (without types)
in function declaration
driver/modules/hostap_ap.h:212: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:212: warning: parameter names (without types)
in function declaration
driver/modules/hostap_ap.h:222: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:222: warning: parameter names (without types)
in function declaration
driver/modules/hostap_ap.h:223: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:223: warning: parameter names (without types)
in function declaration
driver/modules/hostap_ap.h:225: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:225: warning: parameter names (without types)
in function declaration
driver/modules/hostap_ap.h:230: `_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:233: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:233: warning: parameter names (without types)
in function declaration
driver/modules/hostap_ap.h:234: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:234: warning: parameter names (without types)
in function declaration
driver/modules/hostap_ap.h:235: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:235: warning: parameter names (without types)
in function declaration
driver/modules/hostap_ap.h:239: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:239: warning: parameter names (without types)
in function declaration
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_setup_rids':
driver/modules/hostap_hw.c:872: `hostap_get_porttype' undeclared (first
use in this function)
driver/modules/hostap_hw.c:872: (Each undeclared identifier is reported
only once
driver/modules/hostap_hw.c:872: for each function it appears in.)
driver/modules/hostap_hw.c:872: called object is not a function
driver/modules/hostap_hw.c:873: `hostap_set_word' undeclared (first use
in this function)
driver/modules/hostap_hw.c:873: called object is not a function
driver/modules/hostap_hw.c:884: `hostap_set_string' undeclared (first
use in this function)
driver/modules/hostap_hw.c:885: called object is not a function
driver/modules/hostap_hw.c:893: called object is not a function
driver/modules/hostap_hw.c:915: called object is not a function
driver/modules/hostap_hw.c:923: called object is not a function
driver/modules/hostap_hw.c:933: called object is not a function
driver/modules/hostap_hw.c:943: called object is not a function
driver/modules/hostap_hw.c:952: called object is not a function
driver/modules/hostap_hw.c:962: called object is not a function
driver/modules/hostap_hw.c:969: called object is not a function
driver/modules/hostap_hw.c:987: called object is not a function
driver/modules/hostap_hw.c:994: called object is not a function
driver/modules/hostap_hw.c:1003: called object is not a function
driver/modules/hostap_hw.c:1005: `hostap_set_encryption' undeclared
(first use in this function)
driver/modules/hostap_hw.c:1005: called object is not a function
driver/modules/hostap_hw.c:1010: `hostap_set_antsel' undeclared (first
use in this function)
driver/modules/hostap_hw.c:1010: called object is not a function
driver/modules/hostap_hw.c:1014: called object is not a function
driver/modules/hostap_hw.c:1020: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `handle_reset_queue':
driver/modules/hostap_hw.c:1311: `hostap_netif_wake_queues' undeclared
(first use in this function)
driver/modules/hostap_hw.c:1311: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_transmit_cb':
driver/modules/hostap_hw.c:1399: `hostap_netif_wake_queues' undeclared
(first use in this function)
driver/modules/hostap_hw.c:1399: called object is not a function
driver/modules/hostap_hw.c:1428: `hostap_netif_stop_queues' undeclared
(first use in this function)
driver/modules/hostap_hw.c:1428: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_transmit':
driver/modules/hostap_hw.c:1450: `hostap_netif_stop_queues' undeclared
(first use in this function)
driver/modules/hostap_hw.c:1450: called object is not a function
driver/modules/hostap_hw.c:1463: `hostap_get_stats' undeclared (first
use in this function)
driver/modules/hostap_hw.c:1463: called object is not a function
driver/modules/hostap_hw.c:1465: `hostap_netif_wake_queues' undeclared
(first use in this function)
driver/modules/hostap_hw.c:1465: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_tx':
driver/modules/hostap_hw.c:1598: `hostap_get_stats' undeclared (first
use in this function)
driver/modules/hostap_hw.c:1598: called object is not a function
driver/modules/hostap_hw.c:1785: `hostap_handle_sta_tx' undeclared
(first use in this function)
driver/modules/hostap_hw.c:1786: called object is not a function
driver/modules/hostap_hw.c:1794: `hostap_dump_tx_header' undeclared
(first use in this function)
driver/modules/hostap_hw.c:1794: called object is not a function
driver/modules/hostap_hw.c:1886: called object is not a function
driver/modules/hostap_hw.c:2021: `hostap_handle_sta_release' undeclared
(first use in this function)
driver/modules/hostap_hw.c:2021: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_rx_80211':
driver/modules/hostap_hw.c:2160: `hostap_80211_get_hdrlen' undeclared
(first use in this function)
driver/modules/hostap_hw.c:2160: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `monitor_rx':
driver/modules/hostap_hw.c:2284: `hostap_get_stats' undeclared (first
use in this function)
driver/modules/hostap_hw.c:2284: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_rx':
driver/modules/hostap_hw.c:2426: `hostap_get_stats' undeclared (first
use in this function)
driver/modules/hostap_hw.c:2426: called object is not a function
driver/modules/hostap_hw.c:2467: `hostap_dump_rx_header' undeclared
(first use in this function)
driver/modules/hostap_hw.c:2467: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `hostap_rx_frame_mgmt':
driver/modules/hostap_hw.c:2616: `hostap_rx' undeclared (first use in
this function)
driver/modules/hostap_hw.c:2616: called object is not a function
driver/modules/hostap_hw.c: In function `hostap_rx_frame_decrypt':
driver/modules/hostap_hw.c:2723: `hostap_handle_sta_crypto' undeclared
(first use in this function)
driver/modules/hostap_hw.c:2723: called object is not a function
driver/modules/hostap_hw.c:2773: `hostap_handle_sta_release' undeclared
(first use in this function)
driver/modules/hostap_hw.c:2773: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `hostap_rx_skb':
driver/modules/hostap_hw.c:2795: `hostap_get_stats' undeclared (first
use in this function)
driver/modules/hostap_hw.c:2795: called object is not a function
driver/modules/hostap_hw.c:2808: `hostap_dump_rx_header' undeclared
(first use in this function)
driver/modules/hostap_hw.c:2808: called object is not a function
driver/modules/hostap_hw.c:2832: called object is not a function
driver/modules/hostap_hw.c:2850: `hostap_handle_sta_rx' undeclared
(first use in this function)
driver/modules/hostap_hw.c:2850: called object is not a function
driver/modules/hostap_hw.c:2961: called object is not a function
driver/modules/hostap_hw.c:3006: `hostap_is_sta_assoc' undeclared (first
use in this function)
driver/modules/hostap_hw.c:3006: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_alloc_ev':
driver/modules/hostap_hw.c:3091: `hostap_netif_wake_queues' undeclared
(first use in this function)
driver/modules/hostap_hw.c:3091: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `hostap_tx_callback':
driver/modules/hostap_hw.c:3159: `hostap_80211_get_hdrlen' undeclared
(first use in this function)
driver/modules/hostap_hw.c:3159: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `hostap_sta_tx_exc_tasklet':
driver/modules/hostap_hw.c:3273: `hostap_handle_sta_tx_exc' undeclared
(first use in this function)
driver/modules/hostap_hw.c:3273: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `hostap_info_tasklet':
driver/modules/hostap_hw.c:3369: `hostap_info_process' undeclared (first
use in this function)
driver/modules/hostap_hw.c:3369: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_check_sta_fw_version':
driver/modules/hostap_hw.c:3714: `hostap_check_sta_fw_version'
undeclared (first use in this function)
driver/modules/hostap_hw.c:3714: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_init_local_data':
driver/modules/hostap_hw.c:4004: `hostap_set_multicast_list_queue'
undeclared (first use in this function)
driver/modules/hostap_hw.c:4004: warning: passing arg 2 of
`HOSTAP_QUEUE_INIT' makes pointer from integer without a cast
driver/modules/hostap_hw.c:4010: `hostap_info_init' undeclared (first
use in this function)
driver/modules/hostap_hw.c:4010: called object is not a function
driver/modules/hostap_hw.c:4044: `hostap_setup_dev' undeclared (first
use in this function)
driver/modules/hostap_hw.c:4044: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_init_dev':
driver/modules/hostap_hw.c:4130: `hostap_init_proc' undeclared (first
use in this function)
driver/modules/hostap_hw.c:4130: called object is not a function
driver/modules/hostap_hw.c:4135: `hostap_init_data' undeclared (first
use in this function)
driver/modules/hostap_hw.c:4135: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_free_local_data':
driver/modules/hostap_hw.c:4183: `hostap_free_data' undeclared (first
use in this function)
driver/modules/hostap_hw.c:4183: called object is not a function
driver/modules/hostap_hw.c:4189: `hostap_remove_proc' undeclared (first
use in this function)
driver/modules/hostap_hw.c:4189: called object is not a function
driver/modules/hostap_pci.c: In function `prism2_pci_suspend':
driver/modules/hostap_pci.c:344: `hostap_netif_stop_queues' undeclared
(first use in this function)
driver/modules/hostap_pci.c:344: called object is not a function
make: *** [driver/modules/hostap_pci.o] Error 1
More information about the Hostap
mailing list