锘??xml version="1.0" encoding="utf-8" standalone="yes"?>337P日本欧洲亚洲大胆艺术图 ,av在线亚洲欧洲日产一区二区,亚洲一区日韩高清中文字幕亚洲http://m.tkk7.com/miaoyachun/category/53766.htmlzh-cnFri, 21 Aug 2015 06:37:24 GMTFri, 21 Aug 2015 06:37:24 GMT60solution for axis2c-src-1.6.0 build failure on 64 bit ubuntu14.04shttp://m.tkk7.com/miaoyachun/archive/2015/08/21/426927.htmlMilo鐨勬搗鍩?/dc:creator>Milo鐨勬搗鍩?/author>Fri, 21 Aug 2015 03:00:00 GMThttp://m.tkk7.com/miaoyachun/archive/2015/08/21/426927.htmlhttp://m.tkk7.com/miaoyachun/comments/426927.htmlhttp://m.tkk7.com/miaoyachun/archive/2015/08/21/426927.html#Feedback0http://m.tkk7.com/miaoyachun/comments/commentRss/426927.htmlhttp://m.tkk7.com/miaoyachun/services/trackbacks/426927.htmlTwo 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!!



]]>
axis2/c鐨刪ello.c緙栬瘧涓嶈繃鐨勫師鍥?/title><link>http://m.tkk7.com/miaoyachun/archive/2015/08/18/426870.html</link><dc:creator>Milo鐨勬搗鍩?/dc:creator><author>Milo鐨勬搗鍩?/author><pubDate>Tue, 18 Aug 2015 09:59:00 GMT</pubDate><guid>http://m.tkk7.com/miaoyachun/archive/2015/08/18/426870.html</guid><wfw:comment>http://m.tkk7.com/miaoyachun/comments/426870.html</wfw:comment><comments>http://m.tkk7.com/miaoyachun/archive/2015/08/18/426870.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/miaoyachun/comments/commentRss/426870.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/miaoyachun/services/trackbacks/426870.html</trackback:ping><description><![CDATA[<div>http://axis.apache.org/axis2/c/core/docs/axis2c_manual.html#client_api 鐨刪ello.c client 緙栬瘧鍛戒護鍦ㄦ垜鐨剈buntu 12.04s涓婃繪槸鎶ラ敊<br /><div style="background-color: #eeeeee; font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%; word-break: break-all;"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #000000; ">gcc -o hello -I$AXIS2C_HOME/include/axis2-</span><span style="color: #000000; ">1.6.0</span><span style="color: #000000; ">/ -L$AXIS2C_HOME/lib -laxutil -laxis2_axiom -laxis2_parser -laxis2_engine -lpthread -laxis2_http_sender -laxis2_http_receiver -ldl -Wl</span><span style="color: #000000; ">,</span><span style="color: #000000; ">--rpath -Wl</span><span style="color: #000000; ">,</span><span style="color: #000000; ">$AXIS2C_HOME/lib hello.c<br />/tmp/ccCYikFh.o: In function `main':<br />hello.c:(.text+0x57): undefined reference to `axutil_env_create_all'<br />hello.c:(.text+0x68): undefined reference to `axis2_options_create'<br />hello.c:(.text+0x93): undefined reference to `axutil_strcmp'<br />hello.c:(.text+0xeb): undefined reference to `axis2_endpoint_ref_create'<br />hello.c:(.text+0x102): undefined reference to `axis2_options_set_to'<br />hello.c:(.text+0x13d): undefined reference to `axis2_svc_client_create'<br />hello.c:(.text+0x168): undefined reference to `axutil_error_get_message'<br />hello.c:(.text+0x193): undefined reference to `axutil_log_impl_log_error'<br />hello.c:(.text+0x1b1): undefined reference to `axis2_svc_client_set_options'<br />hello.c:(.text+0x1d6): undefined reference to `axis2_svc_client_send_receive'<br />hello.c:(.text+0x21d): undefined reference to `axiom_node_free_tree'<br />hello.c:(.text+0x238): undefined reference to `axutil_error_get_message'<br />hello.c:(.text+0x266): undefined reference to `axutil_log_impl_log_error'<br />hello.c:(.text+0x28d): undefined reference to `axis2_svc_client_free'<br />hello.c:(.text+0x2a8): undefined reference to `axutil_env_free'<br />/tmp/ccCYikFh.o: In function `build_om_request':<br />hello.c:(.text+0x2ed): undefined reference to `axiom_element_create'<br />hello.c:(.text+0x307): undefined reference to `axiom_element_set_text'<br />/tmp/ccCYikFh.o: In function `process_om_response':<br />hello.c:(.text+0x337): undefined reference to `axiom_node_get_first_child'<br />hello.c:(.text+0x351): undefined reference to `axiom_node_get_node_type'<br />hello.c:(.text+0x367): undefined reference to `axiom_node_get_data_element'<br />hello.c:(.text+0x381): undefined reference to `axiom_text_get_value'<br />hello.c:(.text+0x396): undefined reference to `axiom_text_get_value'<br />collect2: error: ld returned </span><span style="color: #000000; ">1</span><span style="color: #000000;"> exit status<br /></span></div></div>浠旂粏媯鏌ヤ簡gcc鍛戒護錛屽ご鏂囦歡錛屽簱鏂囦歡鐨勮礬寰勯兘鏄鐨勶紝鏈鍚庤窡鍚屼簨璁ㄨ鎵嶅彂鐜癶ello.c鐨勪綅緗殑闂銆傘傚鏋渉ello.c鐨勪綅緗斁鍒頒簡渚濊禆搴撶殑鍙抽潰 灝變細鎶ョ被浼奸敊璇備絾鏄畼鏂圭殑渚嬪瓙搴旇鏄祴璇曡繃鐨勶紝鎬庝箞浼氭湁榪欎釜闂鍛? 闅鵑亾鎴戠殑ubuntu 12.04鐨刧cc姣旇緝涓ユ牸錛?br /><br />淇鍚庣殑gcc鍛戒護濡備笅<br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #000000; ">gcc -o hello hello.c  -I$AXIS2C_HOME/include/axis2-</span><span style="color: #000000; ">1.6.0</span><span style="color: #000000; ">/ -L$AXIS2C_HOME/lib -laxutil -laxis2_axiom -laxis2_parser -laxis2_engine -lpthread -laxis2_http_sender -laxis2_http_receiver -ldl -Wl</span><span style="color: #000000; ">,</span><span style="color: #000000; ">--rpath -Wl</span><span style="color: #000000; ">,</span><span style="color: #000000;">$AXIS2C_HOME/lib <br /></span></div><img src ="http://m.tkk7.com/miaoyachun/aggbug/426870.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/miaoyachun/" target="_blank">Milo鐨勬搗鍩?/a> 2015-08-18 17:59 <a href="http://m.tkk7.com/miaoyachun/archive/2015/08/18/426870.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>valgrind memory check on java programhttp://m.tkk7.com/miaoyachun/archive/2013/12/06/407274.htmlMilo鐨勬搗鍩?/dc:creator>Milo鐨勬搗鍩?/author>Fri, 06 Dec 2013 02:26:00 GMThttp://m.tkk7.com/miaoyachun/archive/2013/12/06/407274.htmlhttp://m.tkk7.com/miaoyachun/comments/407274.htmlhttp://m.tkk7.com/miaoyachun/archive/2013/12/06/407274.html#Feedback0http://m.tkk7.com/miaoyachun/comments/commentRss/407274.htmlhttp://m.tkk7.com/miaoyachun/services/trackbacks/407274.html
valgrind --error-limit=no --trace-children=yes --smc-check=all --leak-check=full JAVA_CMD

鐗規剰鍐欎簡涓湁leak鐨刯ni鍑芥暟錛岀敤valgrind鎴愬姛媯鏌ュ嚭鏉ヤ簡
==31915== 100 bytes in 1 blocks are definitely lost in loss record 447 of 653
==31915==    at 0x402CE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==31915==    by 0x60424F9: Java_MyJNI_hello (MyJNI.c:16)

鍦ㄨ佺増鏈瑅algrind(3.5.0) enable浜?-trace-children閫夐」鍚庡彲鑳藉嚭鐜伴敊璇?
 Error occurred during initialization of VM    
Unknown x64 processor: SSE2 not supported

鍗囩駭鍒版渶鏂扮増鍙互瑙e喅榪欎釜闂錛屽崌綰ф柟娉曪細涓嬭澆src鍖?瑙e帇鍚庢墽琛?./configure; make; make install


]]>
htonll & ntohll in Chttp://m.tkk7.com/miaoyachun/archive/2013/07/23/401880.htmlMilo鐨勬搗鍩?/dc:creator>Milo鐨勬搗鍩?/author>Tue, 23 Jul 2013 08:42:00 GMThttp://m.tkk7.com/miaoyachun/archive/2013/07/23/401880.htmlhttp://m.tkk7.com/miaoyachun/comments/401880.htmlhttp://m.tkk7.com/miaoyachun/archive/2013/07/23/401880.html#Feedback0http://m.tkk7.com/miaoyachun/comments/commentRss/401880.htmlhttp://m.tkk7.com/miaoyachun/services/trackbacks/401880.html
#include <stdio.h>
#include 
<stdlib.h>
#include 
<string.h>
#include 
<arpa/inet.h>
#include 
<inttypes.h>

uint64_t htonll(uint64_t val) {
    
return (((uint64_t) htonl(val)) << 32+ htonl(val >> 32);
}

uint64_t ntohll(uint64_t val) {
    
return (((uint64_t) ntohl(val)) << 32+ ntohl(val >> 32);
}
int main() {
    uint64_t hll 
= 0x1122334455667788;
    printf(
"uint64: %"PRIu64"\n", hll);
    printf(
"0x%"PRIX64"\n", hll);
    printf(
"htonll(hll) = 0x%"PRIX64"\n", htonll(hll));
    printf(
"ntohll(htonll(hll)) = 0x%"PRIX64"\n", ntohll(htonll(hll)));
    printf(
"ntohll(hll) = 0x%"PRIX64"\n", ntohll(hll)); // no change
    return 1;
}

big endian(network byte order), little endian (host byte order in intel arch)


]]>
主站蜘蛛池模板: 中国黄色免费网站| 在线观看亚洲AV日韩A∨| 24小时日本电影免费看| 日本阿v免费费视频完整版| 亚洲人成网站影音先锋播放| 久久青青草原国产精品免费| 亚洲综合伊人久久综合| 久久亚洲sm情趣捆绑调教| 国产成人精品免费久久久久| 亚洲精品亚洲人成人网| a毛片免费全部在线播放** | 女人张开腿给人桶免费视频| 亚洲精品伊人久久久久| 在线免费观看伊人三级电影| 亚洲乱码中文字幕久久孕妇黑人| 黄色免费在线网站| 亚洲首页在线观看| 在线播放高清国语自产拍免费| 亚洲国产无线乱码在线观看| 免费人成视频x8x8入口| jizz在线免费观看| 午夜高清免费在线观看| 国产精品久久亚洲一区二区| 亚洲人AV永久一区二区三区久久| 热99RE久久精品这里都是精品免费| 亚洲一卡2卡三卡4卡有限公司| 国产成人免费在线| 国产亚洲蜜芽精品久久| 亚洲日韩乱码中文无码蜜桃臀网站| 亚洲精品免费视频| 亚洲精品第一国产综合亚AV| 亚洲午夜无码片在线观看影院猛| 大地资源在线资源免费观看| 亚洲中文字幕久久无码| 亚洲精品视频在线观看你懂的| 久久青草国产免费观看| 亚洲日韩中文字幕一区| 亚洲色婷婷综合久久| 精品久久久久成人码免费动漫| 午夜在线免费视频| 亚洲黄色免费网址|