求救 有谁知道 ACE ???

15 views
Skip to first unread message

maxiaog...@gmail.com

unread,
Sep 28, 2009, 4:42:54 AM9/28/09
to China Linux Fans
各位大侠 有谁用过ACE 。。是个什么软件啊?如何使用??

王虎

unread,
Sep 28, 2009, 5:01:57 AM9/28/09
to china-li...@googlegroups.com
不是一个软件,是一个高性能、实时的网络库。

2009/9/28 maxiaog...@gmail.com <maxiaog...@gmail.com>
各位大侠  有谁用过ACE 。。是个什么软件啊?如何使用??








Jacky

unread,
Sep 28, 2009, 7:12:42 AM9/28/09
to China Linux Fans
就象你的程序里#include <stdio.h>,代码里写printf("hello");编译的时候把C库链进来就可以执行打印出hello来
一样。
ACE就是一套库,需要包含其头文件,链接其库,然后调用它的函数实现创建socket,收发数据包。
使用方法就是参照其文档,#include几个头文件,gcc命令加上链接其库的参数,代码里使用它提供的那些函数。
先把网络编程学会,然后看就会觉得ACE不神秘了。

On 9月28日, 下午4时42分, "maxiaoguang8...@gmail.com"
<maxiaoguang8...@gmail.com> wrote:
> 各位大侠 有谁用过ACE 。。是个什么软件啊?如何使用??

马晓光

unread,
Sep 29, 2009, 11:48:17 PM9/29/09
to china-li...@googlegroups.com
呵呵 多谢大侠们指点
 
我现在在Ubuntu上安装 ACE+TAO+CIAO-5.7.1.tar.gz 报错。
 
 
In file included from ../../../ace/SSL/SSL_Asynch_BIO.cpp:3:
../../../ace/SSL/SSL_Asynch_BIO.h:29:25: error: openssl/bio.h: No such file or directory
make[3]: *** [libACE_SSL_la-SSL_Asynch_BIO.lo] Error 1

bailing chen

unread,
Sep 30, 2009, 3:40:08 AM9/30/09
to china-li...@googlegroups.com
这个应该是缺少相应的库吧,google一下就有了啊

2009/9/30 马晓光 <maxiaog...@gmail.com>



--
Best regards!

Bailing Chen

bailing chen

unread,
Sep 30, 2009, 3:42:02 AM9/30/09
to china-li...@googlegroups.com
The simple fix to this problem is to ensure that the OpenSSL 
development libraries are also installed on your system! 


2009/9/30 马晓光 <maxiaog...@gmail.com>

Jacky

unread,
Sep 30, 2009, 4:01:37 AM9/30/09
to China Linux Fans
把这句话“error: openssl/bio.h: No such file or directory”拿去google一下就会发现是少了
openssl的开发库
在Ubuntu下运行命令:
apt-cache search openssl dev
就找到它了:
libssl-dev - SSL development libraries, header files and documentation
安装一下libssl-dev就好了。
apt-get install libssl-dev
Reply all
Reply to author
Forward
0 new messages