Yate Community Forum
OpenLTE => YateBTS => Topic started by: Vinsmoke Sanji on September 19, 2018, 12:40:46 AM
-
Hello everyone, when i install yate on raspbian i get this error:
openssl.cpp: In member function ‘virtual bool {anonymous}::AesCtrCipher::encrypt(void*, unsigned int, const void*)’:
openssl.cpp:654:6: error: ‘AES_ctr128_encrypt’ was not declared in this scope &num);
^
Makefile:315: recipe for target 'openssl.yate' failed
make[1]: *** [openssl.yate] Error 1
make[1]: Leaving directory '/usr/src/yate/modules'
Makefile:186: recipe for target 'modules' failed
make: *** [modules] Error 2
Where i was wrong? Thank you.
-
Please state YATE version and what version of OpenSSL you have on the raspberryPi.
Also please tell us what is the detected version of OpenSSL by the configure script of YATE.
This looks like a mismatch between what is detected by the configure script for OpenSSL and what is actually installed. Maybe you updated OpenSSL and did not run configure again when compiling YATE?
-
i install Yate from the link: https://gist.github.com/smarek/b538465a711edc7e6d7652c82e76d374 (i installed and run on ubuntu 16.04)
and version OpenSSL on raspberry:
root@raspberrypi:/home/pi# apt-cache policy openssl
openssl:
Installed: 1.1.0f-3+deb9u2
Candidate: 1.1.0f-3+deb9u2
Version table:
*** 1.1.0f-3+deb9u2 500
500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
100 /var/lib/dpkg/status
-
There is a mismatch between your YATE version and the OpenSSL version. The OpenSSL API changed and the fix for it was committed to YATE in June 2018.
The YATE version you are trying to use from that repository is more than a year old.
You can get the up to date versions of Yate and YateBTS from the official repositories (those git repositories were just a clone of the SVN):
svn co http://voip.null.ro/svn/yate/trunk yate
svn co http://voip.null.ro/svn/yatebts/trunk/ yatebts
Make sure to clean up the previous installation.
-
I already tried this one. When i installing, everything is ok but when i follow the path /usr/local/etc/yate i didn't saw file `ybts.conf` and `subscribers.conf`.
-
Did you 'make install' for YateBTS?
If you did and the files are stil not there ( i dont think subscribers.conf is automatically installed), you can always copy them from the source or create them.
See https://wiki.yatebts.com/index.php/Javascript_NiPC
-
Thanks for your help, I have successfully installed, but when running Yate I get "Bus error (core dumped)" notice.
-
Please post a log and configuration files.
-
You gotta run off ubuntu 14
-
Thanks Ioana Stanciu, I have successfully installed. ;D ;D ;D