【问题标题】:Issue in compiling aloha in Omnetpp 5.6.2.& 5.6.1 in windows 10, 64 bit在 Windows 10、64 位的 Omnetpp 5.6.2.& 5.6.1 中编译 aloha 的问题
【发布时间】:2021-07-13 01:50:10
【问题描述】:

我正在尝试安装 OMNETpp5.6.2 但失败了,因为它给了我编译错误 aloha 无法编译左右,...
所以我尝试使用 omnet 5.6.1 但最终出现如下所示的相同错误

===== Compiling aloha ====

make[2]: Warning: File 'out/gcc-release//.last-copts' has modification time 1.4 s in the future

Host.cc

Server.cc

Creating executable: out/gcc-release//aloha.exe

ln: failed to create hard link 'aloha.exe' => 'out/gcc-release//aloha.exe': Operation not permitted

make[2]: *** [Makefile:87: aloha.exe] Error 1

make[1]: *** [Makefile:134: aloha] Error 2

make: *** [Makefile:28: allmodes] Error 2

我将它安装在 C 盘以外的地方,这可能是个问题吗? 操作系统 - Windows 10 64 位。

【问题讨论】:

    标签: installation compilation omnet++ aloha


    【解决方案1】:

    遵守以下规则:

    1. 请注意,您的 OMNeT++ 的目录名称不能包含任何空格。
    2. 暂时关闭实时防病毒保护。

    【讨论】:

      【解决方案2】:

      奇怪的是,虽然可以在输出目录中创建文件,但构建过程却无法创建硬链接。

      我的猜测是文件系统可能是 FAT 而不是 NTFS。 FAT 文件系统不支持硬链接,OMNeT++ 未在 FAT 文件系统上测试。

      解决方案:将其安装在 NTFS 驱动器上。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2016-01-05
        • 1970-01-01
        • 2019-04-04
        • 2022-01-13
        • 1970-01-01
        • 2019-07-31
        • 2018-03-26
        相关资源
        最近更新 更多