I have just committed changes to the Java binding that make it aware of 0MQ's 
version (both at compile and run time). It should be possible now to build and 
use the maint (2.0.10) and master (2.1.0) branches for the binding with no 
problems. The maint branch will return runt-time errors when using socket 
options not supported back then.

 

Please let me know of any problems. Best regards.

 

 

Gonzalo Diethelm 

 

________________________________

From: Mark Libucha [mailto:[email protected]] 
Sent: Saturday, 02 October, 2010 16:53
To: gonzalo diethelm
Cc: [email protected]
Subject: Re: [zeromq-dev] Java binding build broken?

 

Not a problem. I upgraded myself to 2.1 and things are working fine.

 

Mark

On Sat, Oct 2, 2010 at 1:00 PM, gonzalo diethelm <[email protected]> wrote:

Yes, sorry about that. We are trying to figure out how to handle this.



----- Original Message -----
From: [email protected] <[email protected]>
To: ZeroMQ development list <[email protected]>
Cc: Mark Libucha <[email protected]>
Sent: Sat Oct 02 14:01:30 2010
Subject: Re: [zeromq-dev] Java binding build broken?

Hi Mark,

Gonzalo has modified the binding to work with 0MQ/2.1 thus breaking it
for the stable versions. Try getting the source code for jzmq from 2
days ago.

Martin

On 10/02/2010 07:58 PM, Mark Libucha wrote:
> Is the Java binding build broken? Seems like there's an include file
> missing from the sources? (I'm relatively new to git, so it could very
> well be my ignorance here.)
>
>   g++ -DHAVE_CONFIG_H -I. -I. -I. -D_REENTRANT -D_THREAD_SAFE
> -I/opt/chiliad/discovery/java/include
> -I/opt/chiliad/discovery/java/include/linux -Wall -g -O2 -MT
> libjzmq_la-Socket.lo -MD -MP -MF .deps/libjzmq_la-Socket.Tpo -c
> Socket.cpp  -fPIC -DPIC -o .libs/libjzmq_la-Socket.o
> Socket.cpp: In function 'jlong
> Java_org_zeromq_ZMQ_00024Socket_getLongSockopt(JNIEnv*, _jobject*, jint)':
> Socket.cpp:103: error: 'ZMQ_TYPE' was not declared in this scope
> Socket.cpp:113: error: 'ZMQ_FD' was not declared in this scope
> Socket.cpp:114: error: 'ZMQ_EVENTS' was not declared in this scope
>
> Thanks for any help you can provide.
>
> Mark
>
>
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

________________________________

Declaración de confidencialidad: Este Mensaje esta destinado para el uso de la 
o las personas o entidades a quien ha sido dirigido y puede contener 
información reservada y confidencial que no puede ser divulgada, difundida, ni 
aprovechada en forma alguna. El uso no autorizado de la información contenida 
en este correo podrá ser sancionado de conformidad con la ley chilena. Si usted 
ha recibido este correo electrónico por error, le pedimos eliminarlo junto con 
los archivos adjuntos y avisar inmediatamente al remitente, respondiendo este 
mensaje. Disclosure: This Message is to be used by the individual, individuals 
or entities that it is addressed to and may include private and confidential 
information that may not be disclosed, made public nor used in any way at all. 
Unauthorized use of the information in this electronic mail message may be 
subject to the penalties set forth by Chilean law. If you have received this 
electronic mail message in error, we ask you to destroy the message and its 
attached file(s) and to immediately notify the sender by answering this message.

 



----------------------------------------- 
Declaración de confidencialidad: Este Mensaje esta destinado para
el uso de la o las personas o entidades a quien ha sido dirigido y
puede contener información reservada y confidencial que no puede
ser divulgada, difundida, ni aprovechada en forma alguna. El uso no
autorizado de la información contenida en este correo podrá ser
sancionado de conformidad con la ley chilena. 
Si usted ha recibido este correo electrónico por error, le pedimos
eliminarlo junto con los archivos adjuntos y avisar inmediatamente
al remitente, respondiendo este mensaje. 

"Before printing this e-mail think if is really necesary".
Disclosure: This Message is to be used by the individual,
individuals or entities that it is addressed to and may include
private and confidential information that may not be disclosed,
made public nor used in any way at all. Unauthorized use of the
information in this electronic mail message may be subject to the
penalties set forth by Chilean law. 
If you have received this electronic mail message in error, we ask
you to destroy the message and its attached file(s) and to
immediately notify the sender by answering this message. 
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to