@In_Altissimus : to compile/link siren_test just go to the amsn directory and do a "make siren_test" that should be enough to create it. By default it isn't compiled with amsn, that's why you need to explicitely specify "make siren_test" for it to be built.
If you want to do it manually, all you need to do is :
compile siren_test.c into siren_test.o with the include path set to the src directory
link siren_test.o and libsiren.a into the executable
I know I do a link with libsiren.a as if it was an object, but I suppose you can make it work also with a -Lsrc/ -lsiren
Thanks for the pointers and the quick response; this did the trick in the end: "gcc siren_test.c libsiren.a -lm"
p.p.s.: what's the plugin for ?
All will be revealed shortly
I have one other question:
Whilst chat_msg_send is behaving as expected, my event handler for chat_msg_received seem to get invoked both for incoming (as expected) and outgoing (unexpected) messages? Is that to be expected?