Summary
This FAQ provides answers to questions you may have while building OpenAMQ.
Session 'alive' is always zero
It seems my session and connection objects are misaligned by four bytes. Things work, but strangely.
You may be dealing with the the build inconsistency - if you built Open AMQ as multi-threaded library, you need to build your code with BASE_THREADSAFE defined - that adds additional member (mutex, I think) to each structure. Mutex member is deffed-out if you build single-threaded version - BASE_THREADSAFE is undefined. — Dmitri Tsyganov.
After I rebuilt OpenAMQ, it crashes very horribly
You may have a mixture of builds in your executable, with structures that don't match between libraries and calling programs. Do a clean build.
Has anyone built OpenAMQ from sources under Cygwin (Win XP) recently?
No, the last time we tried we got a lot of errors. It's probably doable with some hacking. If you do get this to work, let us know how and we'll try to add support to the standard build packages. Same goes for other free C compilers on Windows.
Comments
Author
- Pieter Hintjens <moc.xitami|hp#moc.xitami|hp>
