【问题标题】:ACE Library in Ubuntu 20.04Ubuntu 20.04 中的 ACE 库
【发布时间】:2020-08-22 22:38:15
【问题描述】:

我正在尝试在 Ubuntu 20.04 下构建 ACE 6.4.8。

我收到以下消息

/ACE_wrappers/ace/os_include/os_stropts.h:56:17: fatal error: stropts.h: No such file or directory
   56 | #  include /**/ <stropts.h>
      |                 ^~~~~~~~~~~
compilation terminated.
make[1]: *** [/home/ap1/Projects/ACE_wrappers/include/makeinclude/rules.local.GNU:189: .shobj/ACE.o] Error 1
make[1]: Leaving directory '/home/ap1/Projects/ACE_wrappers_6_4_8/ace'
make: *** [GNUmakefile:777: ACE] Error 2

我的理解是 stropts.h 头文件是 posix C 库的一部分,已从 glibc 中删除。

这里有什么方法可以正确编译 ACE 吗?

【问题讨论】:

    标签: ace ubuntu-20.04


    【解决方案1】:

    这是由于最近的 Ubuntu 20.04 发生了变化,您使用的 ACE 版本较旧。请升级到您可以从github 下载的ACE 6.5.9,其中包括必要的fix

    【讨论】:

    • 我按照上面的建议安装了 ACE 6.5.9 我收到了这条消息 ACE_TkReactor will not be build due to the disabled make macros: tk ACE_XtReactor will not be build due to the disabled make macros: x11 xt 这里有任何建议
    • 这只是信息性消息,当您没有明确启用 xt/x11 时,这些反应器不会被编译
    • 非常感谢以上内容。最后一个问题我似乎没有让 QtReactor 编译。已安装 Qt5.9.5。这是 QtReactor 文件夹的内容 -rw-r--r-- 1 ap1 ap1 522 May 1 16:01 ace_qt4reactor.mpc -rw-r--r-- 1 ap1 ap1 495 May 1 16:01 ace_qt5reactor.mpc - rw-r--r-- 1 ap1 ap1 2.2K 5 月 1 日 16:01 ACE_QtReactor_export.h -rw-r--r-- 1 ap1 ap1 229 5 月 1 日 16:01 ACE_QtReactor.pc.in -rw-r-- r-- 1 ap1 ap1 20K 5 月 1 日 16:01 QtReactor.cpp -rw-r--r-- 1 ap1 ap1 7.7K 5 月 1 日 16:01 QtReactor.h
    猜你喜欢
    • 2020-09-01
    • 2021-03-15
    • 1970-01-01
    • 1970-01-01
    • 2020-08-09
    • 2021-05-02
    • 2021-05-04
    • 2022-11-10
    • 1970-01-01
    相关资源
    最近更新 更多