Hi

Background
We are trying to integrate kannel into an application that we have developed. However, the said application is written in C++ and compiled using a C++ compiler. Kannel however is written in C. We could get kannel to work (can send messages to and fro between fakesmsc and bearebox) when Kannel is compiled using a C compiler. We encountered problems when trying to compile kannel using a C++ compiler. All our development is done on Solaris platform in unix environment and we downloaded the following files for development:
- kannel CVS 28/02/01 (-02, libxml 2.2.12)
- kannel 1.0.2 (requires libxml 2.2.12)
- libXML 2.2.12

Problem
In our attempt to compile kannel using a C++ compiler, we did the following modifications to resolve some of the compatability issues:
- explicit case of type (*void) to (*sometype)
- renamed C++ keywords like new, class to mynew and myclass respectively.

Besides the above problems we also encountered the following major problems:
- yacc compilation fails. This problem was not observed when C compiler was used.
- wsgram.c/wsgram.y failed to compile. Keywords like pure_parser in wsgram.c is not recognised.

We removed the above compilation from the makefile and was able to compile and link kannel. But upon running of fakesmsc or bearerbox, a runtime error occurs as below:
libc internal error: _rmutex_ublock: rmutex not held

Hear from you soon
The above is the problem we encountered when using kannel. We would appreciate help of any form and should the question above be unclear in any way, you are most welcome to email me privately at:
[EMAIL PROTECTED]

Thank you for your attention.
-jasonwai





Reply via email to