[zeromq-dev] Compiling Java Bindings in AIX
Gonzalo Vasquez
gvasquez at altiuz.cl
Thu Mar 14 20:11:22 CET 2013
Environment: AIX 6.1 Power 7
Tried, both with a normal user and with root access, and with jzqm v2.1.2 and the also the latest from the master branch in the git repo.
autogen.sh works ok
./configure works ok with the following params:
./configure --with-zeromq=/usr/local
But, make fails right here:
Making all in src
javac -encoding utf8 -d . org/zeromq/ZMQ.java org/zeromq/ZMQException.java org/zeromq/ZMQQueue.java org/zeromq/ZMQForwarder.java org/zeromq/ZMQStreamer.java org/zeromq/ZContext.java org/zeromq/ZFrame.java org/zeromq/ZMsg.java org/zeromq/ZThread.java org/zeromq/ZLoop.java org/zeromq/ZDispatcher.java org/zeromq/EmbeddedLibraryTools.java
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
jar cf zmq.jar org/zeromq/*.class
CLASSPATH=.:./.:$CLASSPATH javah -jni -classpath . org.zeromq.ZMQ
CLASSPATH=.:./.:$CLASSPATH javah -jni -classpath . org.zeromq.ZMQ
make: 1254-002 Cannot find a rule to create target org/zeromq/ZMQontext.class from dependencies.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
On src/Makefile I can see a possible reason why this fails, but don't know how to correct it:
JZMQ_CLASS_FILES = \
org/zeromq/ZMQ.class \
org/zeromq/ZMQ$$Context.class \
org/zeromq/ZMQ$$Socket.class \
org/zeromq/ZMQ$$Poller.class \
org/zeromq/ZMQ$$Error.class \
org/zeromq/ZMQException.class \
org/zeromq/ZMQQueue.class \
org/zeromq/ZMQForwarder.class \
org/zeromq/ZMQStreamer.class \
org/zeromq/ZContext.class \
org/zeromq/ZFrame.class \
org/zeromq/ZMsg.class \
org/zeromq/ZThread.class \
org/zeromq/ZLoop.class \
org/zeromq/ZDispatcher.class
The consecutive $$ might be the problem
For the record:
>java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pap6460sr8fp1-20100624_01(SR8 FP1))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr8ifx-20100609_59383 (JIT enabled, AOT enabled)
J9VM - 20100609_059383
JIT - r9_20100401_15339ifx2
GC - 20100308_AA)
JCL - 20100624_01
And using xlC compiler
Any hints would be appreciated.
Regards,
Gonzalo Vásquez Sáez
Gerente Investigación y Desarrollo (R&D)
Altiuz Soluciones Tecnológicas de Negocios Ltda.
Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099
+56 2 335 2461
gvasquez at altiuz.cl
http://www.altiuz.cl
http://www.altiuzreports.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130314/9eb20ccf/attachment.htm>
More information about the zeromq-dev
mailing list