[zeromq-dev] Java binding build broken?
Pieter Hintjens
ph at imatix.com
Thu Oct 14 13:25:36 CEST 2010
Gonzalo,
This is great, I was helping some people build 0MQ this morning and
they all fell into this same trap of 2.1.0/2.0.x confusion with the
Java binding.
It's probably worth fixing the Java binding page to point to the
normal 0MQ download page rather than github.
-Pieter
On Thu, Oct 14, 2010 at 1:22 PM, gonzalo diethelm <gdiethelm at dcv.cl> wrote:
> 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:mlibucha at gmail.com]
> Sent: Saturday, 02 October, 2010 16:53
> To: gonzalo diethelm
> Cc: zeromq-dev at lists.zeromq.org
>
> 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 <gdiethelm at dcv.cl> wrote:
>
> Yes, sorry about that. We are trying to figure out how to handle this.
>
> ----- Original Message -----
> From: zeromq-dev-bounces at lists.zeromq.org
> <zeromq-dev-bounces at lists.zeromq.org>
> To: ZeroMQ development list <zeromq-dev at lists.zeromq.org>
> Cc: Mark Libucha <mlibucha at gmail.com>
> 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
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> 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. 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
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
--
-
Pieter Hintjens
iMatix - www.imatix.com
More information about the zeromq-dev
mailing list