When compiling JXTA-C, I encountered a lot of problems, and the example of running JXTA-C is also an error. It is found that it is caused by the compilation library of JXTA-C and the compilation library of APR.
Finally, simply download and recompile the 0.9.5 version of Apache Portable Runtime (APR) because JXTA-C 2.0 is used.
Apr 0.9.5 Does not know how and the latest APR 1.1.0 compatibility, so it is still good to use Apr 0.9.5, etc., after re-replace APR 1.1.0
In addition, the example program in JXTA-C writes very rough, there are many code that requires themselves, such as initialization, and no error detection code, such as files can not find, after all, open source, In this way, IBM's open source code quality is also almost. Hey, who is called to use open source, and it is not strong! ! !
Up to now, after adjusting and supplement, most of JXTA-C can run normally, but it is not very clear about JXTA-C's core architecture, ready to study the research code carefully.