新书推介:《语义网技术体系》
作者:瞿裕忠,胡伟,程龚
   XML论坛     W3CHINA.ORG讨论区     计算机科学论坛     SOAChina论坛     Blog     开放翻译计划     新浪微博  
 
  • 首页
  • 登录
  • 注册
  • 软件下载
  • 资料下载
  • 核心成员
  • 帮助
  •   Add to Google

    >> DTD, XML Schema(XMLS), RELAX NG
    [返回] 中文XML论坛 - 专业的XML技术讨论区XML.ORG.CN讨论区 - XML技术『 DTD/XML Schema 』 → gsoap开发webservice问题,请赐教 查看新帖用户列表

      发表一个新主题  发表一个新投票  回复主题  (订阅本版) 您是本帖的第 5705 个阅读者浏览上一篇主题  刷新本主题   树形显示贴子 浏览下一篇主题
     * 贴子主题: gsoap开发webservice问题,请赐教 举报  打印  推荐  IE收藏夹 
       本主题类别:     
     lingjiexie 帅哥哟,离线,有人找我吗?
      
      
      等级:大一新生
      文章:3
      积分:62
      门派:XML.ORG.CN
      注册:2007/11/29

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给lingjiexie发送一个短消息 把lingjiexie加入好友 查看lingjiexie的个人资料 搜索lingjiexie在『 DTD/XML Schema 』的所有贴子 引用回复这个贴子 回复这个贴子 查看lingjiexie的博客楼主
    发贴心情 gsoap开发webservice问题,请赐教

    本人最近在用gsoap开发webservice服务端程序,从网站上下载了gsoap_2.7.9l,安装后Make时报错,错误如下:
    bash-2.00$ make     
            make  all-recursive
    Making all in soapcpp2
            make  all-recursive
    Making all in src
    Target "all" is up to date.
    Making all in wsdl
            ../../soapcpp2/src/soapcpp2 -SC -pwsdl -I. ./wsdl.h

    **  The gSOAP Stub and Skeleton Compiler for C and C++ 2.7.9l
    **  Copyright (C) 2000-2007, Robert van Engelen, Genivia Inc.
    **  All Rights Reserved. This product is provided "as is", without any warranty.
    **  The gSOAP compiler is released under one of the following three licenses:
    **  GPL, the gSOAP public license, or the commercial license by Genivia Inc.

    Critical error: Cannot #import: soapcpp2 not compiled with flex
    make: The error code from the last command is 1.
    Stop.
    make: The error code from the last command is 1.
    Stop.
    make: The error code from the last command is 2.
    Stop.
    make: The error code from the last command is 1.
    Stop.
    make: The error code from the last command is 2.
    Stop.

    我忽视这个错误我在编译例子程序时出现如下错误
    bash-2.00$ make
            /new_product1/boss/interface/client_source/gsoap-2.7/soapcpp2/src/soapcpp2 -padd -i -n -c add.h
    **  The gSOAP Stub and Skeleton Compiler for C and C++ 2.7.9l
    **  Copyright (C) 2000-2007, Robert van Engelen, Genivia Inc.
    **  All Rights Reserved. This product is provided "as is", without any warranty.
    **  The gSOAP compiler is released under one of the following three licenses:
    **  GPL, the gSOAP public license, or the commercial license by Genivia Inc.
    Saving addStub.h
    Saving addH.h
    Saving addC.c
    Using ns service name: Service
    Using ns service style: document
    Using ns service encoding: literal
    Using ns service location: http://localhost:80
    Using ns schema namespace: http://tempuri.org/ns.xsd
    Saving ns.wsdl Web Service description
    Saving ns.add.req.xml sample SOAP/XML request
    Saving ns.add.res.xml sample SOAP/XML response
    Saving ns.xsd XML schema
    Saving add.nsmap namespace mapping table
    Compilation successful
            xlC -g -DWITH_NONAMESPACES -c addserver.c -I /new_product1/boss/interface/client_source/gsoap-2.7/soapcpp2
    xlC: 1501-245 Warning: Hard ulimit has been reduced to less than RLIM_INFINITY.  There may not be enough space to complete the compilation.
    "addStub.h", line 59.1: 1506-278 (S) The structure definition must specify a member list.
    make: The error code from the last command is 1.
    addStub.h这个头文件为自动生成
    59行为
    struct SOAP_ENV__Header
    {
    #ifdef WITH_NOEMPTYSTRUCT
            char dummy;     /* dummy member to enable compilation */
    #endif
    };
    #endif
    应该是WITH_NOEMPTYSTRUCT这个宏没定义,请问哪位大侠碰到过这种情况。
    不吝赐教,谢谢!


       收藏   分享  
    顶(0)
      




    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2007/11/29 18:05:00
     
     lingjiexie 帅哥哟,离线,有人找我吗?
      
      
      等级:大一新生
      文章:3
      积分:62
      门派:XML.ORG.CN
      注册:2007/11/29

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给lingjiexie发送一个短消息 把lingjiexie加入好友 查看lingjiexie的个人资料 搜索lingjiexie在『 DTD/XML Schema 』的所有贴子 引用回复这个贴子 回复这个贴子 查看lingjiexie的博客2
    发贴心情 
    没有人用过这个吗
    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2007/12/4 17:04:00
     
     GoogleAdSense
      
      
      等级:大一新生
      文章:1
      积分:50
      门派:无门无派
      院校:未填写
      注册:2007-01-01
    给Google AdSense发送一个短消息 把Google AdSense加入好友 查看Google AdSense的个人资料 搜索Google AdSense在『 DTD/XML Schema 』的所有贴子 访问Google AdSense的主页 引用回复这个贴子 回复这个贴子 查看Google AdSense的博客广告
    2024/4/27 13:48:17

    本主题贴数2,分页: [1]

    管理选项修改tag | 锁定 | 解锁 | 提升 | 删除 | 移动 | 固顶 | 总固顶 | 奖励 | 惩罚 | 发布公告
    W3C Contributing Supporter! W 3 C h i n a ( since 2003 ) 旗 下 站 点
    苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
    62.500ms