warning: Using ‘gethostbyname’

OpenJAUS Tips and Tricks

Q: I get the following warning when I compile my code: “warning: Using ‘gethostbyname’ in statically linked applications requires at runtime the shared libraries from the glibc version used for linking”?

What is the purpose of SIGTERM and SIGINT in the Signal Handler?

OpenJAUS Tips and Tricks

Q: What is the purpose of SIGTERM and SIGINT in the Signal Handler? A: The SIGTERM and SIGINT handlers are to catch those standard signals (like Ctrl+C) and allow the application to exit cleaning instead of “crashing”. http://www.gnu.org/software/libc/manual/html_node/Termination-Signals.html

Create a test program

OpenJAUS Tips and Tricks

Q: I’m currently trying to make a test program that tries to communicate with a test client (mimicking the Gpos and Gpos client). I’m a little confused as to how the Gpos and Client ëconnectí to each other.

Run files located in the bin folder

OpenJAUS Tips and Tricks

Q: I’m trying to run one of the files located in the bin folder but it gives me this message: ./BaseDemo: error while loading shared libraries: libopenjaus-core.so: cannot open shared object file: No such file or directory However, I can clearly see libopenjaus-core.so in the lib folder. Am I missing something? Or am I doing something wrong?