PDA

View Full Version : Compile problems on Ubuntu Intrepid


DieselPower
02-13-2009, 06:18 PM
I just installed both the XR9 and the XR2 in my laptop. My network runs in 10MHz channel widths, so I need to use the ubnt-hal. I downloaded version 0.7.379 and ran "make", and ran into this problem.

This is the last few lines.

Applying: patches/madwifi-dfs-r3319-20080201-openwrt/330-beaconcal.patch
patching file ath/if_ath.c
patching file ath/if_athvar.h
-e
Applying: patches/madwifi-dfs-r3319-20080201-openwrt/331-memory_alloc.patch
patching file ath/if_ath.c
-e
Applying: patches/madwifi-dfs-r3319-20080201-openwrt/332-reset_beacons.patch
patching file ath/if_ath.c
-e
Applying: patches/madwifi-dfs-r3319-20080201-openwrt/333-apscan_mode.patch
patching file net80211/ieee80211_scan_ap.c
-e
Applying: patches/madwifi-dfs-r3319-20080201-openwrt/334-input.patch
patching file net80211/ieee80211_input.c
Hunk #1 succeeded at 950 (offset -9 lines).
make -C src/madwifi-dfs-r3319-20080201
make[1]: Entering directory `/home/lawrence/Desktop/ubnt-hal-0.7.379/src/madwifi-dfs-r3319-20080201'
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.27-11-generic/build SUBDIRS=/home/lawrence/Desktop/ubnt-hal-0.7.379/src/madwifi-dfs-r3319-20080201 modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
CC [M] /home/lawrence/Desktop/ubnt-hal-0.7.379/src/madwifi-dfs-r3319-20080201/ath/if_ath.o
cc1: warnings being treated as errors
/home/lawrence/Desktop/ubnt-hal-0.7.379/src/madwifi-dfs-r3319-20080201/ath/if_ath.c: In function '_ath_hal_setlicense':
/home/lawrence/Desktop/ubnt-hal-0.7.379/src/madwifi-dfs-r3319-20080201/ath/if_ath.c:534: error: passing argument 1 of 'ath_hal_setlicense' discards qualifiers from pointer target type
make[4]: *** [/home/lawrence/Desktop/ubnt-hal-0.7.379/src/madwifi-dfs-r3319-20080201/ath/if_ath.o] Error 1
make[3]: *** [/home/lawrence/Desktop/ubnt-hal-0.7.379/src/madwifi-dfs-r3319-20080201/ath] Error 2
make[2]: *** [_module_/home/lawrence/Desktop/ubnt-hal-0.7.379/src/madwifi-dfs-r3319-20080201] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/lawrence/Desktop/ubnt-hal-0.7.379/src/madwifi-dfs-r3319-20080201'
make: *** [build] Error 2

DieselPower
02-21-2009, 06:14 PM
Quit a support forum here! No new posts in several weeks!

Can you tell me what is the best version of linux for building the radio driver?

CzechEnglishFrenchGermanItalianPolishPortugueseRussianSpanish
Thanks to vBET 3.5.4 you can enjoy automatic translations