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 java 的protected权限 ,问题在注释里
  • ¥15 这个是哪里有问题啊?
  • ¥15 关于#vue.js#的问题:修改用户信息功能图片无法回显,数据库中只存了一张图片(相关搜索:字符串)
  • ¥15 texstudio的问题,
  • ¥15 spaceclaim模型变灰色
  • ¥15 求一份华为esight平台V300R009C00SPC200这个型号的api接口文档
  • ¥15 就很莫名其妙,本来正常的Excel,突然变成了这种一格一页
  • ¥15 字符串比较代码的漏洞
  • ¥15 欧拉系统opt目录空间使用100%
  • ¥15 ul做导航栏格式不对怎么改?