posts - 88, comments - 3, trackbacks - 0, articles - 0
            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理
          Two compile issues i got:

          One issue is:
              uuid_gen_unix.c: In function 'axutil_uuid_gen_v1':uuid_gen_unix.c:62:20: error: variable 'tv' set but not used [-Werror=unused-but-set-variable]     struct timeval tv;                    ^cc1: all warnings being treated as errors    


          Solution is remove "-Werror" in all configure scripts
          find -type f -name configure -exec sed -i '/CFLAGS/s/-Werror//g' {} \;
          Another issue is:
          /usr/bin/ld: test.o: undefined reference to symbol 'axiom_xml_reader_free'
          /usr/local/axis2c/lib/libaxis2_parser.so
          .0: error adding symbols: DSO missing from command line
          collect2: error: ld returned 
          1 exit status
          make
          [4]: *** [test] Error 1
          make
          [4]: Leaving directory `/home/miaoyachun/softwares/test/axis2c-src-1.6.0/neethi/test'

          As suggested in https://code.google.com/p/staff/issues/detail?id=198, the solution is disable neethi/test in following files:
          • neethi/configure, remove all "test/Makefile"
          • neethi/Makefile.am, update "SUBDIRS = src test" with "SUBDIRS = src"
          • neethi/Makefile.in, update "SUBDIRS = src test" with "SUBDIRS = src"

          Finally, you could run "make; sudo make install"" successfully. Last thing should be paid attention to is you may need copy all head files of neethi/include into /usr/local/axis2c/include/axis2-1.6.0/ which needed when you compile customized web service.

          Enjoining it!!

          主站蜘蛛池模板: 定边县| 吉隆县| 隆德县| 汪清县| 余江县| 佛坪县| 建阳市| 鹤山市| 三台县| 乐至县| 英吉沙县| 盖州市| 射阳县| 获嘉县| 兰考县| 大田县| 丰台区| 甘泉县| 汝南县| 卓资县| 元谋县| 鹤峰县| 汾阳市| 建水县| 济南市| 南郑县| 翼城县| 鄢陵县| 马边| 星子县| 冕宁县| 崇文区| 张家港市| 个旧市| 威宁| 通化县| 虹口区| 团风县| 宁远县| 亳州市| 萝北县|