遵循Coova-Chilli发行版构建的说明。
wget https://coova.github.io/coova-chilli/coova-chilli-1.3.0.tar.gz
tar xzf coova-chilli-1.3.0.tar.gz
cd coova-chilli-1.3.0/
debuild -b
结果是以下错误。
...........Error Section................
/usr/bin/ld: /usr/lib/libssl.a(s23_srvr.o): relocation R_X86_64_32 against
`.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libssl.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
libtool: install: error: relink `libchilli.la' with the above command before
installing it
make[4]: *** [install-libLTLIBRARIES] Error 1
make[4]: Leaving directory `/home/download/coova-chilli-1.3.0/src'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/home/download/coova-chilli-1.3.0/src'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/download/coova-chilli-1.3.0/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/download/coova-chilli-1.3.0'
make: *** [install] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
status 2
debuild: fatal error at line 1364:
dpkg-buildpackage -rfakeroot -D -us -uc -b failed
我最初认为也许openssl不是足够新的版本。 其他应用程序都没有这个问题。 所以我删除了openssl软件包,从源代码构建并安装了它。 最新版本是openssl 1.0.2e。 在撕毁和重建openssl后,我重新测试了半径服务器,令人惊讶的是,一切仍然运行良好。
我尝试再次编译coova-chilli以及1.2.9,但收到相同的错误。 libssl.a 存在于该位置。
关于如何最好地进行的任何想法?
Coova-Chilli 上的 Debian/Ubuntu 指令对于 Ubuntu 来说并不正确。
wget https://coova.github.io/coova-chilli/coova-chilli-1.3.0.tar.gz
tar xzf coova-chilli-1.3.0.tar.gz
cd coova-chilli-1.3.0/
./configure --prefix= --enable-miniportal (or whatever flags you want)
make
sudo make install
update-rc.d chilli defaults
参考:https://help.ubuntu.com/community/WifiDocs/CoovaChilli