[zeromq-dev] compiling for HP-UX

AJ Lewis aj.lewis at quantum.com
Wed Sep 26 21:14:32 CEST 2012


I had it compiling a couple months ago on HPUX 11iv3, but I haven't
tried lately.  It's usually just been a header file mismatch in my
experience.  I'll try it today or tomorrow and see how it works on my
system.

On Tue, Sep 25, 2012 at 04:53:58PM -0700, brian jackson wrote:
> 
> So, is there any magic to getting zeromq to compile on an HP-UX system?  if so...please share :)  I have dug through the archives, but mostly found things from 2008 and others that had different errors that said they were fixed in 3.2.0.  I figured I would ask here before filing bugs :)
> 
> I am not a C++ nor C programmer, so a lot of the errors are well...not my specialty
> 
> I'm running into problems getting this compiled using the HP aCC++ compiler
> aCC: HP C/aC++ B3910B A.06.14
> HP-UX  B.11.31 U ia64
> 
> zeromq 2.2.0 has this error:
>   CXX    libzmq_la-ctx.lo
> "poll.hpp", line 84: error #2020: identifier "pollfd" is undefined
>           typedef std::vector <pollfd> pollset_t;
>                                ^
> 
> 1 error detected in the compilation of "ctx.cpp".
> 
> 
> same system with zeromq 3.2.0:
>   CXX    libzmq_la-address.lo
> "tcp_address.hpp", line 42: error #2020: identifier "sockaddr" is undefined
>           tcp_address_t (const sockaddr *sa, socklen_t sa_len);
>                                ^
> "tcp_address.hpp", line 57: error #2020: identifier "sa_family_t" is undefined
>           sa_family_t family () const;
>           ^
> "tcp_address.hpp", line 59: error #2020: identifier "sockaddr" is undefined
>           const sockaddr *addr () const;
>                 ^
> "tcp_address.hpp", line 69: error #2020: identifier "sockaddr" is undefined
>               sockaddr generic;
>               ^
> "tcp_address.hpp", line 70: error #2020: identifier "sockaddr_in" is undefined
>               sockaddr_in ipv4;
>               ^
> "tcp_address.hpp", line 71: error #2020: identifier "sockaddr_in6" is undefined
>               sockaddr_in6 ipv6;
>               ^
> "tcp_address.hpp", line 89: warning #2815-D: type qualifier on return type is
>           meaningless
>           const int mask () const;
>                     ^
> "tcp_address.hpp", line 91: warning #2815-D: type qualifier on return type is
>           meaningless
>           const bool match_address (const struct sockaddr *ss, const socklen_t ss_len) const;
>                      ^
> 
> 6 errors detected in the compilation of "address.cpp".
> 
> 
> any help and/or pointers is GREATLY appreciated.
> 
> thanks,
> brian
> -- 
> Brian Jackson
> Oracle - PDIT - DevOps
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

-- 
AJ Lewis
Software Engineer
Quantum Corporation

Work:    651 688-4346
email:   aj.lewis at quantum.com

----------------------------------------------------------------------
The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt.



More information about the zeromq-dev mailing list