[zeromq-dev] HEADS UP: changes to Java binding public API
Sipos Sándor
ss1978 at freestart.hu
Fri Apr 9 03:12:40 CEST 2010
Hello!
The compiler said:
make[1]: *** No rule to make target `org_zeromq_Context.h', needed by `all'. Stop.
The header files had some (naming) problems.
Patch provided:
---
src/Makefile.am | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index c47790e..a6fff0a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -19,9 +19,9 @@ libjzmq_la_SOURCES = \
.
nodist_libjzmq_la_SOURCES = \
<----->org_zeromq_ZMQ.h \
-<----->org_zeromq_Context.h \
-<----->org_zeromq_Socket.h \
-<----->org_zeromq_Poller.h
+<----->org_zeromq_ZMQ_Context.h \
+<----->org_zeromq_ZMQ_Socket.h \
+<----->org_zeromq_ZMQ_Poller.h
.
libjzmq_la_CXXFLAGS = -Wall
libjzmq_la_LDFLAGS = -version-info @JLTVER@
@@ -29,20 +29,20 @@ libjzmq_la_LDFLAGS = -version-info @JLTVER@
BUILT_SOURCES = \
<----->org/zeromq/ZMQ.class \
<----->org/zeromq/ZMQ$$Context.class \
-<----->org_zeromq_Context.h \
+<----->org_zeromq_ZMQ_Context.h \
<----->org/zeromq/ZMQ$$Socket.class \
-<----->org_zeromq_Socket.h \
+<----->org_zeromq_ZMQ_Socket.h \
<----->org/zeromq/ZMQ$$Poller.class \
-<----->org_zeromq_Poller.h
+<----->org_zeromq_ZMQ_Poller.h
.
CLEANFILES = \
<----->org/zeromq/ZMQ.class \
<----->org/zeromq/ZMQ$$Context.class \
-<----->org_zeromq_Context.h \
+<----->org_zeromq_ZMQ_Context.h \
<----->org/zeromq/ZMQ$$Socket.class \
-<----->org_zeromq_Socket.h \
+<----->org_zeromq_ZMQ_Socket.h \
<----->org/zeromq/ZMQ$$Poller.class \
-<----->org_zeromq_Poller.h \
+<----->org_zeromq_ZMQ_Poller.h \
<----->zmq.jar
.
$(srcdir)/ZMQ.cpp: \
--.
1.5.6.5
2010. április 9. dátummal gonzalo diethelm ezt írta:
> > Ok, couldn't help myself and just committed the following changes. Any
> > comments (and complaints) are welcome.
>
> I had forgotten to update src/Makefile.am (using Windows here). I just did, but "flying blind", that is, I have no way to test whether the changes will actually work. Sipos, when you have a minute please pull, test and let me know. Thanks a lot!
>
More information about the zeromq-dev
mailing list