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

Ivan Pechorin ivan.pechorin at gmail.com
Wed Mar 13 13:39:13 CET 2013


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 Java Binding (v2.1.3-snapshot from
> yesterday), but haven't been able to properly compile it. Right now I'm
> stuck in the "make" phase with the following err msg:
>
>   CXXLD  test_connect_resolve
>   CXX    test_connect_delay.o
>   CXXLD  test_connect_delay
>   CXX    test_last_endpoint.o
>   CXXLD  test_last_endpoint
>   CXX    test_term_endpoint.o
>   CXXLD  test_term_endpoint
>   CXX    test_monitor.o
>   CXXLD  test_monitor
> ld: 0711-317 ERROR: Undefined symbol: .__dl__FPv
> ld: 0711-317 ERROR: Undefined symbol: .__ReThrowV6
> ld: 0711-317 ERROR: Undefined symbol: .__setUncaughtExceptionFlag__3stdFb
> ld: 0711-317 ERROR: Undefined symbol: .unexpected__3stdFv
> ld: 0711-317 ERROR: Undefined symbol: .terminate__3stdFv
> ld: 0711-317 ERROR: Undefined symbol: .__nw__FUl
> ld: 0711-317 ERROR: Undefined symbol: .__ThrowV6
> ld: 0711-317 ERROR: Undefined symbol: .__CleanupCatchV6a
> ld: 0711-317 ERROR: Undefined symbol: ._Xlen__Q2_3std12_String_baseCFv
> ld: 0711-317 ERROR: Undefined symbol: ._Xran__Q2_3std12_String_baseCFv
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
> make: 1254-004 The error code from the last command is 8.
>
>

IBM's C++ compiler is "xlC", not "xlc". "xlc" is for C.

Please try

export CXX=xlC

In addition, you may need to specify xlC as a linker (CXXLD) instead of the
default "ld", but I'm not sure what is the right way to achieve this.

Regards,
Ivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130313/4f6d7bfa/attachment.htm>


More information about the zeromq-dev mailing list