doujiaohuo1096 2015-07-30 11:01
浏览 74
已采纳

安装SAPRFC时make命令出错

I am trying to install SAPRFC on my linux 4.0.4-x86_64 (ubuntu14) machine.

Steps done so far

  • Downloaded rfcsdk 6.40 and uploaded in /usr/local/rfcsdk
  • Extracted saprfc-1.4.1 in my root directory
  • Executed following command

    - phpize
    - ./configure
    - make
    

    after running make command i am getting following error

    -/root/saprfc-1.4.1/saprfc.c: In function ‘zif_saprfc_get_ticket’:
     /root/saprfc-1.4.1/saprfc.c:2485:5: warning: ‘zend_get_parameters_ex’   is deprecated (declared at /usr/local/include/php/Zend/zend_API.h:241) [-Wdeprecated-declarations] 
     if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &rfc) == FAILURE){
      ^
      make: *** [saprfc.lo] Error 1
    

warning: ‘zend_get_parameters_ex’ is deprecated

make: *** [saprfc.lo] Error 1

Can anyone help me out in solving this issue.

  • 写回答

1条回答 默认 最新

  • donglian2106 2015-08-21 13:34
    关注

    Modify file saprfc.c. Replace function_entry with zend_function_entry on line 47.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 openwrt双栈NAT
  • ¥15 部分网页页面无法显示!
  • ¥15 怎样解决power bi 中设置管理聚合,详细信息表和详细信息列显示灰色,而不能选择相应的内容呢?
  • ¥15 QTOF MSE数据分析
  • ¥15 平板录音机录音问题解决
  • ¥15 请问维特智能的安卓APP在手机上存储传感器数据后,如何找到它的存储路径?
  • ¥15 (SQL语句|查询结果翻了4倍)
  • ¥15 Odoo17操作下面代码的模块时出现没有'读取'来访问
  • ¥50 .net core 并发调用接口问题
  • ¥15 网上各种方法试过了,pip还是无法使用