Note that the normal level of debugging added by make debug does not hinder runtime performance but will greatly help in reporting bugs.Ĭommon compile errors /tmp/ccxxXXX.o:(.+0xXX): undefined reference to `non-virtual debug will compile the binaries with debugging information.-s will perform a silent build - only warnings and errors are displayed.There are some options you may give to the make command to control how the code is compiled: The absolute minimum is issuing the make command:įor BSD users remember you need to run gmake instead. This step is very simple but is the most important and time consuming. ![]() Read more about them and others in modules page. spandsp used by Fax Transfer Module - to transmit or receive a fax.OpenH323 Library - used by H323 channel module.PostgreSQL - used by PostgreSQL Module.If you want to register users in a database you need libraries like:.Development libraries for all optional modules in Yate you want to compile like:.Once all components you need are detected your source tree is configured and you can go to the next step. If they are not you should first check if you are not missing Note: You should look at the configure output and check that all features you need are detected. libĬonfig.status: creating packing/rpm/yate.spec LinuxĬhecking for libraries directory name. This script will warn if autoconf is missing and will prepare a configure script for you if everything is OK.Ĭhecking for local operating system type. The clean SVN set of sources needs one extra step: you will bootstrap the configuration scripts.įinished! Now run configure. The third command will change your current directory to the Yate sources directory. The first command will change the directory while the second will fetch a copy of the SVN TRUNK (where the code is committed) in a new directory called yate-SVN. Once you have the svn client installed getting the sources is a simple command: You will need to perform all operations described here from a text console - either a virtual console, a virtual terminal in a graphic environment or a remote shell like that provided by ssh.Īt occasions you will need to become superuser (root) for some operations. On all such platforms which don't provide the said system calls. These system calls are not available under all operating systems therefore you cannot use and, or run Yate Note: To provide dynamic loading system for modules Yate uses pragmatic dlopen()/dlsym() system calls. As much as possible use it, don't compile software yourself if you can avoid it. ![]() It is likely your operating system offers some packaging system for installing what's missing from the above list. Development libraries for all optional modules in Yate you want to compile.The autoconf configuration script builder.The C++ compiler of the GNU suite ( gcc/g++) and its libraries.The GNU make program (it won't build with the BSD make).Since you are going the full process of fetching and building Yate you will need the following: 9.4 Set the service script to start automatically.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |