最近在程序開發中用到RESTFUL協議,需要在LINUX C下開發,網上看見Axis2/c 是基於 C 語言實現的 Web Service 引擎,基於 Axis2 架構,用於提供 Web 服務。需要搭建 Axis2/c 的運行環境。之前搭建了好久都沒有成功。卡在返回“/usr/bin/ld: test.o: undefined reference to symbol 'axiom_xml_reader_free'”中。
網上找了一些資料都是要求去掉neethi下makefile test目錄。刪除後也有一堆問題。
經過多方嘗試需要刪除一些信息,具體見下所述:
- 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"