我想在我的项目中使用zeroMQ
我运行如下配置将libaray构建到我的主文件夹中
./configure --enable-static --disable-shared --prefix=/home/xx/out
然后我链接我的项目
gcc -o myproject x.c y.c /home/xx/out/libzmq.a
../zmq/lib/libzmq.a(libzmq_la-ip.o): In function zmq::resolve_ip_interface(sockaddr_storage*,unsigned int*,char const*)':
/home/sureone/share/zeromq-2.2.0/src/ip.cpp:221: undefined reference to std::basic_string
………..@H_502_27@