免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3223 | 回复: 3
打印 上一主题 下一主题

谁懂的在HP-UX pa 11上安装gSoap? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-26 11:55 |只看该作者 |倒序浏览
我在HP-UX上安装gSOAP一直状不过去
不知道谁有安装过
貌似要用aCC才能装
请告知一声
谢谢

论坛徽章:
0
2 [报告]
发表于 2008-09-27 15:55 |只看该作者
先装acc哦

论坛徽章:
0
3 [报告]
发表于 2008-10-21 11:09 |只看该作者
装上没有?遇到一堆问题,郁闷得很。

下面是我的build.sh

#MYINC="-I/opt/aCC/include -I/opt/aCC/include_std -I/usr/include -I/usr/include/sys"
MYDEF="-D__hpux -D_RWSTD_NO_WCHAR_H -g -z -v +Z -AA  -mt -DHP_UX"

export CXX=/opt/aCC/bin/aCC
export CC=/opt/aCC/bin/aCC
export CFLAGS="${MYINC} ${MYDEF}"
export CXXFLAGS="${MYINC} ${MYDEF}"
export CPPFLAGS="${MYINC} ${MYDEF}"

./configure
echo "==============================================================="
echo "=============== configure done, begin make ===================="
echo "==============================================================="
make



然后一会儿是yacc出问题,一会儿是lex出问题,编译都过不了,日噢。

论坛徽章:
0
4 [报告]
发表于 2008-10-21 11:24 |只看该作者
conflicts: 1 shift/reduce
        sed '/^#/ s|y\.tab\.c|soapcpp2_yacc.c|' y.tab.c >soapcpp2_yacc.c
        rm -f y.tab.c
        if test -f y.tab.h; then \
          to=`echo "soapcpp2_yacc_H" | sed \
                        -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
                        -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \
          sed "/^#/ s/Y_TAB_H/$to/g" y.tab.h >soapcpp2_yacc.ht; \
          rm -f y.tab.h; \
          if cmp -s soapcpp2_yacc.ht soapcpp2_yacc.h; then \
            rm -f soapcpp2_yacc.ht ;\
          else \
            mv soapcpp2_yacc.ht soapcpp2_yacc.h; \
          fi; \
        fi
        if test -f y.output; then \
          mv y.output soapcpp2_yacc.output; \
        fi
        source='soapcpp2_yacc.c' object='soapcpp2-soapcpp2_yacc.o' libtool=no \
        depfile='.deps/soapcpp2-soapcpp2_yacc.Po' tmpdepfile='.deps/soapcpp2-soapcpp2_yacc.TPo' \
        depmode=gcc3 /bin/sh /mnt/home_nfs/clgao/gsoap-2.7/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I/mnt/home_nfs/clgao/gsoap-2.7/gsoap/src -I../..    -DWITH_YACC -DWITH_LEX  -DSOAPCPP_IMPORT_PATH="\"/usr/local/share/gsoap/import\"" -DHP_UX -\
g -O2 -c -o soapcpp2-soapcpp2_yacc.o `test -f 'soapcpp2_yacc.c' || echo '/mnt/home_nfs/clgao/gsoap-2.7/gsoap/src/'`soapcpp2_yacc.c
soapcpp2_yacc.y:236:1: warning: "RS" redefined
In file included from /usr/include/sys/syscall.h:67,
                 from /usr/include/sys/signal.h:546,
                 from /usr/include/sys/wait.h:126,
                 from /usr/local/lib/gcc-lib/hppa1.1-hp-hpux11.00/3.2/include/stdlib.h:230,
                 from soapcpp2.h:51,
                 from soapcpp2_yacc.y:63:
/usr/include/machine/sys/syscall.h:62:1: warning: this is the location of the previous definition
        lex   `test -f soapcpp2_lex.l || echo '/mnt/home_nfs/clgao/gsoap-2.7/gsoap/src/'`soapcpp2_lex.l
        sed '/^#/ s|lex.yy\.c|soapcpp2_lex.c|' lex.yy.c >soapcpp2_lex.c
        rm -f lex.yy.c
        source='soapcpp2_lex.c' object='soapcpp2-soapcpp2_lex.o' libtool=no \
        depfile='.deps/soapcpp2-soapcpp2_lex.Po' tmpdepfile='.deps/soapcpp2-soapcpp2_lex.TPo' \
        depmode=gcc3 /bin/sh /mnt/home_nfs/clgao/gsoap-2.7/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I/mnt/home_nfs/clgao/gsoap-2.7/gsoap/src -I../..    -DWITH_YACC -DWITH_LEX  -DSOAPCPP_IMPORT_PATH="\"/usr/local/share/gsoap/import\"" -DHP_UX -\
g -O2 -c -o soapcpp2-soapcpp2_lex.o `test -f 'soapcpp2_lex.c' || echo '/mnt/home_nfs/clgao/gsoap-2.7/gsoap/src/'`soapcpp2_lex.c
In file included from soapcpp2_lex.c:69:
soapcpp2_yacc.h:96:1: warning: "RS" redefined
In file included from /usr/include/sys/syscall.h:67,
                 from /usr/include/sys/signal.h:546,
                 from /usr/include/sys/wait.h:126,
                 from /usr/local/lib/gcc-lib/hppa1.1-hp-hpux11.00/3.2/include/stdlib.h:230,
                 from soapcpp2.h:51,
                 from symbol2.c:50:
/usr/include/machine/sys/syscall.h:62:1: warning: this is the location of the previous definition
        source='error2.c' object='soapcpp2-error2.o' libtool=no \
        depfile='.deps/soapcpp2-error2.Po' tmpdepfile='.deps/soapcpp2-error2.TPo' \
        depmode=gcc3 /bin/sh /mnt/home_nfs/clgao/gsoap-2.7/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I/mnt/home_nfs/clgao/gsoap-2.7/gsoap/src -I../..    -DWITH_YACC -DWITH_LEX  -DSOAPCPP_IMPORT_PATH="\"/usr/local/share/gsoap/import\"" -DHP_UX -\
g -O2 -c -o soapcpp2-error2.o `test -f 'error2.c' || echo '/mnt/home_nfs/clgao/gsoap-2.7/gsoap/src/'`error2.c
In file included from error2.c:52:
soapcpp2_yacc.h:96:1: warning: "RS" redefined
In file included from /usr/include/sys/syscall.h:67,
                 from /usr/include/sys/signal.h:546,
                 from /usr/include/sys/wait.h:126,
                 from /usr/local/lib/gcc-lib/hppa1.1-hp-hpux11.00/3.2/include/stdlib.h:230,
                 from soapcpp2.h:51,
                 from error2.c:49:
/usr/include/machine/sys/syscall.h:62:1: warning: this is the location of the previous definition
        source='init2.c' object='soapcpp2-init2.o' libtool=no \
        depfile='.deps/soapcpp2-init2.Po' tmpdepfile='.deps/soapcpp2-init2.TPo' \
        depmode=gcc3 /bin/sh /mnt/home_nfs/clgao/gsoap-2.7/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I/mnt/home_nfs/clgao/gsoap-2.7/gsoap/src -I../..    -DWITH_YACC -DWITH_LEX  -DSOAPCPP_IMPORT_PATH="\"/usr/local/share/gsoap/import\"" -DHP_UX -\
g -O2 -c -o soapcpp2-init2.o `test -f 'init2.c' || echo '/mnt/home_nfs/clgao/gsoap-2.7/gsoap/src/'`init2.c
In file included from init2.c:52:
soapcpp2_yacc.h:96:1: warning: "RS" redefined
In file included from /usr/include/sys/syscall.h:67,
                 from /usr/include/sys/signal.h:546,
                 from /usr/include/sys/wait.h:126,
                 from /usr/local/lib/gcc-lib/hppa1.1-hp-hpux11.00/3.2/include/stdlib.h:230,
                 from soapcpp2.h:51,
                 from init2.c:49:
/usr/include/machine/sys/syscall.h:62:1: warning: this is the location of the previous definition
        source='soapcpp2.c' object='soapcpp2-soapcpp2.o' libtool=no \
        depfile='.deps/soapcpp2-soapcpp2.Po' tmpdepfile='.deps/soapcpp2-soapcpp2.TPo' \
        depmode=gcc3 /bin/sh /mnt/home_nfs/clgao/gsoap-2.7/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I/mnt/home_nfs/clgao/gsoap-2.7/gsoap/src -I../..    -DWITH_YACC -DWITH_LEX  -DSOAPCPP_IMPORT_PATH="\"/usr/local/share/gsoap/import\"" -DHP_UX -\
g -O2 -c -o soapcpp2-soapcpp2.o `test -f 'soapcpp2.c' || echo '/mnt/home_nfs/clgao/gsoap-2.7/gsoap/src/'`soapcpp2.c
        gcc  -g -O2   -o soapcpp2  soapcpp2-soapcpp2_yacc.o  soapcpp2-soapcpp2_lex.o soapcpp2-symbol2.o  soapcpp2-error2.o soapcpp2-init2.o  soapcpp2-soapcpp2.o -ly -ll
Making all in wsdl
        ../../gsoap/src/soapcpp2 -SC -pwsdl -I../import /mnt/home_nfs/clgao/gsoap-2.7/gsoap/wsdl/wsdl.h
soapcpp2: using both options -C and -S omits client/server code


**  The gSOAP Stub and Skeleton Compiler for C and C++ 2.7.12
**  Copyright (C) 2000-2008, 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
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

Compilation exited abnormally with code 1 at Tue Oct 21 11:16:58
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP