qca / open-ath9k-htc-firmware

The firmware for QCA AR7010/AR9271 802.11n USB NICs
Other
428 stars 182 forks source link

Compiling on OpenBSD? #78

Open jadedml opened 9 years ago

jadedml commented 9 years ago

Upon compiling on OpenBSD, I get the following error: ./target_firmware/magpie_fw_dev/target/inc/adf_os_dma.h: In function 'adf_os_dmamem_map2addr': ./target_firmware/magpie_fw_dev/target/inc/adf_os_dma.h:99: warning: cast from pointer to integer of different size ./target_firmware/magpie_fw_dev/target/wlan/ah_osdep.c: At top level: ./target_firmware/magpie_fw_dev/target/wlan/ah_osdep.c:89: error: conflicting types for 'ath_hal_malloc' ./target_firmware/magpie_fw_dev/target/wlan/ah_internal.h:257: error: previous declaration of 'ath_hal_malloc' was here ./target_firmware/magpie_fw_dev/target/wlan/ah_osdep.c:107: error: conflicting types for 'ath'hal'memcpy' ./target_firmware/magpie_fw_dev/target/wlan/ah_osdep.h:130: error: previous declaration of 'ath_hal_memcpy' was here * Error 1 in . (CMakeFiles/firmware.dir/build.make:378 'CMakeFiles/firmware.dir/wlan/ah_osdep.c.o': /usr/bin/cc -DATH_ENABLE_CABQ-DBIG_E...) * Error 1 in . (CMakeFiles/Makefile2:61 'CMakeFiles/firmware.dir/all') *\ Error 1 in ./target_firmware (Makefile:77 'all') If anyone knows of a solution (or if this can compile for OpenBSD at all...) please say so! Thanks very, very much!