0 Replies Latest reply: Oct 19, 2011 12:20 AM by Jimmy Cai-Oracle RSS

    How to build Open MQ C client API

    Jimmy Cai-Oracle
      Hi, all

      I want to build libmqcrt.so from source code, in mq/src/buildant/rules.xml, 'target name="buildc"' is commented.
      I uncommented it and execute "ant buildc", it outputs
      [exec] /bin/sh: CC: command not found

      I changed CC to g++ in mq/src/buildant/crules.xml, much more errors surface
      [exec] Logger.cpp:(.text+0x12): undefined reference to `Monitor::Monitor()'
      [exec] Logger.cpp:(.text+0x31): undefined reference to `Monitor::~Monitor()'

      Can anyone know how to build libmqcrt.so?