当前位置: 技术问答>linux和unix
make gsoap 出错
来源: 互联网 发布时间:2016-09-13
本文导语: 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 soapcpp2-soapcpp2_yacc.o: In function `yyparse': /home/ljg/gsoap-2.7/gsoap/src/soapcpp2_yacc.c:1618: undefin...
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
soapcpp2-soapcpp2_yacc.o: In function `yyparse':
/home/ljg/gsoap-2.7/gsoap/src/soapcpp2_yacc.c:1618: undefined reference to `yylex'
/home/ljg/gsoap-2.7/gsoap/src/soapcpp2_yacc.c:3602: undefined reference to `yylex'
soapcpp2-soapcpp2_yacc.o: In function `yyparse':
/home/ljg/gsoap-2.7/gsoap/src/soapcpp2_yacc.y:271: undefined reference to `yylineno'
soapcpp2-soapcpp2_yacc.o: In function `add_header':
/home/ljg/gsoap-2.7/gsoap/src/soapcpp2_yacc.y:1819: undefined reference to `imported'
soapcpp2-soapcpp2_yacc.o: In function `add_fault':
/home/ljg/gsoap-2.7/gsoap/src/soapcpp2_yacc.y:1692: undefined reference to `imported'
soapcpp2-symbol2.o: In function `mktemplate':
/home/ljg/gsoap-2.7/gsoap/src/symbol2.c:525: undefined reference to `imported'
/home/ljg/gsoap-2.7/gsoap/src/symbol2.c:541: undefined reference to `imported'
soapcpp2-symbol2.o: In function `mksymtype':
/home/ljg/gsoap-2.7/gsoap/src/symbol2.c:511: undefined reference to `imported'
soapcpp2-symbol2.o:/home/ljg/gsoap-2.7/gsoap/src/symbol2.c:460: more undefined references to `imported' follow
soapcpp2-symbol2.o: In function `enter':
/home/ljg/gsoap-2.7/gsoap/src/symbol2.c:239: undefined reference to `yylineno'
soapcpp2-error2.o: In function `semwarn':
/home/ljg/gsoap-2.7/gsoap/src/error2.c:106: undefined reference to `yylineno'
soapcpp2-error2.o: In function `yyerror':
/home/ljg/gsoap-2.7/gsoap/src/error2.c:72: undefined reference to `yylineno'
soapcpp2-error2.o: In function `typerror':
/home/ljg/gsoap-2.7/gsoap/src/error2.c:121: undefined reference to `yylineno'
soapcpp2-error2.o: In function `semerror':
/home/ljg/gsoap-2.7/gsoap/src/error2.c:97: undefined reference to `yylineno'
soapcpp2-error2.o:/home/ljg/gsoap-2.7/gsoap/src/error2.c:88: more undefined references to `yylineno' follow
soapcpp2-error2.o: In function `lexerror':
/home/ljg/gsoap-2.7/gsoap/src/error2.c:79: undefined reference to `yytext'
/home/ljg/gsoap-2.7/gsoap/src/error2.c:79: undefined reference to `yylineno'
soapcpp2-soapcpp2.o: In function `main':
/home/ljg/gsoap-2.7/gsoap/src/soapcpp2.c:258: undefined reference to `yyin'
collect2: ld 返回 1
make[4]: *** [soapcpp2] 错误 1
make[4]: Leaving directory `/home/ljg/gsoap-2.7/gsoap/src'
make[3]: *** [all-recursive] 错误 1
make[3]: Leaving directory `/home/ljg/gsoap-2.7/gsoap'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/home/ljg/gsoap-2.7/gsoap'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/ljg/gsoap-2.7'
make: *** [all] 错误 2
已经装了 bison,flex
哪位大虾知道怎么回事 ,请指点一下,谢谢 !1
soapcpp2-soapcpp2_yacc.o: In function `yyparse':
/home/ljg/gsoap-2.7/gsoap/src/soapcpp2_yacc.c:1618: undefined reference to `yylex'
/home/ljg/gsoap-2.7/gsoap/src/soapcpp2_yacc.c:3602: undefined reference to `yylex'
soapcpp2-soapcpp2_yacc.o: In function `yyparse':
/home/ljg/gsoap-2.7/gsoap/src/soapcpp2_yacc.y:271: undefined reference to `yylineno'
soapcpp2-soapcpp2_yacc.o: In function `add_header':
/home/ljg/gsoap-2.7/gsoap/src/soapcpp2_yacc.y:1819: undefined reference to `imported'
soapcpp2-soapcpp2_yacc.o: In function `add_fault':
/home/ljg/gsoap-2.7/gsoap/src/soapcpp2_yacc.y:1692: undefined reference to `imported'
soapcpp2-symbol2.o: In function `mktemplate':
/home/ljg/gsoap-2.7/gsoap/src/symbol2.c:525: undefined reference to `imported'
/home/ljg/gsoap-2.7/gsoap/src/symbol2.c:541: undefined reference to `imported'
soapcpp2-symbol2.o: In function `mksymtype':
/home/ljg/gsoap-2.7/gsoap/src/symbol2.c:511: undefined reference to `imported'
soapcpp2-symbol2.o:/home/ljg/gsoap-2.7/gsoap/src/symbol2.c:460: more undefined references to `imported' follow
soapcpp2-symbol2.o: In function `enter':
/home/ljg/gsoap-2.7/gsoap/src/symbol2.c:239: undefined reference to `yylineno'
soapcpp2-error2.o: In function `semwarn':
/home/ljg/gsoap-2.7/gsoap/src/error2.c:106: undefined reference to `yylineno'
soapcpp2-error2.o: In function `yyerror':
/home/ljg/gsoap-2.7/gsoap/src/error2.c:72: undefined reference to `yylineno'
soapcpp2-error2.o: In function `typerror':
/home/ljg/gsoap-2.7/gsoap/src/error2.c:121: undefined reference to `yylineno'
soapcpp2-error2.o: In function `semerror':
/home/ljg/gsoap-2.7/gsoap/src/error2.c:97: undefined reference to `yylineno'
soapcpp2-error2.o:/home/ljg/gsoap-2.7/gsoap/src/error2.c:88: more undefined references to `yylineno' follow
soapcpp2-error2.o: In function `lexerror':
/home/ljg/gsoap-2.7/gsoap/src/error2.c:79: undefined reference to `yytext'
/home/ljg/gsoap-2.7/gsoap/src/error2.c:79: undefined reference to `yylineno'
soapcpp2-soapcpp2.o: In function `main':
/home/ljg/gsoap-2.7/gsoap/src/soapcpp2.c:258: undefined reference to `yyin'
collect2: ld 返回 1
make[4]: *** [soapcpp2] 错误 1
make[4]: Leaving directory `/home/ljg/gsoap-2.7/gsoap/src'
make[3]: *** [all-recursive] 错误 1
make[3]: Leaving directory `/home/ljg/gsoap-2.7/gsoap'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/home/ljg/gsoap-2.7/gsoap'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/ljg/gsoap-2.7'
make: *** [all] 错误 2
已经装了 bison,flex
哪位大虾知道怎么回事 ,请指点一下,谢谢 !1
|
没有Makefile吗?
有的话直接make啊
有的话直接make啊