1 ace 的编译 在正式开始使用 ace 之前, 我们必须先编译 ace。 首先到 ace 的官方站点 下载 ace 的源码包, 然后解压到一个你喜欢的目录, 为编译做好准备。 1.1 linux 下的编译 对于习惯了“三板斧”的 linux 用户而言, 解压 ace 后发现的第一个问题一定是: 居然没有熟悉的 configure! 是的, ace 没有使用 autoconf。 首先, 我们需要设置 $ace_ROOT 环境变量, 把该环境变量指向你解压 ace 后得到的最上层目录, 如果你把...
by alibase_xg - C/C++ - 2009-04-21 14:50:09 阅读(1708) 回复(3)
以下是错误信息: GNUmakefile:20: /include/makeinclude/macros.GNU: 没有那个文件或目录 make: *** 没有规则可以创建目标“/include/makeinclude/macros.GNU”。 停止。 之前我已经按照ace-INSTALL.html中的步骤做过了,然而输入make命令时会看到以上的错误信息。 GNUmakefile第20行的内容是: include $(ace_ROOT)/include/makeinclude/macros.GNU 似乎make完全忽略了$(ace_ROOT),而我用echo $ace_ROOT是可以输出正确结果的。...
在搭建ace的时候, 执行make出错. 真的不知道是什么回事? g++ -fvisibility=hidden -fvisibility-inlines-hidden -W -Wall -Wpointer-arith -O3 -ggdb -pipe -D_REENTRANT -Dace_HAS_AIO_CALLS -D_GNU_SOURCE -I/home2/bbbuild/ace_wrappers -Dace_HAS_EXCEPTIONS -D__ace_INLINE__ -I.. -Wl,-E -L/home2/bbbuild/ace_wrappers/lib -L. -L../lib -o UUID_Test .obj/Main.o .obj/UUID_Test.o -lTest_Output -lace -ldl -lpthrea...
环境 [quote]# uname -a FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 [email]root@driscoll.cse.buffalo.edu[/email]:/usr/obj/usr/src/sys/GENERIC amd64 # gcc -v Using built-in specs. Target: amd64-undermydesk-freebsd Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD][/quote] 用/usr/posts/devel/ace安装的 [quote]# p...
ace 5.5 tao 1.5 make: 3.80 hp-ux: 11.11 用aCC在hp-ux11.11下编译ace 但是make时出现问题 好像是aCC不支持 -pthread 我如何可以在configure的时候不把-pthread 写入makefile? 或者有其他解决方法?谢谢 /usr/bin/ld: Unrecognized argument: -pthread /usr/bin/ld: Usage: /usr/bin/ld [options] [flags] files *** Error exit code 1 Stop. [ 本帖最后由 coolfire666 于 2007-8-13 14:15 编辑 ]
系统为:redhat 编译命令为: g++ -g -Wall -I $ace_ROOT hello.cpp 出现的错误信息为: /tmp/cck4BAzE.o(.text+0x1d): In function `main': /home/godpig/Desktop/work/ace/hello.cpp:7: undefined reference to `ace_Log_Msg::last_error_adapter()' /tmp/cck4BAzE.o(.text+0x25):/home/godpig/Desktop/work/ace/hello.cpp:7: undefined reference to `ace_Log_Msg::instance()' /tmp/cck4BAzE.o(.text+0x3f):/home/godpig/Desk...
书上说开发ace的时候,autotool还没有出来,所以ace并没有使用autotool,而是用自己的一套方法来编译的。 我现在想用autotool来编译ace程序,但不知道应该怎么改configure.ac和makefile.am文件。 不知道有没有高手可以指点一下。
ace5.6.x什么时候才能进ports阿?现在很郁闷 5.5.2在windows上编译有问题 , 5.6.x在FB上编译又有问题,但是这两个的某些接口的定义还有差异!!
Error 711: "/opt/comp_dev/ace_wrappers/ace/OS_NS_signal.inl", line 37 # There is no matching declaration for 'int sigaction(int,const sigaction *,sigaction *)' in namespace "namespace ace_OS". ace_OS::sigaction (int signum, ^^^^^^^^^ Error 698: Exact position unknown; near ["/opt/comp_dev/ace_wrappers/ace/OS_NS_signal.inl", line 64]. # The declarations struct s...
在用ace写东西,集成测试的时候,每发现一个问题,修改代码后就需要ftp到 win2000,HP-UX,AIX来分别编译以得到可执行的文件。巨麻烦! 不知道大家遇到这样的问题都是怎么解决的。