posts - 88, comments - 3, trackbacks - 0, articles - 0
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理
          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!!

          主站蜘蛛池模板: 鄂州市| 尤溪县| 喜德县| 新疆| 靖江市| 嘉荫县| 和平县| 泰顺县| 丘北县| 昌吉市| 壶关县| 怀来县| 阜宁县| 襄垣县| 延安市| 汾阳市| 平定县| 贵南县| 南川市| 万安县| 五家渠市| 遵义市| 濉溪县| 延庆县| 寻乌县| 仪陇县| 梅河口市| 石家庄市| 大足县| 轮台县| 农安县| 桃源县| 新龙县| 江孜县| 邯郸市| 普兰店市| 水富县| 彝良县| 江川县| 虞城县| 弋阳县|