????????????????openCapwap??????????????????????????β??????д?????????ι???????????????????openCapwap????????е????????????д???CAPWAP??????.docx????openCapwap???????????????????????????????????漰????????????????????openCapwap?????????????????linux??ó?????????????????裬??????????????????????Щ???·??
????????linux??ó????????????????
????1??????y????????
??????????Linux????????PC???????????????????????????????????????????????У???export PATH=$PATH:/opt /toolchain/rsdk-1.3.6-5281-EB-2.6.30-0.9.30/bin?? ???????????????????????汾??????mips-linux-gcc –v??????汾??????????????
??????????????????????????????????????????????????mips-linux-gcc???????????????
????2????????????
????????????????????????????capwap-0.93.3????????????????????????????????????????????????????????????????capwap-0.93.3????????????????openssl???????????pthread????Щ????????????????????????????????á?
????3?????Makefile
??????????????????????./Configure???????????gcc??????????????????ó????????????????Configure???????????Makefile??????????????????????У???1?????????????????2????????????·??????3????????????·????4????????ó????·??????openCapwap??????????CC=gcc????CC=mips-linux-gcc?滻??
????4???????????
??????????????·????????Make???????????????????????????????????????????????????????????????????????У???1????????????????CPU?????????????ü??????????Capwap?????openssl?????mips??#error "This openssl-devel package does not work your architecture?"??2???????????о?????????????????????#error“./static/libssl.a: could not read symbols: File in wrong format”??libssl.a??????????X86????μ?????mips???????3???????????c??????????????????????????汾???????????
????????????????Щ?????????????????????????????ó?????????????????????ó?????????????????????ó???????????в????????
????5???????ó???
?????????ó????????????????????ó????????????????У???????????????????????????????????????????tftp???????????????????????????????????????????????y?????????????????????ó???????????????????????????ó??????????????????????capwap?г??????????????????WTP?????Error???????????pthread.so??????????????н???lib???????????libpthread.so??????????????RTL8198????SDK???????н?libpthread.so?????????????????lib????????С?
????6?????е?????ó???
??????????ó?????????????????????????????????????????????????ó????????????????????????????????????????е?·????????????????????????????????????????????????????У???1???????亯??????2????λ???????????3???????????????С???????4?????????????????????????????????????????malloc????????????????????????????????????????????????