现在要在hp-ux下编译zeromq库,编译报错,google过,zeromq的论坛上有人也出现这样的问题,没有看到答案,下载的源码包也是最新的,忘大神指点,十分感谢!!
系统:HP-UX yysdf B.11.31 U ia64 3962423388
编译器:aCC: HP C/aC++ B3910B A.06.22
报错信息:
====================================
CXX libzmq_la-address.lo
"tcp_address.hpp", line 45: error #2020: identifier "sockaddr" is undefined
tcp_address_t (const sockaddr *sa, socklen_t sa_len);
^
"tcp_address.hpp", line 60: error #2020: identifier "sa_family_t" is undefined
sa_family_t family () const;
^
"tcp_address.hpp", line 62: error #2020: identifier "sockaddr" is undefined
const sockaddr *addr () const;
^
"tcp_address.hpp", line 72: error #2020: identifier "sockaddr" is undefined
sockaddr generic;
^
"tcp_address.hpp", line 73: error #2020: identifier "sockaddr_in" is undefined
sockaddr_in ipv4;
^
"tcp_address.hpp", line 74: error #2020: identifier "sockaddr_in6" is undefined
sockaddr_in6 ipv6;
^
6 errors detected in the compilation of "address.cpp".
make[2]: *** [libzmq_la-address.lo] Error 1
make[2]: Leaving directory `/tstd
2 个解决方案
#1
顶贴。。。。。。。。。。。
#2
速速速进来啊。。。。
#1
顶贴。。。。。。。。。。。
#2
速速速进来啊。。。。