PDA

View Full Version : building ubnt-hal for x86


krismanto
02-25-2009, 07:54 PM
how to build ubnt-hal for x86??
can u tell me from where i must start?
got no point here..
thanks

DieselPower
02-25-2009, 08:13 PM
Are you talking about a linux platform?

Make sure you have all the build tools installed, and download the source from here http://ubnt.com/support/, and ten read the readme, and post back if you don't understand anything.

krismanto
02-26-2009, 01:44 AM
well..
okay.already read the readme and have all the buildtools
os:centos 4.6
kernel:2.6.9-67.0.4.plus.c4
board:intel pentium 4 i686
when i am trying to make


make -C src/madwifi-dfs-r3319-20080201
make[1]: Entering directory `/root/ubnt/ubnt-hal-0.6.280/src/madwifi-dfs-r3319-20080201'
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.9-67.0.4.plus.c4/build SUBDIRS=/root/ubnt/ubnt-hal-0.6.280/src/madwifi-dfs-r3319-20080201 modules
make[2]: Entering directory `/usr/src/kernels/2.6.9-67.0.4.plus.c4-i686'
CC [M] /root/ubnt/ubnt-hal-0.6.280/src/madwifi-dfs-r3319-20080201/ath/if_ath.o
In file included from include/linux/slab.h:15,
from include/linux/percpu.h:4,
from include/linux/sched.h:31,
from include/linux/module.h:10,
from /root/ubnt/ubnt-hal-0.6.280/src/madwifi-dfs-r3319-20080201/ath/if_ath.c:53:
include/linux/gfp.h:137: error: conflicting types for 'gfp_t'
/root/ubnt/ubnt-hal-0.6.280/src/madwifi-dfs-r3319-20080201/ath/../include/compat.h:133: error: previous declaration of 'gfp_t' was here
make[4]: *** [/root/ubnt/ubnt-hal-0.6.280/src/madwifi-dfs-r3319-20080201/ath/if_ath.o] Error 1
make[3]: *** [/root/ubnt/ubnt-hal-0.6.280/src/madwifi-dfs-r3319-20080201/ath] Error 2
make[2]: *** [_module_/root/ubnt/ubnt-hal-0.6.280/src/madwifi-dfs-r3319-20080201] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.9-67.0.4.plus.c4-i686'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/ubnt/ubnt-hal-0.6.280/src/madwifi-dfs-r3319-20080201'
make: *** Error

can u help me??
i really need this driver.
and this driver make my ubiquiti at linux become superchannel right?
i want to make an experiment with this
thank you very much

DieselPower
02-26-2009, 05:44 AM
I pointed you to the wrong download I think, Try the 07 beta from here http://ubnt.com/support/radiodriver.php. I am having a build problem too, I really want 10MHz so the XR9 in my laptop will connect to my network for doing site surveys, but the driver seems to have issues with the newer build tools :( Let me know how the 07 beta works.

krismanto
02-26-2009, 06:12 AM
yeah.i tried ..but still get the same error..anyone got a solution for us??
thanks
do this patch makes my linux can do superchannel?

CzechEnglishFrenchGermanItalianPolishPortugueseRussianSpanish
Translated to other languages supported by vBET Translator 3.5.4