【问题标题】:Facing issues in compilation of idl files using tao_idl in rhel7 machine在 rhel7 机器中使用 tao_idl 编译 idl 文件时面临的问题
【发布时间】:2016-07-26 17:27:07
【问题描述】:

我在编译 idl 文件时遇到问题。我尝试使用 -Cw、-GI 和 -o 的不同选项,都给出以下错误

tao_idl: "El_file.idl", line 201: 符号文件查找错误::File1_operationFailed

tao_idl: "El_file.idl", line 204: 符号文件查找错误::File1_operationFailed

tao_idl: "El_file.idl", line 208: 符号文件查找错误::File1_operationFailed

tao_idl: El_file.idl: 发现 744 错误 致命错误 - 中止

感谢约翰的回复。 第 9 行:语句无法解析

第 201 行:符号查找错误:ptype

第 9 行:模块管理器{ 接口 intf1;

      interface intf2;

      interface intf3;

      ....
      ..
      ...
      ...
      ..
   }

枚举 ptype{ 简介1, 简介2, ... ... }

第 201 行:结构 pstruct{

                ptype P1;

             }

【问题讨论】:

  • 听起来您有一个 IDL 文件,其中包含非法 IDL,但没有向我们提供文件内容,我们无能为力。
  • 请检查上面我已经添加了代码

标签: compilation corba idl tao


【解决方案1】:

你的 IDL 不合法,你应该用 } 关闭模块、枚举和结构;而不仅仅是}

【讨论】:

  • sorry john 结​​构和枚举都用 }; 关闭。复制代码时出错。
  • 请使用失败的 exact IDL 更新您的问题,当我在我的系统上添加缺少的分号时,它确实编译没有问题
猜你喜欢
  • 1970-01-01
  • 2014-11-27
  • 1970-01-01
  • 2014-06-22
  • 2012-08-13
  • 1970-01-01
  • 2021-06-01
  • 1970-01-01
  • 2011-03-16
相关资源
最近更新 更多