[zeromq-dev] compiling for HP-UX
brian.j.jackson at oracle.com
Thu Sep 27 00:19:21 CEST 2012
On Wednesday 26 September 2012 14:20:04 AJ Lewis wrote:
> On Wed, Sep 26, 2012 at 01:40:13PM -0700, brian jackson wrote:
> > On Wednesday 26 September 2012 12:37:41 AJ Lewis wrote:
> > > Yeah, you need this fix
> > > (https://github.com/zeromq/zeromq3-x/commit/14da52c3aad5fa83cb167e2bf49200e072a61d1e)
> > > applied to 3.2.0-rc1 to get it building on HPUX. I don't think
> > > there's been an official 3.2 release since that fix went into git.
> > patch applied, but still getting the original error:
> > 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);
> Odd...It almost seems like you're missing header files, but I don't
> know HPUX well enough to say for sure.
> I am using a newer version of aCC:
> aCC: HP C/aC++ B3910B A.06.25 [Nov 30 2009]
> struct sockaddr should be defined in sys/socket.h, but I guess in
> that case it's just calling it sockaddr - shouldn't that be 'struct
> sockaddr'? Not sure why that's working on my system...
Yea, might be missing headers. sys/socket.h does exist and it does contain a definition to sockaddr, don't know what's going on there.
I've also tried with aCC 6.25 which I've found on the system; still running into the same error.
as far as the C++ side of things with the syntax...no clue, not a C++ guy
Oracle - PDIT - DevOps
More information about the zeromq-dev