[zeromq-dev] Compilation Errors while compiling the source code for Java API
Sudhakar Nagireddy
nagireddy.sudhakar at gmail.com
Sat Jun 5 15:52:52 CEST 2010
Hi,
I am getting the following error while compiling the 0MQ source code for
Java API on Fedora Core 11 64bit arch. It cannot find the file
org_zeromq_ZMQ_Context.h. Does any one know how to fix this problem?
Thanks,
Sudhakar
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-D_REENTRANT -D_THREAD_SAFE -I/usr/java/jdk1.6.0_18/include
-I/usr/java/jdk1.6.0_18/include/linux -Wall -g -O2 -MT libjzmq_la-Context.lo
-MD -MP -MF .deps/libjzmq_la-Context.Tpo -c -o libjzmq_la-Context.lo `test
-f 'Context.cpp' || echo './'`Context.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -D_REENTRANT -D_THREAD_SAFE
-I/usr/java/jdk1.6.0_18/include -I/usr/java/jdk1.6.0_18/include/linux -Wall
-g -O2 -MT libjzmq_la-Context.lo -MD -MP -MF .deps/libjzmq_la-Context.Tpo -c
Context.cpp -fPIC -DPIC -o .libs/libjzmq_la-Context.o
Context.cpp:27:36: error: org_zeromq_ZMQ_Context.h: No such file or
directory
/usr/local/include/zmq.h: In function âvoid
Java_org_zeromq_ZMQ_00024Context_construct(JNIEnv*, _jobject*, jint, jint,
jint)â:
/usr/local/include/zmq.h:147: error: too many arguments to function âvoid*
zmq_init(int)â
Context.cpp:57: error: at this point in file
make[2]: *** [libjzmq_la-Context.lo] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100605/e4ca3e29/attachment.htm>
More information about the zeromq-dev
mailing list