Re: [zeromq-dev] zmq java binding compilation issue

2013-03-13 Thread Gonzalo Vasquez
Sorry, POWER7 AIX 6.1, using IBM's xlC compiler I found the "problem lines" in src/Makefile, they are the ones referencing the inner java classes (the ones with a $ in between), those are the conflilcting ones, but I'm not sure how to fix it Gonzalo Vásquez Sáez Gerente Investigación y Desarroll

Re: [zeromq-dev] zmq java binding compilation issue

2013-03-13 Thread Trevor Bernard
What platform are you trying to compile on? On Wed, Mar 13, 2013 at 11:28 AM, Gonzalo Vasquez wrote: > I've tried both the current "master" from the github repo and the 2.1.2 > snapshot, both give me the same error: > > make: 1254-002 Cannot find a rule to create target > org/zeromq/ZMQontext.cla

[zeromq-dev] Authenticate a given client connection

2013-03-13 Thread Alexandre Fromage
Dear all, A more appropriate subject would have been "Associate an identity to a given client", but "Identity" has a specific (close) meaning for ZeroMQ. I have a ROUTER and I would like, at application level to associate each client (DEALER) generated id to an application context. For exam

[zeromq-dev] zmq java binding compilation issue

2013-03-13 Thread Gonzalo Vasquez
I've tried both the current "master" from the github repo and the 2.1.2 snapshot, both give me the same error: make: 1254-002 Cannot find a rule to create target org/zeromq/ZMQontext.class from dependencies. But ZMQontext class does not exist, it's been mispelled, any ideas? Gonzalo Vásquez Sáe

Re: [zeromq-dev] Problem porting to Windows

2013-03-13 Thread KIU Shueng Chuan
To link explicitly to the DLL, you would do the following: gcc -I -o broker.exe broker.c "C:\Program Files\ZeroMQ 3.2.2\bin\libzmq-v110-mt-gd-3_2_2.dll" No -L required. I don't normally try linking to MSVC compiled DLLs, so although the syntax above is correct, I do not know if it will work. gcc

Re: [zeromq-dev] ZeroMQ in AIX: native base compiled ok / java bindings fail

2013-03-13 Thread Gonzalo Vasquez
Sorry, my mistake...I built something else not the zmq java binding. Still not able to compile it as the ./configure doesn't find the zmq.h file, but that's not included in the jzmq lib, but in the zmq lib, do I have to copy those files somewhere else? Gonzalo Vásquez Sáez Gerente Investigación

Re: [zeromq-dev] Problem porting to Windows

2013-03-13 Thread Alan Ward
Hi, Thanks for your reply. Making some progress now. I no longer get the -lzmq .. not found message If I link to the ..\lib directory like this : ... -L "C:\Program Files\ZeroMQ 3.2.2\lib" -oQV_EM_message_broker.exe -llibzmq-v110-mt-gd-3_2_2 I get the undefined reference errors. If

Re: [zeromq-dev] ZeroMQ in AIX: native base compiled ok / java bindings fail

2013-03-13 Thread Gonzalo Vasquez
You did it! That single case change solved my problem. Thank Ivan! 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 gvasq...@altiuz.cl http://www.altiuz.cl http://www

Re: [zeromq-dev] ZeroMQ in AIX: native base compiled ok / java bindings fail

2013-03-13 Thread Ivan Pechorin
Hi Gonzalo, the only extra needed step was to force the use of IBM's XLC C++ compiler > by issuing the following statement: > > export CXX=xlc > > > Now I have the couple of files corresponding to the base zmq native > libraries (libzmq.a and libzmq.la). > > Tried the same procedure with the zmq J

Re: [zeromq-dev] Problem porting to Windows

2013-03-13 Thread KIU Shueng Chuan
If you specify -lzmq, mingw searches for libzmq.a or libzmq.dll.a. Are they present in your library directory? Or you could just pass to GCC the path to the zmq DLL. Mingw accepts that in lieu of an import lib. ___ zeromq-dev mailing list zeromq-dev@list

[zeromq-dev] ZeroMQ in AIX: native base compiled ok / java bindings fail

2013-03-13 Thread Gonzalo Vasquez
Dear fellows, I've successfully built ZMQ (v3.2.2) in a Power 7 AIX 6.1 environment. After installing the specified prerequisites (automake, autoconf, etc), the only extra needed step was to force the use of IBM's XLC C++ compiler by issuing the following statement: export CXX=xlc Now I have

[zeromq-dev] Problem porting to Windows

2013-03-13 Thread Alan Ward
Hi, I have a small client-server system I have developed on Ubuntu. It works fine there. I am trying to port the server to Windows using minGW. I have got everything to compile OK using gcc, but am having problems with producing the final .exe I know it is something I am doing wrong, but I c