锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲无人区午夜福利码高清完整版 ,国内精品99亚洲免费高清,亚洲一区二区三区免费在线观看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 緙栬瘧鍛戒護(hù)鍦ㄦ垜鐨剈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>浠旂粏媯(gè)鏌ヤ簡(jiǎn)gcc鍛戒護(hù)錛屽ご鏂囦歡錛屽簱鏂囦歡鐨勮礬寰勯兘鏄鐨勶紝鏈鍚庤窡鍚屼簨璁ㄨ鎵嶅彂鐜癶ello.c鐨勪綅緗殑闂銆傘傚鏋渉ello.c鐨勪綅緗斁鍒頒簡(jiǎn)渚濊禆搴撶殑鍙抽潰 灝變細(xì)鎶ョ被浼奸敊璇備絾鏄畼鏂圭殑渚嬪瓙搴旇鏄祴璇曡繃鐨勶紝鎬庝箞浼?xì)鏈墭q欎釜闂鍛? 闅鵑亾鎴戠殑ubuntu 12.04鐨刧cc姣旇緝涓ユ牸錛?br /><br />淇鍚庣殑gcc鍛戒護(hù)濡備笅<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

鐗規(guī)剰鍐欎簡(jiǎn)涓湁leak鐨刯ni鍑芥暟錛岀敤valgrind鎴愬姛媯(gè)鏌ュ嚭鏉ヤ簡(jiǎn)
==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喅榪欎釜闂錛屽崌綰ф柟娉曪細(xì)涓嬭澆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)


]]>
主站蜘蛛池模板: 精品一区二区三区免费毛片爱| 久久er国产精品免费观看8| 亚洲麻豆精品国偷自产在线91| 亚洲另类视频在线观看| 国产成人免费午夜在线观看| 在线看片无码永久免费aⅴ| 国产成人亚洲合集青青草原精品| 无码乱肉视频免费大全合集| 最新国产成人亚洲精品影院| 好爽又高潮了毛片免费下载| 亚洲国产精品无码AAA片| 亚洲精品第一国产综合野| 五月婷婷综合免费| 亚洲深深色噜噜狠狠网站| 在线A级毛片无码免费真人| 亚洲日本一线产区和二线产区对比 | 日产国产精品亚洲系列| 99亚洲精品卡2卡三卡4卡2卡| 一区二区三区四区免费视频 | 久久亚洲精品无码观看不卡| 中文在线免费不卡视频| 日韩在线a视频免费播放| 国产成人久久精品亚洲小说| 国产精品亚洲综合专区片高清久久久| 久草免费福利视频| 国产成人亚洲综合| 青娱乐在线免费观看视频| 毛片免费在线视频| 亚洲国产日韩在线成人蜜芽| 影音先锋在线免费观看| 一级中文字幕乱码免费| 亚洲一区免费观看| 一级毛片免费观看不卡的| 亚洲国产成人99精品激情在线| 国产一级高清免费观看| 免费黄色电影在线观看| 亚洲午夜精品一区二区麻豆| 狼群影院在线观看免费观看直播| 亚洲大成色www永久网址| 亚洲精品无码av天堂| 国产精品爱啪在线线免费观看|